Skip to content

This is Matlab script for plotting 2 Dimensional and 3 Dimensional t-Distributed Stochastic Neighbor Embedding (t-SNE).

Notifications You must be signed in to change notification settings

rahulvigneswaran/tsne-plotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsne-plotter forthebadge made-with-python 2 Maintenance Open Source Love svg1

This is Matlab script for plotting 2 Dimensional and 3 Dimensional t-Distributed Stochastic Neighbor Embedding (t-SNE)

t-Distributed Stochastic Neighbor Embedding (t-SNE) is a (prize-winning) technique for dimensionality reduction that is particularly well suited for the visualization of high-dimensional datasets. The technique can be implemented via Barnes-Hut approximations, allowing it to be applied on large real-world datasets. For more information, check this page.

How to use?

  1. Clone this repository.
  2. How the Dataset and label should be arranged ?
    1. The script requires two inputs - Data and Label.
    2. Arrangement of Data - First column should be "label name" and rest of the columns should be "features".
    3. Arrangement of Label - First column should be "label name" , which should be in the same order as Data's label names.
    4. Each row in both Data and Label is a sample.
  3. Replace the Data and Label in folder inputs directory with the same name.
  4. Run the script tsne_example.m.
  5. The code will generate both 2D and 3D t-sne plots.

Examples of Data,Label and t-sne plots have been included with this repository. Sample 2D and 3D t-sne plots for the given sample inputs are as follows :

tsne-2d tsne-3d

Issue / Want to Contribute ? :

Open a new issue or do a pull request incase your are facing any difficulty with the code base or you want to contribute to it.

forthebadge

About

This is Matlab script for plotting 2 Dimensional and 3 Dimensional t-Distributed Stochastic Neighbor Embedding (t-SNE).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages