Version 1.9#
Legend for changelogs
Major Feature something big that you couldn’t do before.
Feature something that you couldn’t do before.
Efficiency an existing feature now may not require as much computation or memory.
Enhancement a miscellaneous minor improvement.
Fix something that previously didn’t work as documented – or according to reasonable expectations – should now work.
API Change you will need to change your code to have the same effect in the future; or a feature will be removed in the future.
Version 1.9.dev0#
December 2025
Changes impacting many modules#
Enhancement
pipeline.Pipeline,pipeline.FeatureUnionandcompose.ColumnTransformernow raise a clearer error message when an estimator class is passed instead of an instance. By Anne Beyer #32888
Support for Array API#
Additional estimators and functions have been updated to include support for all Array API compliant inputs.
See Array API support (experimental) for more details.
Feature
sklearn.metrics.d2_absolute_error_scoreandsklearn.metrics.d2_pinball_scorenow support array API compatible inputs. By Virgil Chan. #31671
sklearn.metrics#
Fix
metrics.d2_pinball_scoreandmetrics.d2_absolute_error_scorenow always use the"averaged_inverted_cdf"quantile method, both with and without sample weights. Previously, the"linear"quantile method was used only for the unweighted case leading the surprising discrepancies when comparing the results with unit weights. Note that all quantile interpolation methods are asymptotically equivalent in the large sample limit, but this fix can cause score value changes on small evaluation sets (without weights). By Virgil Chan. #31671
sklearn.utils#
Fix The parameter table in the HTML representation of all scikit-learn estimators inheritiging from
base.BaseEstimator, displays each parameter documentation as a tooltip. The last tooltip of a parameter in the last table of any HTML representation was partially hidden. This issue has been fixed. By Dea María Léon #32887
Code and documentation contributors
Thanks to everyone who has contributed to the maintenance and improvement of the project since version 1.8, including:
TODO: update at the time of the release.