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
Balanced classes in a unbalanced dataset with multiple classes
Hi all,
I am new on this platform and I am struggling with balancing the classes.
When I create a model for my binary dataset I can use the sample operator or the SMOTE upsampling operator to balance my classes.
When I run a model with three (or more) classes the sample or SMOTE upsampling does not make my classes balanced.
Do one of you have any suggestions to make my classes balanced when I have multiple classes?
Thank you in advance.
I am new on this platform and I am struggling with balancing the classes.
When I create a model for my binary dataset I can use the sample operator or the SMOTE upsampling operator to balance my classes.
When I run a model with three (or more) classes the sample or SMOTE upsampling does not make my classes balanced.
Do one of you have any suggestions to make my classes balanced when I have multiple classes?
Thank you in advance.
0
Answers
I have faced a similar issue when trying to balance data with more than 2 classes. I have tried 3 things that usually work, depending on the problem/data set.
I usually use a combination of 2 and 3, by undersampling the majority class first and then applying SMOTE as needed.
I hope that you will find something that works well for you!
Best Regards