How to give different weight to each class before prediction

mansourmansour MemberPosts:14Contributor II
edited September 2020 inHelp
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 Certified Analyst, RapidMiner Certified Expert, University ProfessorPosts:3,381RM Data Scientist
    Hi,
    you generate a new attribute and set its role to weight.
    Best,
    Martin
    - Head of Data Science Services at RapidMiner -
    Dortmund, Germany
  • Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:1,635Unicorn
    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 InorRegisterto comment.