Version 1.8#

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.8.dev0#

June 2025

sklearn.linear_model#

sklearn.metrics#

  • Enhancement metrics.median_absolute_error now supports Array API compatible inputs. By Lucy Liu. #31406

  • Fix metrics.median_absolute_error now uses _averaged_weighted_percentile instead of _weighted_percentile to calculate median when sample_weight is not None. This is equivalent to using the “averaged_inverted_cdf” instead of the “inverted_cdf” quantile method, which gives results equivalent to numpy.median if equal weights used. By Lucy Liu #30787

  • API Change metrics.cluster.entropy is deprecated and will be removed in v1.10. By Lucy Liu #31294

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.