Home
Discussions
Community Q&A
Balance the training data
aksaha
What is the best way to balance data for the predictive model using deep learning algorithm when the positive class in the training dataset is just 25% (not balanced) ?
I used 10 fold cross-validation to create the training and validation dataset.
Find more posts tagged with
AI Studio
Accepted answers
varunm1
Hello
@aksaha
You can use the "SMOTE" operator present in the operator toolbox extension of rapidminer. This helps you balance the classes by upsampling the class with low samples. Use this smote operator in the training side of cross-validation.
In my view, 75:25 is not highly imbalanced as it is close to real-world scenarios, but if you want to upsample the data you can use SMOTE as mentioned above.
All comments
varunm1
Hello
@aksaha
You can use the "SMOTE" operator present in the operator toolbox extension of rapidminer. This helps you balance the classes by upsampling the class with low samples. Use this smote operator in the training side of cross-validation.
In my view, 75:25 is not highly imbalanced as it is close to real-world scenarios, but if you want to upsample the data you can use SMOTE as mentioned above.
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)