The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Weights in LibSVM to get balanced sample

In777In777 Member Posts: 29 Contributor II
edited November 2018 in Help

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?

Sign In or Register to comment.