Open fkiraly opened 1 month ago
This is the estimator I'd use as a template: https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.GridSearchCV.html
scikit-learn
extension and API compliance testing guide:
https://scikit-learn.org/stable/developers/develop.html
I would suggest to expose the tuners as
sklearn
compatible tuning wrappers, e.g.,HyperactiveCV(sklearn_estimator, config)
,or
HyperactiveCV(sklearn_estimator, hyperopt_tuning_algo, config)
,where
HyperactiveCV
inherits fromsklearn
BaseEstimator
, and gets tested byparametrize_with_checks
in the CI.