Created
August 16, 2018 21:10
-
-
Save WillKoehrsen/3a10f1e28562f055fe05194afd89dc6a to your computer and use it in GitHub Desktop.
This file contains hidden or 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 as UMAP | |
n_components = 3 | |
# Use default parameters | |
umap = UMAP(n_components=n_components) | |
# Fit and transform | |
train_reduced = umap.fit_transform(train) | |
test_reduced = umap.transform(test) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment