机器学习——准确率、精度、召回率和F1分数(Machine Learning - Accuracy, Precision, Recall, F1-Score)

机器学习模型评估关键在于了解准确率、精度、召回率和F1分数。错误率衡量预测的不准确性,准确率表示正确预测的比例。精度关注所有正预测中正确的比例,召回率则关注实际正例被正确预测的比例。F1分数是精度和召回率的调和平均值,综合评估模型性能。这些指标可用于比较多个机器学习算法的优劣。
摘要由CSDN通过智能技术生成

Evaluation of Machine Learning Algorithm
Once you have done a machine learning model for classification problem, we want to know the accuracy of prediction of the model. We can use accuracy, precision, recall and f1-score to show how good the model is.

Basic Terms

Positive(P): The ground truth is positive (e.g. it is an iPhone)
Negative(N): The ground truth is negative (e.g. it is not an iPhone)
True Positive(TP): The prediction is positive; The ground truth is positive.
False Positive(FP): The prediction is positive; The ground truth is negative.
True Negative(TN): The prediction is negative; The ground truth is negative.
False Negative(FN): The prediction is negative; The ground truth is positive.

Error
Proportion of all predictions that are incorrect. Error is

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值