T Sne Explained, Dimension Reduction, Machine Learning, Modeling.
which is readily available in scikit-learn: iris = datasets.load_iris() X = iris.data y = iris.target Apply t-SNE Now, apply t-SNE to reduce the dimensionality to 2D: tsne = TSNE(n_components=2, perplexity=30, n_iter=300) X_tsne = tsne.fit_transform(X) Visualize the Results It’s time to create a