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
#
API Change
linear_model.SGDClassifier
,linear_model.SGDRegressor
, andlinear_model.SGDOneClassSVM
now deprecate negative values for thepower_t
parameter. Using a negative value will raise a warning in version 1.8 and will raise an error in version 1.10. A value in the range [0.0, inf) must be used instead. By Ritvi Alagusankar #31474
sklearn.metrics
#
Enhancement
metrics.median_absolute_error
now supports Array API compatible inputs. By Lucy Liu. #31406Fix
metrics.median_absolute_error
now uses_averaged_weighted_percentile
instead of_weighted_percentile
to calculate median whensample_weight
is notNone
. This is equivalent to using the “averaged_inverted_cdf” instead of the “inverted_cdf” quantile method, which gives results equivalent tonumpy.median
if equal weights used. By Lucy Liu #30787API 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.