Counting model fits in leave-one-out validation
Leave-one-out fits once per observation, testing that observation and training on all others.
LeaveOneOut in practice
Thirty independent specimens require thirty fits. The training sets overlap heavily, so the thirty fitted models do not represent independent experiments.
中文
留一法要训练多少个模型?
留一法每次保留一个样本作测试,其余样本训练,共做与样本数相同次数的拟合。
LeaveOneOut 应用实例
30 个独立样本对应 30 次拟合。训练集彼此高度重叠,把这 30 个分数当独立试验会夸大估计精度。