Version 1.3.0

In Development

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 documentated – 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.

Changed models

The following estimators and functions, when fit with the same data and parameters, may produce different models from the previous version. This often occurs due to changes in the modelling logic (bug fixes or enhancements), or in random sampling procedures.

Changes impacting all modules

Changelog

sklearn.feature_selection

sklearn.base

sklearn.calibration

sklearn.cluster

sklearn.datasets

sklearn.decomposition

sklearn.ensemble

sklearn.exception

  • Feature Added exception.InconsistentVersionWarning which is raised when a scikit-learn estimator is unpickled with a scikit-learn version that is inconsistent with the sckit-learn verion the estimator was pickled with. #25297 by Thomas Fan.

sklearn.feature_extraction

sklearn.impute

sklearn.inspection

sklearn.linear_model

  • Enhancement SGDClassifier, SGDRegressor and SGDOneClassSVM now preserve dtype for numpy.float32. #25587 by Omar Salman

sklearn.metrics

sklearn.model_selection

sklearn.naive_bayes

sklearn.neighbors

sklearn.neural_network

sklearn.pipeline

sklearn.preprocessing

sklearn.tree

sklearn.utils

  • API Change estimator_checks.check_transformers_unfitted_stateless has been introduced to ensure stateless transformers don’t raise NotFittedError during transform with no prior call to fit or fit_transform. #25190 by Vincent Maladière.

  • API Change A FutureWarning is now raised when instantiating a class which inherits from a deprecated base class (i.e. decorated by utils.deprecated) and which overrides the __init__ method. #25733 by Brigitta Sipőcz and Jérémie du Boisberranger.

  • Fix Fixes utils.validation.check_array to properly convert pandas extension arrays. #25813 by Thomas Fan.

  • Fix utils.validation.check_array now suports pandas DataFrames with extension arrays and object dtypes by return an ndarray with object dtype. #25814 by Thomas Fan.

sklearn.semi_supervised

  • Enhancement LabelSpreading.fit and LabelPropagation.fit now accepts sparse metrics. #19664 by Kaushik Amar Das.

Code and Documentation Contributors

Thanks to everyone who has contributed to the maintenance and improvement of the project since version 1.2, including:

TODO: update at the time of the release.