Skip to content

[Callbacks] ENH Start propatation depth at 0#33546

Merged
ogrisel merged 1 commit intoscikit-learn:callbacksfrom
jeremiedbb:start-propagation-at-0
Mar 17, 2026
Merged

[Callbacks] ENH Start propatation depth at 0#33546
ogrisel merged 1 commit intoscikit-learn:callbacksfrom
jeremiedbb:start-propagation-at-0

Conversation

@jeremiedbb
Copy link
Copy Markdown
Member

Now that the name of the attr for auto-propagated callbacks is max_propagation_depth, I find it a lot more natural that it starts at 0.

0 means that the callback is not propagated to sub-estimators (it's still set on the outermost estimator). 1 means that it's only propagated to the first level of nested sub-estimators, and so on...

What do you think @ogrisel @FrancoisPgm @StefanieSenger @lesteve ?

@jeremiedbb jeremiedbb added No Changelog Needed Quick Review For PRs that are quick to review Callbacks labels Mar 15, 2026
@ogrisel ogrisel merged commit 3749680 into scikit-learn:callbacks Mar 17, 2026
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Callbacks No Changelog Needed Quick Review For PRs that are quick to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants