Building a diagnostic table from out-of-fold predictions
Out-of-fold prediction stores each row’s prediction from a model fitted without that row.
cross_val_predict in practice
Group the residuals by device model to locate systematic misses. A nonlinear score computed on pooled predictions need not equal the average fold score.
中文
折外预测能用来做什么?
折外预测为每个样本保存由未见过该样本的折内模型给出的输出。
cross_val_predict 应用实例
按设备型号汇总这些残差可以定位系统偏差。拼接预测后算一个非线性指标,不一定等于各折指标的均值。