Skip to content

Commit

Permalink
Update python_scripts/ensemble_bagging.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturoAmorQ authored Oct 17, 2024
1 parent 23a5246 commit fd56423
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 @@ -124,7 +124,7 @@ def bootstrap_sample(data, target, seed=0):
data_bootstrap, target_bootstrap = bootstrap_sample(
data_train,
target_train,
seed=bootstrap_idx,
seed=bootstrap_idx, # ensure bootstrap samples are different but reproducible
)
plt.figure()
plt.scatter(
Expand Down

0 comments on commit fd56423

Please sign in to comment.