- Notifications
You must be signed in to change notification settings - Fork1.3k
Closed
Labels
Description
In Borderline SMOTE, the variant 2 is supposed to interpolate between the minority in danger and other neighbors from the minority, and then between the minority in danger and some neighbors from the majority.
Inline we train a KNN only on the minority class and then derive the neighborsnns from it, which we use for the interpolation.
I understand using nns for borderline -1 and the first part of borderline-2.
But, then we use thatnns to obtain the neighbors from the majority class in the second part of the borderline-2 code. But would not nns contain only neighbours from the minority? as it is derived from a knn trained only in the minority class?
Many thanks!