machine-learning - scikit learn 的plot_learning_curve 得分是多少?

标签 machine-learning scikit-learn

在 scikit learn 中,我对波士顿房价进行回归并得到以下学习曲线。但是回归中分数(y轴)的含义是什么? enter image description here

最佳答案

随着训练集大小的增加,图表可视化了训练和验证模型的学习曲线。学习曲线的阴影区域表示该曲线的不确定性(以标准差衡量)。使用确定系数 R2 在训练集和测试集上对模型进行评分。

这取决于您想要衡量的内容,您可以从以下图表中选择任何内容(可能是此处未显示的任何其他指标): enter image description here

引用:

http://scikit-learn.org/stable/modules/model_evaluation.html

关于machine-learning - scikit learn 的plot_learning_curve 得分是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46863421/

相关文章:

python - 模型是否完全使用 .fit() 在 sklearn 和 tensorflow 中重新训练

python - TensorFlow 对象检测 API 评估训练性能

machine-learning - 我应该为每个子集构建不同的模型吗

python - 对于不同大小的输入,我应该使用什么类型的神经网络?

评估 elat 和 apriori 项集时删除具有空值的行

python - Pytest:如何找到 FutureWarning 并修复它?

python - "TypeError: Singleton array cannot be considered a valid collection"使用sklearn train_test_split

python - 最近邻的距离函数的输入维度

python - 如何强制决策树在评估时仅使用整数

python - 使用 sklearn count vectorizer 获取 n gram 后缀