fix k-means lesson example code runtime error

pull/701/head
cutePanda123 2 years ago
parent 96e9554439
commit 53b235b36c

@ -169,7 +169,7 @@ Previously, you surmised that, because you have targeted 3 song genres, you shou
```python ```python
plt.figure(figsize=(10,5)) 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.title('Elbow')
plt.xlabel('Number of clusters') plt.xlabel('Number of clusters')
plt.ylabel('WCSS') plt.ylabel('WCSS')

Loading…
Cancel
Save