DOC fix elapsed time in StackingRegressor example
@@ -99,7 +99,7 @@ for ax, (name, est) in zip(axs, estimators + [('Stacking Regressor',
score = cross_validate(est, X, y,
scoring=['r2', 'neg_mean_absolute_error'],
n_jobs=-1, verbose=0)
- elapsed_time = time.time() - time.time()
+ elapsed_time = time.time() - start_time
y_pred = cross_val_predict(est, X, y, n_jobs=-1, verbose=0)
plot_regression_results(
