You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are getting this error because there are less than neighbors + 1 observations in class with the name '4'. I'm afraid that there isn't much to do in this situations. That isn't a lot of observations in a minority class.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Using recipe >> themis::step_smote() produces this, while cross validation...
x Fold6: preprocessor 1/1: Error in
smote_impl()
:! Not enough observations of '4' to perform SMOTE.
How can I avoid it? The data is already stratisfied.
The text was updated successfully, but these errors were encountered: