Fig. 2

Schematic representation of SMOTE. Green circles indicate the minority class. \(X_{1}\) and \(X_{3}\) represent the selected instance and the nearest neighbor, respectively. The red circle with \(X_{n}\) represents the new data generated (adapted from [25])