-
-
Notifications
You must be signed in to change notification settings - Fork 93
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 PED-ANOVA as the first option for importance evaluator #811
Add PED-ANOVA as the first option for importance evaluator #811
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #811 +/- ##
=======================================
Coverage 69.53% 69.53%
=======================================
Files 35 35
Lines 2360 2367 +7
=======================================
+ Hits 1641 1646 +5
- Misses 719 721 +2 ☔ View full report in Codecov by Sentry. |
optuna_dashboard/_importance.py
Outdated
except Exception as e: | ||
_logger.warning(f"Skipping to use PedAnovaImportanceEvaluator due to {e}.") | ||
PedAnovaImportanceEvaluator = None # type: ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
except Exception as e: | |
_logger.warning(f"Skipping to use PedAnovaImportanceEvaluator due to {e}.") | |
PedAnovaImportanceEvaluator = None # type: ignore |
[nit] I would say these lines can be removed since PedAnovaImportanceEvaluator
is a pure Python module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your pull request. Changes look almost good to me. I will approve this PR after passing CI.
* Apply black * Add type ignore to PedAnova import
51aba76
to
3efee74
Compare
@c-bata Thank you for your review, I addressed your suggestion and removed the error in CI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Contributor License Agreement
This repository (
optuna-dashboard
) and Goptuna share common code.This pull request may therefore be ported to Goptuna.
Make sure that you understand the consequences concerning licenses and check the box below if you accept the term before creating this pull request.
Reference Issues/PRs
This PR aims to add PED-ANOVA, a quick f-ANOVA calculation algorithm, to the first choice of the importance calculation of Optuna Dashboard to enhance UX.
For PED-ANOVA, please check the following PR:
What does this implement/fix? Explain your changes.
This PR introduces PED-ANOVA to Optuna Dashboard if the Optuna version in the environment is 3.6 or later.
By using PED-ANOVA, the visualization becomes very quick, so users will not experience very lagged dashboard behavior anymore due to the importance evaluation.
The current Optuna Dashboard would not give anything after several minutes when
n_trials
is huge (e.g.,n_trails > 10000
).Meanwhile, if we use PED-ANOVA, Optuna Dashboard gives the importance plot in a few seconds even with
n_trails > 10000
.