The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Balance the training data
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.
I used 10 fold cross-validation to create the training and validation dataset.
1
Best Answer
-
varunm1 Member Posts: 1,207 UnicornHello @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.
Regards,
Varun
https://www.varunmandalapu.com/Be Safe. Follow precautions and Maintain Social Distancing
7