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
self._validate_data became sklearn.utils.validation.validate_data
self._check_n_features became sklearn.utils.validation.check_n_features
self._check_feature_names became sklearn.utils.validation.check_feature_names
a complete revamp for the tag infrastructure
While that all these changes are intended to improve the quality of life of third-party libraries by providing public utilities, it is going to break estimators and will require some boilerplate code to be compatible across scikit-learn version.
While those tools are private, it seems that we should still make a deprecation cycle such that we warn about the changes and start to raise error in future version (1.8).
The text was updated successfully, but these errors were encountered:
So #30327 seems to resolve some issue regarding the tag with a way forward.
I also want to point that I'm planning to make a small package in order to support the 4 latest version of scikit-learn with minimal pain (or at least the pain in centralized in one place).
I'll use imbalanced-learn and skrub to collect what tools are needed and centralize them here: https://github.com/glemaitre/sklearn_compat. I plan to move this package in the scikit-learn-contrib if we don't plan to take the maintenance hit in scikit-learn itself.
In 1.6, we introduced several breaking changes:
self._validate_data
becamesklearn.utils.validation.validate_data
self._check_n_features
becamesklearn.utils.validation.check_n_features
self._check_feature_names
becamesklearn.utils.validation.check_feature_names
While that all these changes are intended to improve the quality of life of third-party libraries by providing public utilities, it is going to break estimators and will require some boilerplate code to be compatible across scikit-learn version.
While those tools are private, it seems that we should still make a deprecation cycle such that we warn about the changes and start to raise error in future version (1.8).
The text was updated successfully, but these errors were encountered: