One-Sided Selection Undersampling
One-sided selection is an undersampling method for imbalanced classes. It removes majority-class rows that are redundant, far from the class boundary, and rows that sit on the boundary as members of Tomek links, while keeping every minority row.
한쪽 선택은 불균형 범주를 위한 과소표집 방법입니다. 다수 범주에서 경계에서 멀리 떨어진 중복 행과, 토멕 링크를 이루며 경계에 놓인 행을 지우고 소수 범주 행은 모두 남깁니다.
Does removing redundant and borderline majority rows help a classifier find more of my rare class?
다수 범주의 중복 행과 경계 행을 지우면 분류기가 드문 범주를 더 많이 찾아내는지 알고 싶습니다.
The method starts from all minority rows plus one random row of each other class, adds the rows that this small set misclassifies by the nearest neighbour rule, and then removes non-minority rows that form Tomek links, using Euclidean distance on standardised features. Its effect is measured by cross-validation, applying the selection only inside training folds.
When to use One-Sided Selection Undersampling
- One class is rare and a classifier misses it.
- Many majority rows are redundant copies of each other.
- You want a cleaned training set rather than synthetic rows.
When to use something else
- You only want to keep a minimal consistent subset: use Condensed Nearest Neighbour Undersampling
- You want to remove noisy rows by a neighbourhood vote: use Edited Nearest Neighbours Undersampling
- You want an overview of resampling and class weights: use Imbalanced Classification (Resampling and Class Weights)
Assumptions and requirements
- Nearest neighbours in standardised feature space are meaningful
- Numeric features
- Test folds keep the original class mix
What the analysis reports
- Rows removed by condensing and by Tomek links
- Class counts and imbalance ratio before and after
- Cross-validated balanced accuracy, macro F1 and minority recall with and without selection
How to report it
One-sided selection removed [value] of [value] rows; balanced accuracy in cross-validation was [value] with the original and [value] with the reduced training folds.
Related methods
- Condensed Nearest Neighbour Undersampling
- Edited Nearest Neighbours Undersampling
- NearMiss Undersampling
- Imbalanced Classification (Resampling and Class Weights)
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 One-Sided Selection 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.