How to give different weight to each class before prediction

mansourmansour Member Posts: 26 image 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

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 image 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
  • Telcontar120Telcontar120 RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 image 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.