From 3ed53b423bf127a27f1005baec835e1a1af878e5 Mon Sep 17 00:00:00 2001 From: Mathias Quillot Date: Wed, 25 Aug 2021 09:59:03 +0200 Subject: [PATCH] just fixed and error --- volia/clustering_modules/kmeans_multidistance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volia/clustering_modules/kmeans_multidistance.py b/volia/clustering_modules/kmeans_multidistance.py index 2d2971d..5ce8e42 100644 --- a/volia/clustering_modules/kmeans_multidistance.py +++ b/volia/clustering_modules/kmeans_multidistance.py @@ -66,7 +66,7 @@ class kmeansMultidistance(): # Learning k-means model results = [] for i in range(ninit): - model = KMeans(k=5, + model = KMeans(k=k, maxiter=maxiter, distance=self.distance, record_heterogeneity=[], -- 1.8.2.3