You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ENH] sign handling in experiments and optimization (#142)
Fixes#141 by the
following approach:
* adds a tag `property:higher_or_lower_is_better` to experiments to
signifiy whether this is minmization or maximization
* ensures the `score` method is always "higher is better"
* moves the extension locus to a new method pair `evaluate` /
`_evaluate`, which has the same orientation as the new tag
`property:higher_or_lower_is_better`. The `_score` method no longer
exists.
The `SklearnCvExperiment` also gets internal functionality to detect the
sign from the metric passed. Since metrics in `sklearn` are not tagged
properly, there is some clunky detection logic to infer this
non-existent tag.
Further changes:
* current experiments are adapted with correct tags
`property:higher_or_lower_is_better`
* current `_score` methods are changed to `_evaluate`
* clarifications in extension templates
* clarifications in docstrings
Decision to move to maximization, see discussion in #141.
0 commit comments