Skip to content
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

Add optuna option for searchers #262

Merged
merged 16 commits into from
May 3, 2024
Merged

Add optuna option for searchers #262

merged 16 commits into from
May 3, 2024

Conversation

fraimondo
Copy link
Contributor

@fraimondo fraimondo commented May 2, 2024

Integrate Optuna (https://optuna.org/) for Hyperparameter Tuning as optuna searcher, using the OptunaSearchCV model.

@fraimondo fraimondo marked this pull request as draft May 2, 2024 16:25
Copy link

codecov bot commented May 2, 2024

Codecov Report

Attention: Patch coverage is 81.25000% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 90.13%. Comparing base (dbdbbfc) to head (721d8e6).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #262      +/-   ##
==========================================
- Coverage   90.40%   90.13%   -0.27%     
==========================================
  Files          53       54       +1     
  Lines        2344     2423      +79     
  Branches      471      491      +20     
==========================================
+ Hits         2119     2184      +65     
- Misses        147      157      +10     
- Partials       78       82       +4     
Flag Coverage Δ
docs 100.00% <ø> (ø)
julearn 90.13% <81.25%> (-0.27%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
docs/conf.py 100.00% <ø> (ø)
julearn/api.py 95.17% <ø> (ø)
julearn/conftest.py 93.10% <100.00%> (+0.24%) ⬆️
julearn/model_selection/__init__.py 100.00% <100.00%> (ø)
julearn/model_selection/_skopt_searcher.py 77.14% <87.50%> (+22.59%) ⬆️
julearn/pipeline/pipeline_creator.py 87.24% <54.54%> (-0.84%) ⬇️
julearn/model_selection/_optuna_searcher.py 82.50% <82.50%> (ø)

Copy link

github-actions bot commented May 2, 2024

PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2024-05-03 14:57 UTC

@fraimondo fraimondo marked this pull request as ready for review May 3, 2024 09:41
@fraimondo fraimondo requested a review from synchon May 3, 2024 09:41
docs/changes/newsfragments/262.enh Outdated Show resolved Hide resolved
examples/99_docs/run_hyperparameters_docs.py Outdated Show resolved Hide resolved
julearn/api.py Outdated Show resolved Hide resolved
julearn/model_selection/_optuna_searcher.py Show resolved Hide resolved
julearn/model_selection/_skopt_searcher.py Show resolved Hide resolved
julearn/model_selection/tests/test_optuna_searcher.py Outdated Show resolved Hide resolved
julearn/model_selection/tests/test_optuna_searcher.py Outdated Show resolved Hide resolved
julearn/model_selection/tests/test_skopt_searcher.py Outdated Show resolved Hide resolved
julearn/pipeline/pipeline_creator.py Outdated Show resolved Hide resolved
@synchon
Copy link
Member

synchon commented May 3, 2024

The PR also needs a description for future reference.

@fraimondo fraimondo requested a review from synchon May 3, 2024 13:46
docs/changes/newsfragments/262.doc Outdated Show resolved Hide resolved
julearn/model_selection/tests/test_available_searchers.py Outdated Show resolved Hide resolved
julearn/model_selection/tests/test_optuna_searcher.py Outdated Show resolved Hide resolved
@fraimondo fraimondo requested a review from synchon May 3, 2024 14:04
@fraimondo fraimondo merged commit 130b4c8 into main May 3, 2024
19 of 20 checks passed
@fraimondo fraimondo deleted the enh/optuna branch May 3, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants