Skip to content

Latest commit

 

History

History
466 lines (369 loc) · 21.3 KB

v1.4.rst

File metadata and controls

466 lines (369 loc) · 21.3 KB
.. currentmodule:: sklearn

Version 1.4.0

In Development

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.

  • |Efficiency| :class:`linear_model.LogisticRegression` and :class:`linear_model.LogisticRegressionCV` now have much better convergence for solvers "lbfgs" and "newton-cg". Both solvers can now reach much higher precision for the coefficients depending on the specified tol. Additionally, lbfgs can make better use of tol, i.e., stop sooner or reach higher precision. :pr:`26721` by :user:`Christian Lorentzen <lorentzenchr>`.

    Note

    The lbfgs is the default solver, so this change might effect many models.

    This change also means that with this new version of scikit-learn, the resulting coefficients coef_ and intercept_ of your models will change for these two solvers (when fit on the same data again). The amount of change depends on the specified tol, for small values you will get more precise results.

Changes impacting all modules

Metadata Routing

The following models now support metadata routing in one or more or their methods. Refer to the :ref:`Metadata Routing User Guide <metadata_routing>` for more details.

Support for SciPy sparse arrays

Several estimators are now supporting SciPy sparse arrays. The following functions and classes are impacted:

Functions:

Classes:

Changelog

Code and Documentation Contributors

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

TODO: update at the time of the release.