Skip to content

Methods · Machine learning · Imbalanced classification

Tomek Links Undersampling

A Tomek link is a pair of rows from different classes that are each other's nearest neighbour, so no other row lies closer to either of them. Such pairs sit on the class boundary or contain noise. Tomek-link undersampling removes the rows of the larger classes that belong to a link, which cleans the boundary and slightly reduces imbalance.

토멕 링크는 서로 다른 범주에 속하면서 서로가 서로의 최근접 이웃인 두 행, 즉 둘 중 어느 쪽에도 더 가까운 다른 행이 없는 쌍을 말합니다. 이런 쌍은 범주 경계에 있거나 잡음을 담고 있습니다. 토멕 링크 과소표집은 링크에 속한 큰 범주의 행을 지워 경계를 정리하고 불균형을 조금 줄입니다.

Can I clean the overlap between classes by removing borderline majority rows before training a classifier?

분류기를 학습하기 전에 경계에 걸친 다수 범주 행을 지워 범주 간 겹침을 정리할 수 있습니까?

The method reports the number of Tomek links, the rows removed per class, the imbalance before and after, and a cross-validated comparison of a classifier trained with and without the cleaning (applied inside training folds only).

When to use Tomek Links Undersampling

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Tomek-link cleaning found [value] links and removed [value] majority rows; cross-validated balanced accuracy changed from [value] to [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 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 Tomek Links Undersampling on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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.

Method ID Q71159 · Reviewed 2026-10-25