简体   繁体   English

具有F分数,精度或召回力的LIBSVM评估

[英]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. 我是Libsvm的新手,我只是尝试使用grid.py进行交叉验证,它只给了我准确性评估。

How do I make it show F-Score (preferred), or Precision and Recall? 如何使它显示F-Score(首选)或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. libsvm的作者提供了一个扩展 ,使您可以根据需要在交叉验证期间使用不同的评分机制。 Currently, it supports precision , recall , fscore , bac and auc . 当前,它支持precisionrecallfscorebacauc

Unfortunately, setting it up does involve a bit of manual work, so, if you need any help, please let me know. 不幸的是,设置它确实需要一些手动工作,因此,如果您需要任何帮助,请告诉我。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在python中使用libSVM计算精度,召回率和F-score - How to calculate precision, recall and F-score with libSVM in python 使用 KNN 分类器具有召回率、F 分数、精度 1 - Having recall, F-score, precision 1 with KNN classifier 在一次传递中计算精度,召回和F分数 - 蟒蛇 - Calculating Precision, Recall and F-score in one pass - python 如何计算此模型的召回率、准确率和 f 分数? - how can I calculate recall, precision and f-score for this model? 如何使用python计算Precision、Recall和F-score? - How to calculate Precision, Recall and F-score using python? 精度,召回率,F分数要求相等的输入 - Precision, Recall, F-score requiring equal inputs 确定 H2O 随机森林模型的准确度、精确度、召回率和 F-Score - Determining the accuracy, precision, recall and F-Score of an H2O Random Forest Model 使用交叉验证计算 4 个模型的召回率和精度以及 F 分数时出错? - Error when computing recall and precision and F-score of 4 models using cross validation? 基于示例的 f-score 小于 Sklearn 中的精度和召回率 - example-based f-score is smaller than precision and recall in Sklearn 信息检索评估python精度,召回率,f得分,AP,MAP - information retrieval evaluation python precision, recall, f score, AP,MAP
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM