diff --git a/tsne_dim_reduction.ipynb b/tsne_dim_reduction.ipynb index 0c471de..ac99eb5 100644 --- a/tsne_dim_reduction.ipynb +++ b/tsne_dim_reduction.ipynb @@ -51,12 +51,12 @@ "tsne_normalized = scaler.fit_transform(tsne_results)\n", "\n", "# Add the normalized 2D coordinates back to your DataFrame\n", - "df['x_norm'] = tsne_normalized[:,0]\n", + "df['x'] = tsne_normalized[:,0]\n", "df['y'] = tsne_normalized[:,1]\n", "\n", "# Now you can plot the normalized results using matplotlib\n", "plt.figure(figsize=(8, 6))\n", - "plt.scatter(df['x_norm'], df['y'], s=1) # You can also color the points by some label using the `c` argument\n", + "plt.scatter(df['x'], df['y'], s=1) # You can also color the points by some label using the `c` argument\n", "plt.xlabel('Normalized t-SNE 2D One')\n", "plt.ylabel('Normalized t-SNE 2D Two')\n", "plt.title('2D t-SNE Visualization of Normalized Embeddings')\n", @@ -94,7 +94,7 @@ "