How to balance data?

Hagar_Tarek
Hagar_Tarek New Altair Community Member
edited November 2024 in Community Q&A
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!
Tagged:

Best Answer

  • BalazsBaranyRM
    BalazsBaranyRM New Altair Community Member
    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ázs

Answers

  • BalazsBaranyRM
    BalazsBaranyRM New Altair Community Member
    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ázs