Weights in LibSVM to get balanced sample

User: "In777"
New Altair Community Member
Updated by Jocelyn

E.g. I have a binary classifier with 3000 positive instances (sentences) and 12000 negative instances. To get balance sample I want to use class weights paramter of LibSVM (linear SVM). Do I define weights as 0.75 for positive and 0.25 for negative class or 0.5/0.5, hence making them of equal importance?

Find more posts tagged with

Comments

No comments on this post.