What is the motivation behind combining SMOTE with Tomek links or ENN?

Quick Overview

Asks why SMOTE oversampling is often paired with Tomek link or Edited Nearest Neighbours cleaning on imbalanced data. Tests understanding of class overlap, how each cleaning rule decides what to remove, and how to use resampling safely in cross-validation.

What is the motivation behind combining SMOTE with Tomek links or ENN?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

On imbalanced classification data, SMOTE oversampling is often followed by a cleaning step based on Tomek links or Edited Nearest Neighbours (ENN). What is the motivation behind combining `SMOTE` with Tomek links or `ENN`? ```hint Where synthetic points land Picture SMOTE interpolating between two minority points that have a cluster of majority points between them. ``` ### What a Strong Answer Covers - What SMOTE can do to the class boundary, and why - What removing Tomek links does and how much data it removes - What ENN removes and how it compares with Tomek links in aggressiveness - Where resampling has to happen in a cross-validation or training pipeline - Side effects of training on resampled data, such as shifted predicted probabilities ### Follow-up Questions - What goes wrong if you resample the whole dataset before splitting it into folds? - After training on SMOTEENN-resampled data, how would you get probabilities that match the real class balance? - When would class weights or threshold tuning be a better choice than any resampling? - How would you apply SMOTE to data that has categorical features?

Overview: Asks why SMOTE oversampling is often paired with Tomek link or Edited Nearest Neighbours cleaning on imbalanced data. Tests understanding of class overlap, how each cleaning rule decides what to remove, and how to use resampling safely in cross-validation.

General logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

On imbalanced classification data, SMOTE oversampling is often followed by a cleaning step based on Tomek links or Edited Nearest Neighbours (ENN). What is the motivation behind combining SMOTE with Tomek links or ENN?

What a Strong Answer Covers Guidance

  • What SMOTE can do to the class boundary, and why
  • What removing Tomek links does and how much data it removes
  • What ENN removes and how it compares with Tomek links in aggressiveness
  • Where resampling has to happen in a cross-validation or training pipeline
  • Side effects of training on resampled data, such as shifted predicted probabilities

Follow-up Questions Guidance

  • What goes wrong if you resample the whole dataset before splitting it into folds?
  • After training on SMOTEENN-resampled data, how would you get probabilities that match the real class balance?
  • When would class weights or threshold tuning be a better choice than any resampling?
  • How would you apply SMOTE to data that has categorical features?