From 0158f3601e65800e96d5e343a330be0be5091e2e Mon Sep 17 00:00:00 2001 From: Antoine Cully Date: Wed, 20 Sep 2023 14:44:59 +0100 Subject: [PATCH] Fix Kmeans depreacted argument in common.py fixes #11 --- map_elites/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map_elites/common.py b/map_elites/common.py index 143f1f2..fe1b583 100644 --- a/map_elites/common.py +++ b/map_elites/common.py @@ -191,7 +191,7 @@ def cvt(k, dim, samples, cvt_use_cache=True): x = np.random.rand(samples, dim) k_means = KMeans(init='k-means++', n_clusters=k, - n_init=1, n_jobs=-1, verbose=1)#,algorithm="full") + n_init=1, verbose=1)#,algorithm="full") k_means.fit(x) __write_centroids(k_means.cluster_centers_)