Version 1.7#
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.7.dev0#
December 2024
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.utils.check_consistent_length
now supports Array API compatible inputs. By Stefanie Senger #29519Feature
sklearn.metrics.explained_variance_score
andsklearn.metrics.mean_pinball_loss
now support Array API compatible inputs. by Virgil Chan #29978
sklearn.decomposition
#
Feature
DictionaryLearning
,SparseCoder
andMiniBatchDictionaryLearning
now have ainverse_transform
method. By Rémi Flamary #30443
sklearn.inspection
#
Enhancement Add
custom_values
parameter ininspection.partial_dependence
. It enables users to pass their own grid of values at which the partial dependence should be calculated. By Freddy A. Boulton and Stephen Pardy #26202API Change
inspection.partial_dependence
does no longer accept integer dtype for numerical feature columns. Explicity conversion to floating point values is now required before calling this tool (and preferably even before fitting the model to inspect). By Olivier Grisel #30409
sklearn.metrics
#
Fix Fix regression when scikit-learn metric called on PyTorch CPU tensors would raise an error (with array API dispatch disabled which is the default). By Loïc Estève #30454
sklearn.mixture
#
Efficiency Simplified redundant computation when estimating covariances in
GaussianMixture
with acovariance_type="spherical"
orcovariance_type="diag"
. By Leonce Mekinda and Olivier Grisel #30414
Code and documentation contributors
Thanks to everyone who has contributed to the maintenance and improvement of the project since version 1.7, including:
TODO: update at the time of the release.