Created
July 28, 2019 18:36
-
-
Save prateekjoshi565/c873aea2424308ac856b666c8ea12923 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import umap | |
cluster_embedding = umap.UMAP(n_neighbors=30, min_dist=0.0, | |
n_components=2, random_state=42).fit_transform(X) | |
plt.figure(figsize=(10,9)) | |
plt.scatter(cluster_embedding[:, 0], cluster_embedding[:, 1], s=3, cmap='Spectral') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment