-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH]
set_params
to recognize unique suffixes as aliases for full p…
…arameter string (#229) Mirror of sktime/sktime#2931 This PR introduces experimental functionality to `set_params` to enable it to recognize unique suffixes as aliases for full parameter strings. That is, in the example in sktime/sktime#2929, it enables `set_params` - and, in consequence, the `param_grid` of grid search - to recognize `max_depth` instead of `forecaster__forecast__estimator__max_depth`. This is primarily meant as convenience sugar for the user of grid search or, more generally, `set_params`. Contains tests for both nested parameter setting behaviour, as well as parameter key aliasing in nested composites.
- Loading branch information
Showing
2 changed files
with
196 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters