【发布时间】:2016-07-25 00:45:15
【问题描述】:
我正在尝试评估模型的性能,但我似乎无法掌握实际返回的分数。文档说:
Returns the mean accuracy on the given test data and labels.
In multi-label classification, this is the subset accuracy which is a harsh
metric since you require for each sample that each label set be correctly predicted.
这不直观 - 这里的准确性是什么?我想查看均方误差的值来检查模型。因此,如果我的模型的 MSE 为 30%,这是否意味着它的“分数”为 70%?如果我运行一个通过交叉验证选择参数的模型,评分函数设置为mean_squared_error,这个“分数”是否会基于此计算?
我似乎找不到任何关于此的文档 - 我非常感谢您的帮助。
谢谢!
【问题讨论】:
标签: python python-3.x scikit-learn