Path to this page:
Subject: CVS commit: pkgsrc/math/py-scikit-learn
From: Adam Ciarcinski
Date: 2023-05-09 10:07:34
Message id: 20230509080734.59230FA87@cvs.NetBSD.org
Log Message:
py-scikit-learn: updated to 1.2.2
Version 1.2.2
Changelog
sklearn.base
Fix When set_output(transform="pandas"), base.TransformerMixin \
maintains the index if the transform output is already a DataFrame.
sklearn.calibration
Fix A deprecation warning is raised when using the base_estimator__ prefix to \
set parameters of the estimator used in calibration.CalibratedClassifierCV.
sklearn.cluster
Fix Fixed a bug in cluster.BisectingKMeans, preventing fit to randomly fail due \
to a permutation of the labels when running multiple inits.
sklearn.compose
Fix Fixes a bug in compose.ColumnTransformer which now supports empty selection \
of columns when set_output(transform="pandas").
sklearn.ensemble
Fix A deprecation warning is raised when using the base_estimator__ prefix to \
set parameters of the estimator used in ensemble.AdaBoostClassifier, \
ensemble.AdaBoostRegressor, ensemble.BaggingClassifier, and \
ensemble.BaggingRegressor.
sklearn.feature_selection
Fix Fixed a regression where a negative tol would not be accepted any more by \
feature_selection.SequentialFeatureSelector.
sklearn.inspection
Fix Raise a more informative error message in inspection.partial_dependence when \
dealing with mixed data type categories that cannot be sorted by numpy.unique. \
This problem usually happen when categories are str and missing values are \
present using np.nan.
sklearn.isotonic
Fix Fixes a bug in isotonic.IsotonicRegression where \
isotonic.IsotonicRegression.predict would return a pandas DataFrame when the \
global configuration sets transform_output="pandas".
sklearn.preprocessing
Fix preprocessing.OneHotEncoder.drop_idx_ now properly references the dropped \
category in the categories_ attribute when there are infrequent categories.
Fix preprocessing.OrdinalEncoder now correctly supports encoded_missing_value or \
unknown_value set to a categories’ cardinality when there is missing values in \
the training data.
sklearn.tree
Fix Fixed a regression in tree.DecisionTreeClassifier, \
tree.DecisionTreeRegressor, tree.ExtraTreeClassifier and tree.ExtraTreeRegressor \
where an error was no longer raised in version 1.2 when min_sample_split=1.
sklearn.utils
Fix Fixes a bug in utils.check_array which now correctly performs non-finite \
validation with the Array API specification.
Fix utils.multiclass.type_of_target can identify pandas nullable data types as \
classification targets.
Files: