Skip to content

Commit

Permalink
Merge pull request #121 from ankitmodanwall/patch-1
Browse files Browse the repository at this point in the history
Update clustering movie review-checkpoint.ipynb
  • Loading branch information
sanjay-kv authored May 22, 2024
2 parents 1700be9 + f06abe6 commit 2515295
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ipynb_checkpoints/clustering movie review-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"# Visualize clusters\n",
"plt.figure(figsize=(10, 6))\n",
"for i in range(k):\n",
" plt.scatter(tfidf_matrix_2d[kmeans.labels_ == i, 0], tfidf_matrix_2d[kmeans.labels_ == i, 1], label=f'Cluster {i+1}')\n",
"plt.scatter(tfidf_matrix_2d[kmeans.labels_ == i, 0], tfidf_matrix_2d[kmeans.labels_ == i, 1], label=f'Cluster {i+1}')\n",
"plt.title('Clusters Visualization')\n",
"plt.xlabel('PCA Component 1')\n",
"plt.ylabel('PCA Component 2')\n",
Expand Down Expand Up @@ -107,7 +107,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": [],
"outputs": [],
"source": []
}
Expand All @@ -120,7 +120,7 @@
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"name": "i_python",
"version": 3
},
"file_extension": ".py",
Expand Down

0 comments on commit 2515295

Please sign in to comment.