简体   繁体   中英

LIBSVM Evaluation with F-Score, Precision or Recall

I am new to Libsvm, and I just tried doing cross validation using grid.py and it gave me only accuracy evaluation.

How do I make it show F-Score (preferred), or Precision and Recall?

Thanks!

The authors of libsvm have provided an extension which enables you to use different scoring mechanisms during cross-validation, depending on your needs. Currently, it supports precision , recall , fscore , bac and auc .

Unfortunately, setting it up does involve a bit of manual work, so, if you need any help, please let me know.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM