Commit 8b8c216f3d939bb8289ae7442a7282c0f46ffc51

Authored by quillotm
1 parent 0774ae544e
Exists in master

Fixed issues, k was equal to 5 instead of the k parameter

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

volia/clustering_modules/kmeans_multidistance.py
... ... @@ -66,7 +66,7 @@
66 66 # Learning k-means model
67 67 results = []
68 68 for i in range(ninit):
69   - model = KMeans(k=5,
  69 + model = KMeans(k=k,
70 70 maxiter=maxiter,
71 71 distance=self.distance,
72 72 record_heterogeneity=[],