TriMap Embedding
TriMap is a nonlinear embedding that samples triplets of observations, an anchor, a near neighbour and a more distant point, and places points in two or three dimensions so that, as far as possible, each anchor stays closer to its neighbour than to the distant point, with triplets weighted by how clear the original distance ordering is.
TriMap은 기준점, 가까운 이웃, 더 먼 점으로 이루어진 세 점 묶음을 뽑고, 각 기준점이 먼 점보다 이웃에 더 가깝게 남도록 점들을 2차원이나 3차원에 배치하는 비선형 임베딩입니다. 원래 거리의 순서가 뚜렷한 묶음일수록 큰 가중치를 줍니다.
I want a two-dimensional map of high-dimensional data that separates groups like t-SNE but keeps the overall arrangement of the groups more faithful.
t-SNE처럼 집단을 잘 나누면서도 집단들의 전체 배치를 더 충실하게 보여 주는 2차원 지도를 만들고 싶습니다.
For every observation, nearest neighbours (in locally scaled distances) are paired with randomly drawn non-neighbours, and random triplets are added. The map minimises the weighted chance that a triplet is violated under heavy-tailed similarities. The result reports the share of violated triplets, trustworthiness, continuity, and a global score that compares how well the map linearly reconstructs the data relative to PCA.
When to use TriMap Embedding
- You want a visual map of many numeric variables in which both clusters and their relative positions matter.
- t-SNE or UMAP maps place groups arbitrarily and you need a better view of global layout.
- You need an embedding with a global-structure score to report alongside local measures.
When to use something else
- You need axes with a clear meaning or explained variance: use Principal Component Analysis (PCA)
- You want an embedding that preserves the actual distance values: use Multidimensional Scaling (MDS)
- You want the most widely used neighbourhood-based map with established conventions: use UMAP Dimensionality Reduction
Assumptions and requirements
- Rows are independent observations described by numeric features
- Standardized Euclidean distance is a sensible similarity between observations
- Map axes have no units; only relative positions are interpreted
What the analysis reports
- Two- or three-dimensional coordinates for every observation
- Final triplet loss and share of violated triplets
- Trustworthiness and continuity
- Global score with reconstruction errors of the map and of PCA
- Scatter plot of the map and loss curve
How to report it
TriMap embedded [value] standardized observations in two dimensions; [value]% of the weighted triplets remained violated, trustworthiness (k = [value]) was [value] and the global score was [value].
Related methods
- t-SNE Dimensionality Reduction
- UMAP Dimensionality Reduction
- Principal Component Analysis (PCA)
- Manifold Learning (Isomap, Locally Linear Embedding)
- t-SNE Perplexity Sensitivity Analysis
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 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 TriMap Embedding 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.