-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENH] ForecastingOptunaSearchCV for hyper-parameter tuning for forecasting #6630
Draft
mk406
wants to merge
30
commits into
sktime:main
Choose a base branch
from
mk406:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+538
−0
Conversation
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
Make tuner importable See merge request M86149/sktime!1
feat: add new distribution parameter setup See merge request M86149/sktime!2
new: add notebook and py file See merge request M86149/sktime!3
# Conflicts: # run_opta.py
First implementation of ask-tell See merge request M86149/sktime!4
Code formatting tests are failing, see here how to automate code formatting for |
Cleaned up docstring and made it comply with pre-commit
Add get score function
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
Adding new functionality
implementing algorithms
Implementing algorithms, estimators, objects native to sktime
module:forecasting
forecasting module: forecasting, incl probabilistic and hierarchical forecasting
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reference Issues/PRs
Closes #6618. See also #4188
What does this implement/fix? Explain your changes.
While sktime provides a ForecastingGridSearchCV, ForecastingRandomizedSearchCV and ForecastingSkoptSearchCV for grid search, there's a need for more sophisticated and efficient hyper-parameter optimization methods. The lack of integration with advanced optimization libraries like Optuna limits the ability to perform more complex and efficient hyper-parameter searches.
We propose the addition of a ForecastingOptunaSearchCV class to sktime's forecasting module. This class would leverage Optuna for hyper-parameter optimization, providing a more efficient and flexible way to find the best parameters for forecasting models. The interface is similar to the existing ForecastingGridSearchCV, allowing users to easily switch between grid search and Optuna-based optimization without significant changes to their code.
Does your contribution introduce a new dependency? If yes, which one?
Adds a dependency on Optuna.
What should a reviewer concentrate their feedback on?
Did you add any tests for the change?
We added test_optuna in /sktime/sktime/forecasting/model_selection/tests/test_tune.py
Any other comments?
PR checklist
For all contributions
How to: add yourself to the all-contributors file in the
sktime
root directory (not theCONTRIBUTORS.md
). Common badges:code
- fixing a bug, or adding code logic.doc
- writing or improving documentation or docstrings.bug
- reporting or diagnosing a bug (get this pluscode
if you also fixed the bug in the PR).maintenance
- CI, test framework, release.See here for full badge reference
maintainers
tag - do this if you want to become the owner or maintainer of an estimator you added.See here for further details on the algorithm maintainer role.
For new estimators
docs/source/api_reference/taskname.rst
, follow the pattern.Examples
section.python_dependencies
tag and ensureddependency isolation, see the estimator dependencies guide.