t-SNE Plot Calculator

Transform high-dimensional datasets into interactive t-SNE maps, compare settings, inspect neighborhoods, detect clusters, evaluate stability, and export clear visual reports instantly online with confidence.

Embedding Results

Results appear here after calculation.

Rows
0
Features
0
Final KL
Trustworthiness
Runtime
Best Seed
Ready0%

Embedding Coordinates

Run a calculation
No coordinates available.
Page 0 of 0

Run Summary

No summary available.

Selected Point

Click a point to inspect it.

Processing Log

Ready.

1. Data Input

The first row may contain column names.

Parsed Data Preview

Load or paste data
No preview available.

2. Column Selection

Preview data to select features.

3. Preprocessing

4. t-SNE Configuration

Suggested after preview.
This standalone page uses an optimized exact browser engine. The Barnes-Hut option preserves compatible controls and reports the requested mode.

5. Cluster and Neighbor Analysis

6. Plot Customization

7. Calculate and Export

Large datasets may calculate slowly because exact t-SNE uses pairwise distances.

Formula Used

t-SNE converts distances into neighborhood probabilities. It compares high-dimensional and embedded similarities. Optimization minimizes their Kullback-Leibler divergence.

KL(P∥Q) = Σi≠j pij log(pij / qij)

Perplexity controls the effective neighborhood size. Early exaggeration separates groups during initial optimization. Student probabilities reduce crowding in the map.

How to Use

  1. Paste data or load a sample dataset.
  2. Preview columns and select numeric features.
  3. Choose preprocessing and t-SNE parameters.
  4. Run one or several seeded embeddings.
  5. Inspect clusters, neighbors, and diagnostics.
  6. Export coordinates, images, or reports.

Example Data

idlabelfeature_1feature_2feature_3
item-1A1.200.852.40
item-2A1.050.912.18
item-3B4.703.950.55

Interpretation Guide

Nearby points often share local structure. Large map distances can be misleading. Axes have no direct feature meaning.

Cluster shapes depend on parameters and seeds. Compare several runs before drawing conclusions. t-SNE does not prove clusters exist.

Frequently Asked Questions

What perplexity should I use?

Start near thirty for moderate datasets. Test smaller and larger values. Stable patterns deserve greater confidence.

Why do runs look different?

Random initialization affects optimization. Fix the seed for reproducibility. Compare multiple seeds for stability.

Should features be scaled?

Usually yes for mixed numeric ranges. Scaling prevents large units dominating distances. Check domain meaning before transformation.

What does KL divergence mean?

It measures neighborhood mismatch. Lower values indicate better objective fitting. Values across datasets remain incomparable.

Can t-SNE detect clusters?

It visualizes local relationships. It can suggest grouping patterns. Use clustering methods for formal assignments.

Why use PCA first?

PCA removes noise and redundancy. It can improve speed substantially. Retain enough meaningful variation.

Are axis values meaningful?

Their orientation is arbitrary. Rotations preserve the same structure. Interpret neighborhoods instead of coordinates.

How many iterations are enough?

One thousand often provides a baseline. Hard datasets may need more. Watch the objective curve.

Can I use categorical features?

Encode them before calculation. One-hot encoding is commonly suitable. Choose distances matching data semantics.

Related Calculators

PCA Scatter PlotPCA Scree PlotCumulative Explained Variance PlotPCA BiplotUMAP PlotLDA Projection PlotAutoencoder Latent-Space PlotComponent Loading Heatmap

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.