Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
tSNE_example_2
from sklearn import manifold, datasets
digits = datasets.load_digits(n_class=6)
X, y = digits.data, digits.target
X_tsne = manifold.TSNE(n_components=2, init='random', random_state=5, verbose=1).fit_transform(X)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment