How to give different weight to each class before prediction

mansour
mansour New Altair Community Member
edited November 5 in Community Q&A
Dear ALL
I have a dataset with three unbalanced classes. How can I give more weights to classes with less example numbers?
Tagged:

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Hi,
    you generate a new attribute and set its role to weight.
    Best,
    Martin
  • Telcontar120
    Telcontar120 New Altair Community Member
    You can also use the Generate Weight (Stratification) operator to do this automatically.  Check out its tutorial process to see this.