cross_val_predict

Gallery examples: Combine predictors using stacking Plotting Cross-Validated Predictions