From 53b235b36c4b7716314c1c54c3844b4b0f5099af Mon Sep 17 00:00:00 2001 From: cutePanda123 Date: Wed, 6 Dec 2023 16:30:04 -0800 Subject: [PATCH] fix k-means lesson example code runtime error --- 5-Clustering/2-K-Means/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5-Clustering/2-K-Means/README.md b/5-Clustering/2-K-Means/README.md index 18a08fdd..f65f7e97 100644 --- a/5-Clustering/2-K-Means/README.md +++ b/5-Clustering/2-K-Means/README.md @@ -169,7 +169,7 @@ Previously, you surmised that, because you have targeted 3 song genres, you shou ```python plt.figure(figsize=(10,5)) - sns.lineplot(range(1, 11), wcss,marker='o',color='red') + sns.lineplot((range(1, 11), wcss), marker='o', color='red') plt.title('Elbow') plt.xlabel('Number of clusters') plt.ylabel('WCSS')