14 Aug 2012 18:25
SVMs for unbalanced data?
Rizwan Mian <vizvan <at> gmail.com>
2012-08-14 16:25:24 GMT
2012-08-14 16:25:24 GMT
Hi Folks,
Is there any way to view the support vectors (or better yet their number) for non-linear kernels in LibSVM?
I am using non-linear RBF kernel. I believe the number of support vectors is important in discovering if the SVM is over-fitting. It is possible to view the support vectors for non-linear kernels in SMOReg. However, I am unable to assign different C values to different classes in SMOReg. This is needed because I need to assign different weights to different classes because my data set is unbalanced i.e. one class contains a lot more examples than the other. The imbalance raises a problem that SVM assigns equal importance to errors made on examples belonging to the majority class and the minority class. To correct for the imbalance in the data, we need to assign different costs for misclassification to each class. [1]
The alternate would be to assign different C values to different classes in SMOReg. Is that possible?
thaking in advance.
Rizwan 

Rizwan Mian
Doctoral Candidate
School of Computing (Sum Ergo Computo)
Queens University
http://research.cs.queensu.ca/~mian/index.htm
_______________________________________________ Wekalist mailing list Send posts to: Wekalist <at> list.scms.waikato.ac.nz List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
RSS Feed