0

I have an imbalance data that I want to classify it ( by random forest) using cross validation (cv=5)

I want to use RandomOverSampler() to balance it

how can I do it ?

Then, I want to predict and get a confusion matrix and accuracy for the 5 folds

how can I do it please ?

thanks

0 Answers0