模型预测指标的意思

参考:https://blog.goodaudience.com/introduction-to-1d-convolutional-neural-networks-in-keras-for-time-sequences-3a7ff801a2cf

Here is a brief recap of what those scores mean:

  • Accuracy: The ratio between correctly predicted outcomes and the sum of all predictions. ((TP + TN) / (TP + TN + FP + FN))
  • Precision: When the model predicted positive, was it right? All true positives divided by all positive predictions. (TP / (TP + FP)) : 当模型预测是真时?有大可能是真?(假的但被预测为真的)
  • Recall: How many positives did the model identify out of all possible positives? True positives divided by all actual positives. (TP / (TP + FN))  正向样本中有多少被预测出
  • F1-score: This is the weighted average of precision and recall. (2 x recall x precision / (recall + precision))

 

 横坐标是预测的lable: 纵坐标是真是的label:

看纵坐标Walking: 时间预测的结果是:2397中:2351预测正确,36个预测为下楼梯,10个预测为上楼梯

验证下f1-score: (2 x recall x precision / (recall + precision)):  2*0.76*0.78/(0.76+0.78) = 0.7698

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值