如何获得每个K折交叉验证的基线?

时间:2019-06-14 17:57:23

标签: python machine-learning scikit-learn

我正在使用10折交叉验证,我想查看每折的基线。

clf= RandomForestClassifier(n_estimators=100, random_state=20)
# 10-Fold Cross validation
scores = cross_val_score(clf, features, labels, cv=10)
scores

结果:array([0.45454545,0.63636364,0.8,0.8,0.6,        0.6,0.5,0.9,0.66666667,0.33333333])

如何获得此折痕的基线?

0 个答案:

没有答案