How does Borderline-SMOTE determine which minority samples to generate synthetic examples from?
Last updated
For each minority sample, count how many of its
mnearest neighbors (from both classes) are majority.All-majority neighbors means noise (skipped). Fewer than half majority means safe (skipped). Half or more but not all means danger (used as a seed).
Synthetic points are interpolated only from danger points toward minority neighbors (Borderline-1), or also toward majority neighbors with a gap in [0, 0.5] (Borderline-2).