Can repeated random holdouts test the same row twice?

ShuffleSplit draws a random train/test split on each round and permits overlap between test sets from different rounds.

ShuffleSplit in practice

Like replacing a ticket before the next draw, a row may be tested repeatedly or never. Use disjoint folds when each row needs one out-of-fold prediction.

中文

随机重复留出会让谁多考几次?

ShuffleSplit 每次随机抽取训练和测试子集,不要求不同轮次的测试样本互斥。

ShuffleSplit 应用实例

像把考签放回盒子再抽,某条记录可能反复出现,也可能一直没被测。需要逐行一份折外预测时改用互斥划分。

References / 参考来源

Keep reading / 继续阅读