-
Notifications
You must be signed in to change notification settings - Fork 620
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
[MNT] isolate optuna
and statsmodels
as soft dependencies
#1629
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #1629 +/- ##
==========================================
- Coverage 90.20% 90.19% -0.02%
==========================================
Files 32 32
Lines 4729 4734 +5
==========================================
+ Hits 4266 4270 +4
- Misses 463 464 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
If you do not mind, I'll request you to consider these changes in this PR. I have two points to request you to consider.
|
Ok, point taken. Some comments and options for discussion.
|
Pinging everyone @yarnabrina mentioned: @benHeid, @XinyuWuu, @fnhirwa |
On a more architectural level, and "defining scope", the tuner seems more like something that should be in The closest thing to making it actually external is making it a soft dependency, which mitigates things like integration, release, testing. Side note: my assessment is different for the |
On a more personal usage level, i.e., considering myself as an user and my opinions in that respect:
|
from discussion on discord: agreed on a compromise solution where the tuning soft deps go into a |
Isolates
optuna
,optuna-integration
, andstatsmodels
as soft dependencies in a new soft dep setall_extras
to collect all soft dependencies, and in another soft dep settuning
. Towards #1616This was quite simple, since the imports happen in only one very narrow location, the
optimize_hyperparameters
utility which is also not core architecturally.