t-SNE Perplexity Sensitivity Analysis
A perplexity sensitivity analysis refits t-SNE on the same standardized data for several perplexity values and measures, for each map, how well local neighbourhoods are kept and how much the map changes relative to a reference setting.
퍼플렉서티 민감도 분석은 같은 표준화 자료에 여러 퍼플렉서티 값으로 t-SNE를 다시 적합하고, 각 지도가 국소 이웃을 얼마나 잘 지키는지와 기준 설정의 지도에서 얼마나 달라지는지를 잽니다.
Are the clusters in my t-SNE map real structure, or do they depend on the perplexity I happened to choose?
t-SNE 지도에 보이는 군집이 실제 구조인지, 아니면 우연히 고른 퍼플렉서티 때문인지 알고 싶습니다.
t-SNE is run at each perplexity in a grid (by default 5, 15, 30 and 50) with the same seed and initialisation. Each map is scored by trustworthiness, continuity, the share of nearest neighbours preserved and the rank correlation of distances, and compared with the map at the reference perplexity by Procrustes disparity and neighbour overlap. Structure that persists across the grid can be reported with confidence.
When to use t-SNE Perplexity Sensitivity Analysis
- You plan to show a t-SNE map in a paper and need to justify the perplexity.
- Clusters look different when you change the perplexity and you want to know which features are stable.
- A reviewer asks whether your visual groups are an artefact of the embedding settings.
When to use something else
- You only need one embedding at a chosen perplexity: use t-SNE Dimensionality Reduction
- You want a linear map whose axes and distances can be interpreted: use Principal Component Analysis (PCA)
- You want to judge the neighbourhood size of UMAP instead: use UMAP Neighbourhood-Size Sensitivity Analysis
Assumptions and requirements
- Rows are independent observations described by numeric features
- Standardized Euclidean distance is a sensible similarity between observations
- Large data are examined on a random subsample, which is assumed representative
What the analysis reports
- Trustworthiness, continuity, k-NN preservation and distance rank correlation for each perplexity
- Kullback-Leibler divergence and iterations for each perplexity
- Procrustes disparity and neighbour overlap against the reference map
- Line chart of trustworthiness across perplexities
How to report it
t-SNE was refitted at perplexities of [value] on [value] standardized observations; trustworthiness (k = [value]) ranged from [value] to [value], and the Procrustes disparity from the perplexity-30 map was at most [value].
Related methods
- t-SNE Dimensionality Reduction
- UMAP Dimensionality Reduction
- UMAP Neighbourhood-Size Sensitivity Analysis
- TriMap Embedding
- Principal Component Analysis (PCA)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy and direct computations (formulas, enumeration or simulation).
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run t-SNE Perplexity Sensitivity Analysis on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.