Skip to content

Commit 2515295

Browse files
authored
Merge pull request #121 from ankitmodanwall/patch-1
Update clustering movie review-checkpoint.ipynb
2 parents 1700be9 + f06abe6 commit 2515295

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.ipynb_checkpoints/clustering movie review-checkpoint.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"# Visualize clusters\n",
6464
"plt.figure(figsize=(10, 6))\n",
6565
"for i in range(k):\n",
66-
" plt.scatter(tfidf_matrix_2d[kmeans.labels_ == i, 0], tfidf_matrix_2d[kmeans.labels_ == i, 1], label=f'Cluster {i+1}')\n",
66+
"plt.scatter(tfidf_matrix_2d[kmeans.labels_ == i, 0], tfidf_matrix_2d[kmeans.labels_ == i, 1], label=f'Cluster {i+1}')\n",
6767
"plt.title('Clusters Visualization')\n",
6868
"plt.xlabel('PCA Component 1')\n",
6969
"plt.ylabel('PCA Component 2')\n",
@@ -107,7 +107,7 @@
107107
{
108108
"cell_type": "code",
109109
"execution_count": null,
110-
"metadata": {},
110+
"metadata": [],
111111
"outputs": [],
112112
"source": []
113113
}
@@ -120,7 +120,7 @@
120120
},
121121
"language_info": {
122122
"codemirror_mode": {
123-
"name": "ipython",
123+
"name": "i_python",
124124
"version": 3
125125
},
126126
"file_extension": ".py",

0 commit comments

Comments
 (0)