From df6a499e748f9bf1d79f56c49e2045392127439d Mon Sep 17 00:00:00 2001 From: MaoucheMounir Date: Sun, 17 Mar 2024 11:57:57 +0100 Subject: [PATCH] typo Y_Kmeans --- kmeans_clustering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmeans_clustering.py b/kmeans_clustering.py index 60a12d0..cc41874 100644 --- a/kmeans_clustering.py +++ b/kmeans_clustering.py @@ -30,7 +30,7 @@ # Applying KMeans to the dataset with the optimal number of cluster kmeans=KMeans(n_clusters= 5, init = 'k-means++', max_iter = 300, n_init = 10, random_state = 0) -y_kmeans = kmeans.fit_predict(X) +Y_Kmeans = kmeans.fit_predict(X) # Visualising the clusters