Skip to content

Conversation

@santisoler
Copy link
Member

Inherit from sklearn.base.BaseEstimator so DummyEstimator has the __sklearn_tags__ attribute required by skelarn>=1.8.0 when checking if the passed object is an estimator.

Relevant issues/PRs:

Fixes #530

Inherit from `sklearn.base.BaseEstimator` so `DummyEstimator` has
the `__sklearn_tags__` attribute required by `skelarn>=1.8.0` when
checking if the passed object is an estimator.
@santisoler santisoler requested a review from leouieda January 5, 2026 17:11
@santisoler
Copy link
Member Author

santisoler commented Jan 5, 2026

@leouieda, I applied this quickfix to this bug. Let me know what do you think. I think we should make release right after we fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cross validation fails with scikit-learn 1.8.0 due to missing attr

2 participants