From 23a52460aa5ad8bd12e23057c2d70f5ec07dc931 Mon Sep 17 00:00:00 2001 From: ArturoAmorQ Date: Thu, 19 Sep 2024 10:57:37 +0200 Subject: [PATCH] Fix plot title --- python_scripts/ensemble_bagging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_scripts/ensemble_bagging.py b/python_scripts/ensemble_bagging.py index d1a38fb78..f3d2a1291 100644 --- a/python_scripts/ensemble_bagging.py +++ b/python_scripts/ensemble_bagging.py @@ -296,7 +296,7 @@ def bootstrap_sample(data, target, seed=0): bagged_trees_predictions = bagged_trees.predict(data_test) plt.plot(data_test["Feature"], bagged_trees_predictions) -_ = plt.title("Predictions from a bagging classifier") +_ = plt.title("Predictions from a bagging regressor") # %% [markdown] # Because we use 100 trees in the ensemble, the average prediction is indeed