
模型评估与选择
文章平均质量分 89
Datawhale
一个开源的学习组织
展开
-
【模型评估与选择】sklearn.model_selection.KFold
1. 描述 KFold divides all the samples in k groups of samples, called folds (if k = n, this is equivalent to the Leave One Out strategy), of equal sizes (if possible). The prediction function is learned...原创 2018-07-03 19:19:04 · 1466 阅读 · 0 评论 -
【模型评估与选择】sklearn.model_selection.train_test_split
1. 理论1.1 train_test_split Split arrays or matrices into random train and test subsets1. 格式 train_test_split(*arrays, **options) 2. 参数 *arrays:(sequence of indexables with same length / s...原创 2018-07-03 14:40:25 · 1233 阅读 · 0 评论 -
【模型评估与选择】交叉验证Cross-validation: evaluating estimator performance
Learning the parameters of a prediction function and testing it on the same data is a methodological mistake: a model that would just repeat the labels of the samples that it has just seen would have ...原创 2018-07-03 21:13:13 · 3439 阅读 · 0 评论