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
For now only strings are accepted as the measures parameter in GridSearchCV, RandomizedSearchCV, and cross_validate. It's thus impossible to use those with measures that take specific parameters as input (e.g. #156 ), or to use custom measures.
We should then accept callables in addition to strings.
Each callable should only take the predictions parameter. In order to handle measures with mulptile parameters, we could implement a make_measure helper (much like sklearn make_scorer) which would simply perform some partial application on the parameters, and set a greater_is_better parameter (this would clean a bit the current code).
Any other option is welcome
The text was updated successfully, but these errors were encountered:
For now only strings are accepted as the
measures
parameter inGridSearchCV
,RandomizedSearchCV
, andcross_validate
. It's thus impossible to use those with measures that take specific parameters as input (e.g. #156 ), or to use custom measures.We should then accept callables in addition to strings.
Each callable should only take the
predictions
parameter. In order to handle measures with mulptile parameters, we could implement amake_measure
helper (much like sklearn make_scorer) which would simply perform some partial application on the parameters, and set agreater_is_better
parameter (this would clean a bit the current code).Any other option is welcome
The text was updated successfully, but these errors were encountered: