Options

How to give different weight to each class before prediction

mansourmansour Member Posts: 26 Contributor II
edited September 2020 in Help
Dear ALL
I have a dataset with three unbalanced classes. How can I give more weights to classes with less example numbers?
Tagged:

Answers

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,516 RM Data Scientist
    Hi,
    you generate a new attribute and set its role to weight.
    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Options
    Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    You can also use the Generate Weight (Stratification) operator to do this automatically.  Check out its tutorial process to see this.
    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
Sign In or Register to comment.