Skip to content

Commit

Permalink
Fix plot title
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturoAmorQ committed Sep 19, 2024
1 parent ff8cc55 commit 23a5246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_scripts/ensemble_bagging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23a5246

Please sign in to comment.