|
|
@ -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(x=range(1, 11), y=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')
|
|
|
|