Unify the arguments of `OptunaSearchCV` and scikit learn's `GridSearchCV`
Motivation
In my understanding, OptunaSearchCV is inspired by GridSearchCV's interface to replace grid search in scikit-learn with Optuna's parameter search.
I realised that the current arguments of OptunaSearchCV were not the same as GridSearchCV:
- the order of arguments differ
-
GridSearchCVuses keyword-only arguments, butOptunaSearchCVdoes not.
Description
Update the arguments of OptunaSearchCV to follow GridSearchCV for consistency.
Alternatives (optional)
No response
Additional context (optional)
No response
This issue has not seen any recent activity.
This issue has not seen any recent activity.
This issue was closed automatically because it had not seen any recent activity. If you want to discuss it, you can reopen it freely.
#4336 partially addresses this issue
#4336 doesn't include scoring and refit because following sklearn's implementation requires a lot of work, according to the previous attempt. Inconsistent argument ordering with sklearn's searchcv also remains to reduce review cost.
My attempt for scoring and refit is https://github.com/nzw0301/optuna/tree/prototypo-scoring. Still WIP, but it might not be too hard as I expected.
This issue has not seen any recent activity.
This issue was closed automatically because it had not seen any recent activity. If you want to discuss it, you can reopen it freely.