How to balance data?

Hagar_Tarek
New Altair Community Member
Hello,
I'm building a decision tree model and the performance is not very well since the data is unbalanced. I tried "sample" function as I've seen in tutorial but there's no option to balance data in it.
can anybody help!
I'm building a decision tree model and the performance is not very well since the data is unbalanced. I tried "sample" function as I've seen in tutorial but there's no option to balance data in it.
can anybody help!
Tagged:
0
Best Answer
-
Hi!
"balance data" is an "expert parameter" in the Sample operator. Maybe that's why you don't see it?
Click "Show advanced parameters" at the bottom of the Parameters panel to uncover this setting.
Regards,
Balázs1
Answers
-
Hi!
"balance data" is an "expert parameter" in the Sample operator. Maybe that's why you don't see it?
Click "Show advanced parameters" at the bottom of the Parameters panel to uncover this setting.
Regards,
Balázs1