Code Monkey home page Code Monkey logo

tsne-plotter's Introduction

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

tsne-plotter's People

Contributors

rahulvigneswaran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.