repo
stringclasses
10 values
instance_id
stringlengths
18
32
html_url
stringlengths
41
55
feature_patch
stringlengths
805
8.42M
test_patch
stringlengths
548
207k
doc_changes
listlengths
0
92
version
stringclasses
57 values
base_commit
stringlengths
40
40
PASS2PASS
listlengths
0
3.51k
FAIL2PASS
listlengths
0
5.17k
augmentations
dict
mask_doc_diff
listlengths
0
92
problem_statement
stringlengths
0
54.8k
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22255
https://github.com/scikit-learn/scikit-learn/pull/22255
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 61e074e56a657..ef2308997f898 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -95,6 +95,10 @@ Changelog See :func:`cluster.spectral_clustering` for more details. :pr:`21148` by :user:`Andrew Knyazev <lobpcg>` +- |Enhancement| ...
diff --git a/sklearn/cluster/tests/test_birch.py b/sklearn/cluster/tests/test_birch.py index 5d8a3222ef156..4e64524e2cb11 100644 --- a/sklearn/cluster/tests/test_birch.py +++ b/sklearn/cluster/tests/test_birch.py @@ -219,3 +219,14 @@ def test_birch_params_validation(params, err_type, err_msg): X, _ = make_blobs(n_...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 61e074e56a657..ef2308997f898 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -95...
1.01
49043fc769d0affc92e3641d2d5f8f8de2421611
[ "sklearn/cluster/tests/test_birch.py::test_birch_params_validation[params0-ValueError-threshold == -1.0, must be > 0.0.]", "sklearn/cluster/tests/test_birch.py::test_birch_params_validation[params6-ValueError-n_clusters == 0, must be >= 1.]", "sklearn/cluster/tests/test_birch.py::test_birch_fit_attributes_depre...
[ "sklearn/cluster/tests/test_feature_agglomeration.py::test_feature_agglomeration_feature_names_out", "sklearn/cluster/tests/test_birch.py::test_feature_names_out" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 61e074e56a657..ef2308997f898 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -95...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 61e074e56a657..ef2308997f898 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -95,6 +95,10 @@ Changelog See :func:`cluster.spectral_clustering` for more details. :pr:`<PRID>` by :user:`<NAME>` +- |Enhancement| Adds :term:`get_...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20811
https://github.com/scikit-learn/scikit-learn/pull/20811
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 61d5c64255f71..eb7133b510c81 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -210,6 +210,12 @@ Changelog :mod:`sklearn.ensemble` ....................... +- |Enhancement| :class:`ensemble.HistGradientBoostingClassifier` is faster,...
diff --git a/sklearn/_loss/tests/test_loss.py b/sklearn/_loss/tests/test_loss.py index 2ad5633037c4a..5426ed296f01a 100644 --- a/sklearn/_loss/tests/test_loss.py +++ b/sklearn/_loss/tests/test_loss.py @@ -991,6 +991,63 @@ def test_predict_proba(loss): ) +@pytest.mark.parametrize("loss", ALL_LOSSES) +@p...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 61d5c64255f71..eb7133b510c81 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -21...
1.01
5d7dc4ba327c138cf63be5cd9238200037c1eb13
[ "sklearn/_loss/tests/test_loss.py::test_loss_dtype[2-None-1-1-float64-float32-True-HalfPoissonLoss]", "sklearn/_loss/tests/test_loss.py::test_loss_dtype[2-1-None-1-float32-float32-False-HalfBinomialLoss]", "sklearn/_loss/tests/test_loss.py::test_loss_dtype[2-1-None-None-float64-float64-False-AbsoluteError]", ...
[ "sklearn/_loss/tests/test_loss.py::test_init_gradient_and_hessians[F-float64-range-HalfBinomialLoss]", "sklearn/_loss/tests/test_loss.py::test_init_gradient_and_hessians[C-float32-None-HalfBinomialLoss]", "sklearn/_loss/tests/test_loss.py::test_init_gradient_and_hessians[F-float32-range-HalfTweedieLoss]", "sk...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 61d5c64255f71..eb7133b510c81 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -21...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 61d5c64255f71..eb7133b510c81 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -210,6 +210,12 @@ Changelog :mod:`sklearn.ensemble` ....................... +- |Enhancement| :class:`ensemble.HistGradientBoostingClassifier` is faster,...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22137
https://github.com/scikit-learn/scikit-learn/pull/22137
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index f0ccdc999c175..4be3104771cba 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -493,6 +493,11 @@ Changelog :class:`kernel_approximation.RBFSampler`, and :class:`kernel_approximation.SkewedChi2Sampler`. :pr:`22694` by `Thomas Fan`...
diff --git a/sklearn/tests/test_kernel_approximation.py b/sklearn/tests/test_kernel_approximation.py index 75b64d4087587..456a7f49ce6ff 100644 --- a/sklearn/tests/test_kernel_approximation.py +++ b/sklearn/tests/test_kernel_approximation.py @@ -360,3 +360,33 @@ def test_get_feature_names_out(Estimator): class_name...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex f0ccdc999c175..4be3104771cba 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -49...
1.01
d616e43947340e152e4a901931e954d699368fa9
[ "sklearn/tests/test_kernel_approximation.py::test_polynomial_count_sketch[1-1-2.5-Y0-X0]", "sklearn/tests/test_kernel_approximation.py::test_polynomial_count_sketch[0-3-1-Y1-X1]", "sklearn/tests/test_kernel_approximation.py::test_polynomial_count_sketch[2.5-1-0.1-Y1-X0]", "sklearn/tests/test_kernel_approximat...
[ "sklearn/tests/test_kernel_approximation.py::test_additivechi2sampler_get_feature_names_out" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex f0ccdc999c175..4be3104771cba 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -49...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index f0ccdc999c175..4be3104771cba 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -493,6 +493,11 @@ Changelog :class:`kernel_approximation.RBFSampler`, and :class:`kernel_approximation.SkewedChi2Sampler`. :pr:`<PRID>` by `<NAME>`_. ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22808
https://github.com/scikit-learn/scikit-learn/pull/22808
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 10baed44932ab..fdc04fdff88fe 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -618,6 +618,10 @@ Changelog :class:`linear_model.ARDRegression` now preserve float32 dtype. :pr:`9087` by :user:`Arthur Imbert <Henley13>` and :pr:`22...
diff --git a/sklearn/linear_model/tests/test_base.py b/sklearn/linear_model/tests/test_base.py index afe316adb9efb..2f7d30a763159 100644 --- a/sklearn/linear_model/tests/test_base.py +++ b/sklearn/linear_model/tests/test_base.py @@ -472,7 +472,6 @@ def test_preprocess_data_weighted(is_sparse): fit_intercept=Tr...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 10baed44932ab..fdc04fdff88fe 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -61...
1.01
e5736afb316038c43301d2c53ce39f9a89b64495
[ "sklearn/linear_model/tests/test_coordinate_descent.py::test_lassocv_alphas_validation[alphas1-ValueError-alphas\\\\[1\\\\] == -1, must be >= 0.0.]", "sklearn/linear_model/tests/test_coordinate_descent.py::test_linear_model_sample_weights_normalize_in_pipeline[True-False-RidgeCV-params6]", "sklearn/linear_model...
[ "sklearn/linear_model/tests/test_sparse_coordinate_descent.py::test_sparse_dense_equality[True-6-24-True-Lasso]", "sklearn/linear_model/tests/test_sparse_coordinate_descent.py::test_sparse_dense_equality[True-6-24-False-ElasticNetCV]", "sklearn/linear_model/tests/test_coordinate_descent.py::test_linear_model_sa...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 10baed44932ab..fdc04fdff88fe 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -61...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 10baed44932ab..fdc04fdff88fe 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -618,6 +618,10 @@ Changelog :class:`linear_model.ARDRegression` now preserve float32 dtype. :pr:`<PRID>` by :user:`<NAME>` and :pr:`<PRID>` by :user:`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21808
https://github.com/scikit-learn/scikit-learn/pull/21808
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 39f8e405ebf7c..b88e54b46a4bf 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -393,6 +393,15 @@ Changelog beginning which speeds up fitting. :pr:`22206` by :user:`Christian Lorentzen <lorentzenchr>`. +- |Enhancement| :class:`~...
diff --git a/sklearn/linear_model/tests/test_linear_loss.py b/sklearn/linear_model/tests/test_linear_loss.py new file mode 100644 index 0000000000000..d4e20ad69ca8a --- /dev/null +++ b/sklearn/linear_model/tests/test_linear_loss.py @@ -0,0 +1,308 @@ +""" +Tests for LinearModelLoss + +Note that correctness of losses (wh...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 39f8e405ebf7c..b88e54b46a4bf 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -39...
1.01
39c341ad91b545c895ede9c6240a04659b82defb
[ "sklearn/linear_model/tests/test_logistic.py::test_max_iter[newton-cg-newton-cg failed to converge. Increase the number of iterations.-multinomial-max_iter2]", "sklearn/linear_model/tests/test_logistic.py::test_multinomial_validation[newton-cg]", "sklearn/linear_model/tests/test_logistic.py::test_sample_weight_...
[ "sklearn/linear_model/tests/test_linear_loss.py::test_loss_gradients_are_the_same[1-None-False-HalfMultinomialLoss]", "sklearn/linear_model/tests/test_linear_loss.py::test_gradients_hessians_numerically[1-range-False-HalfMultinomialLoss]", "sklearn/linear_model/tests/test_linear_loss.py::test_loss_gradients_hes...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "sklearn/linear_model/_linear_loss.py" } ] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 39f8e405ebf7c..b88e54b46a4bf 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -39...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 39f8e405ebf7c..b88e54b46a4bf 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -393,6 +393,15 @@ Changelog beginning which speeds up fitting. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :class:`~linear_model.LogisticRegres...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22062
https://github.com/scikit-learn/scikit-learn/pull/22062
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index fa634e3e600fd..0674f1493b34b 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -303,6 +303,17 @@ Changelog for the highs based solvers. :pr:`21086` by :user:`Venkatachalam Natchiappan <venkyyuvy>`. +- |Enhancement| Rename param...
diff --git a/sklearn/linear_model/tests/test_ransac.py b/sklearn/linear_model/tests/test_ransac.py index f26d2088263b8..53f6b2d1f75eb 100644 --- a/sklearn/linear_model/tests/test_ransac.py +++ b/sklearn/linear_model/tests/test_ransac.py @@ -30,9 +30,9 @@ def test_ransac_inliers_outliers(): - base_estimator = Li...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex fa634e3e600fd..0674f1493b34b 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -30...
1.01
e4015289e0eeb390190ce0d051cee756bc5ecb33
[ "sklearn/linear_model/tests/test_ransac.py::test_ransac_sparse_csc", "sklearn/linear_model/tests/test_ransac.py::test_ransac_is_model_valid", "sklearn/linear_model/tests/test_ransac.py::test_ransac_predict", "sklearn/linear_model/tests/test_ransac.py::test_ransac_sparse_csr", "sklearn/linear_model/tests/tes...
[ "sklearn/linear_model/tests/test_ransac.py::test_base_estimator_deprecated", "sklearn/linear_model/tests/test_ransac.py::test_ransac_final_model_fit_sample_weight" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex fa634e3e600fd..0674f1493b34b 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -30...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index fa634e3e600fd..0674f1493b34b 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -303,6 +303,17 @@ Changelog for the highs based solvers. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| Rename parameter `base_estimator` to `esti...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22148
https://github.com/scikit-learn/scikit-learn/pull/22148
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index eef1135855560..75cd2414647c4 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -337,6 +337,11 @@ Changelog :pr:`21481` by :user:`Guillaume Lemaitre <glemaitre>` and :user:`Andrés Babino <ababino>`. +- |Enhancement| :func:`linea...
diff --git a/sklearn/linear_model/tests/test_coordinate_descent.py b/sklearn/linear_model/tests/test_coordinate_descent.py index c5ff1156875d4..2e65fb1fa23bb 100644 --- a/sklearn/linear_model/tests/test_coordinate_descent.py +++ b/sklearn/linear_model/tests/test_coordinate_descent.py @@ -167,6 +167,21 @@ def test_lasso...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex eef1135855560..75cd2414647c4 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -33...
1.01
1d1aadd0711b87d2a11c80aad15df6f8cf156712
[ "sklearn/linear_model/tests/test_coordinate_descent.py::test_warm_start", "sklearn/linear_model/tests/test_coordinate_descent.py::test_path_unknown_parameter[enet_path]", "sklearn/linear_model/tests/test_coordinate_descent.py::test_model_pipeline_same_as_normalize_true[Lars-params12]", "sklearn/linear_model/t...
[ "sklearn/linear_model/tests/test_coordinate_descent.py::test_enet_nonfinite_params" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex eef1135855560..75cd2414647c4 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -33...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index eef1135855560..75cd2414647c4 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -337,6 +337,11 @@ Changelog :pr:`<PRID>` by :user:`<NAME>` and :user:`<NAME>`. +- |Enhancement| :func:`linear_model.ElasticNet` and + and other li...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22240
https://github.com/scikit-learn/scikit-learn/pull/22240
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index eef1135855560..496219491fd97 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -341,6 +341,11 @@ Changelog warning when `l1_ratio=0`. :pr:`21724` by :user:`Yar Khine Phyo <yarkhinephyo>`. +- |Enhancement| :class:`linear_model.E...
diff --git a/sklearn/linear_model/tests/test_coordinate_descent.py b/sklearn/linear_model/tests/test_coordinate_descent.py index c5ff1156875d4..6e7efe0930a00 100644 --- a/sklearn/linear_model/tests/test_coordinate_descent.py +++ b/sklearn/linear_model/tests/test_coordinate_descent.py @@ -106,17 +106,41 @@ def test_assu...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex eef1135855560..496219491fd97 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -34...
1.01
c131f7c96bc163b8c069854305ee9f6a51e24000
[ "sklearn/linear_model/tests/test_coordinate_descent.py::test_lassoCV_does_not_set_precompute[auto-False]", "sklearn/linear_model/tests/test_coordinate_descent.py::test_enet_cv_sample_weight_sparse[LassoCV]", "sklearn/linear_model/tests/test_coordinate_descent.py::test_model_pipeline_same_as_normalize_true[Bayes...
[ "sklearn/linear_model/tests/test_coordinate_descent.py::test_param_invalid[params6-ValueError-max_iter == 0, must be >= 1.]", "sklearn/linear_model/tests/test_coordinate_descent.py::test_param_invalid[params0-ValueError-alpha == -1, must be >= 0.0]", "sklearn/linear_model/tests/test_coordinate_descent.py::test_...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex eef1135855560..496219491fd97 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -34...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index eef1135855560..496219491fd97 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -341,6 +341,11 @@ Changelog warning when `l1_ratio=0`. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :class:`linear_model.ElasticNet` and :class:...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22950
https://github.com/scikit-learn/scikit-learn/pull/22950
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 732d2e8035aa6..4c61e08c15149 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -636,6 +636,10 @@ Changelog of sample weights when the input is sparse. :pr:`22899` by :user:`Jérémie du Boisberranger <jeremiedbb>`. +- |Feature| :...
diff --git a/sklearn/linear_model/tests/test_ridge.py b/sklearn/linear_model/tests/test_ridge.py index 269952ddad659..e3bd6c6146ee9 100644 --- a/sklearn/linear_model/tests/test_ridge.py +++ b/sklearn/linear_model/tests/test_ridge.py @@ -1362,7 +1362,7 @@ def test_n_iter(): assert reg.n_iter_ is None -@pyte...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 732d2e8035aa6..4c61e08c15149 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -63...
1.01
48f363f35abec5b3611f96a2b91e9d4e2e1ce527
[ "sklearn/linear_model/tests/test_ridge.py::test_compute_gram[True-shape4]", "sklearn/linear_model/tests/test_ridge.py::test_ridge_ground_truth_positive_test[0.001-True]", "sklearn/linear_model/tests/test_ridge.py::test_ridge_sample_weight_invariance[svd-False]", "sklearn/linear_model/tests/test_ridge.py::test...
[ "sklearn/linear_model/tests/test_ridge.py::test_ridge_fit_intercept_sparse[42-False-lsqr]", "sklearn/linear_model/tests/test_ridge.py::test_ridge_fit_intercept_sparse[42-True-lsqr]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 732d2e8035aa6..4c61e08c15149 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -63...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 732d2e8035aa6..4c61e08c15149 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -636,6 +636,10 @@ Changelog of sample weights when the input is sparse. :pr:`<PRID>` by :user:`<NAME>`. +- |Feature| :class:`Ridge` with `solver="ls...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21219
https://github.com/scikit-learn/scikit-learn/pull/21219
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 95367bb35ce10..2cf9d9226dbff 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -38,6 +38,13 @@ Changelog :pr:`123456` by :user:`Joe Bloggs <joeongithub>`. where 123456 is the *pull request* number, not the issue number. +- ...
diff --git a/sklearn/feature_selection/tests/test_sequential.py b/sklearn/feature_selection/tests/test_sequential.py index d4e6af5c667c2..486cc6d90f09c 100644 --- a/sklearn/feature_selection/tests/test_sequential.py +++ b/sklearn/feature_selection/tests/test_sequential.py @@ -123,7 +123,7 @@ def test_nan_support(): ...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 95367bb35ce10..2cf9d9226dbff 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -38...
1.01
bd871537415a80b0505daabeaa8bfe4dd5f30e6d
[ "sklearn/metrics/tests/test_common.py::test_thresholded_metric_permutation_invariance[log_loss]", "sklearn/metrics/tests/test_common.py::test_regression_thresholded_inf_nan_input[y_true2-y_score2-metric10]", "sklearn/utils/tests/test_validation.py::test_check_pandas_sparse_valid[int64-longlong-integer]", "skl...
[ "sklearn/metrics/tests/test_common.py::test_classification_inf_nan_input[y_true6-y_score6-metric16]", "sklearn/impute/tests/test_impute.py::test_most_frequent[1-array7-int-10-2]", "sklearn/metrics/tests/test_common.py::test_classification_inf_nan_input[y_true5-y_score5-metric36]", "sklearn/metrics/tests/test_...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 95367bb35ce10..2cf9d9226dbff 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -38...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 95367bb35ce10..2cf9d9226dbff 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -38,6 +38,13 @@ Changelog :pr:`<PRID>` by :user:`<NAME>`. where <PRID> is the *pull request* number, not the issue number. +- |Enhancement| All ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22249
https://github.com/scikit-learn/scikit-learn/pull/22249
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index c0f705a8ceef7..aa1a71466fce0 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -314,6 +314,12 @@ Changelog `max_iter` and `tol`. :pr:`21341` by :user:`Arturo Amor <ArturoAmorQ>`. +:mod:`sklearn.isotonic` +.........................
diff --git a/sklearn/tests/test_common.py b/sklearn/tests/test_common.py index a8178a4219485..49ee681316554 100644 --- a/sklearn/tests/test_common.py +++ b/sklearn/tests/test_common.py @@ -382,7 +382,6 @@ def test_pandas_column_name_consistency(estimator): GET_FEATURES_OUT_MODULES_TO_IGNORE = [ "cluster", "e...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex c0f705a8ceef7..aa1a71466fce0 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -31...
1.01
49043fc769d0affc92e3641d2d5f8f8de2421611
[ "sklearn/tests/test_isotonic.py::test_isotonic_regression_oob_bad", "sklearn/tests/test_isotonic.py::test_make_unique_tolerance[float32]", "sklearn/tests/test_isotonic.py::test_isotonic_thresholds[True]", "sklearn/tests/test_isotonic.py::test_isotonic_sample_weight_parameter_default_value", "sklearn/tests/t...
[ "sklearn/tests/test_isotonic.py::test_get_feature_names_out[1d]", "sklearn/tests/test_isotonic.py::test_get_feature_names_out[2d]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex c0f705a8ceef7..aa1a71466fce0 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -31...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index c0f705a8ceef7..aa1a71466fce0 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -314,6 +314,12 @@ Changelog `max_iter` and `tol`. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.isotonic` +....................... + +- |Enhancemen...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19794
https://github.com/scikit-learn/scikit-learn/pull/19794
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 7ecffa9e18279..a18f14ee95b20 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -542,6 +542,26 @@ Changelog :class:`linear_model.ARDRegression` now preserve float32 dtype. :pr:`9087` by :user:`Arthur Imbert <Henley13>` and :pr:`22...
diff --git a/sklearn/manifold/tests/test_isomap.py b/sklearn/manifold/tests/test_isomap.py index 515bc4e46c9d7..73365b08a5cfb 100644 --- a/sklearn/manifold/tests/test_isomap.py +++ b/sklearn/manifold/tests/test_isomap.py @@ -1,5 +1,6 @@ from itertools import product import numpy as np +import math from numpy.testing...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 7ecffa9e18279..a18f14ee95b20 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -54...
1.01
1c94c0b0be3b9146aae41376f3f4ef3853e0ca97
[ "sklearn/manifold/tests/test_isomap.py::test_sparse_input", "sklearn/manifold/tests/test_isomap.py::test_isomap_clone_bug", "sklearn/manifold/tests/test_isomap.py::test_different_metric", "sklearn/manifold/tests/test_isomap.py::test_multiple_connected_components", "sklearn/manifold/tests/test_isomap.py::tes...
[ "sklearn/manifold/tests/test_isomap.py::test_transform[None-0.5]", "sklearn/manifold/tests/test_isomap.py::test_isomap_reconstruction_error[None-inf]", "sklearn/manifold/tests/test_isomap.py::test_pipeline[None-10.0]", "sklearn/manifold/tests/test_isomap.py::test_isomap_simple_grid[None-inf]", "sklearn/mani...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 7ecffa9e18279..a18f14ee95b20 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -54...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 7ecffa9e18279..a18f14ee95b20 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -542,6 +542,26 @@ Changelog :class:`linear_model.ARDRegression` now preserve float32 dtype. :pr:`<PRID>` by :user:`<NAME>` and :pr:`<PRID>` by :user:`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21606
https://github.com/scikit-learn/scikit-learn/pull/21606
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index b9651a1e1b6f8..329f87813a389 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -187,6 +187,11 @@ Changelog multilabel classification. :pr:`19689` by :user:`Guillaume Lemaitre <glemaitre>`. +- |Enhancement| :class:`linear_model....
diff --git a/sklearn/linear_model/tests/test_ridge.py b/sklearn/linear_model/tests/test_ridge.py index 1160e2db57fc6..975d16df06f12 100644 --- a/sklearn/linear_model/tests/test_ridge.py +++ b/sklearn/linear_model/tests/test_ridge.py @@ -1270,19 +1270,51 @@ def test_ridgecv_int_alphas(): ridge.fit(X, y) -def te...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex b9651a1e1b6f8..329f87813a389 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -18...
1.01
cacc034bba73859390a005445d634b1aa3ca7fe1
[ "sklearn/linear_model/tests/test_ridge.py::test_compute_gram[True-shape4]", "sklearn/linear_model/tests/test_ridge.py::test_ridge_ground_truth_positive_test[0.001-True]", "sklearn/linear_model/tests/test_ridge.py::test_ridge_sample_weight_invariance[svd-False]", "sklearn/linear_model/tests/test_ridge.py::test...
[ "sklearn/linear_model/tests/test_ridge.py::test_ridgecv_alphas_validation[params2-TypeError-alphas\\\\[2\\\\] must be an instance of <class 'numbers.Real'>, not <class 'str'>-RidgeCV]", "sklearn/linear_model/tests/test_ridge.py::test_ridgecv_alphas_validation[params0-ValueError-alphas\\\\[1\\\\] == -1, must be > ...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex b9651a1e1b6f8..329f87813a389 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -18...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index b9651a1e1b6f8..329f87813a389 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -187,6 +187,11 @@ Changelog multilabel classification. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :class:`linear_model.RidgeCV` and + :class:...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21341
https://github.com/scikit-learn/scikit-learn/pull/21341
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index e2ff5bc76fce2..b9651a1e1b6f8 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -187,6 +187,11 @@ Changelog multilabel classification. :pr:`19689` by :user:`Guillaume Lemaitre <glemaitre>`. +- |Enhancement| :class:`linear_model....
diff --git a/sklearn/linear_model/tests/test_ridge.py b/sklearn/linear_model/tests/test_ridge.py index 58d2804d89aca..1160e2db57fc6 100644 --- a/sklearn/linear_model/tests/test_ridge.py +++ b/sklearn/linear_model/tests/test_ridge.py @@ -335,6 +335,42 @@ def test_ridge_individual_penalties(): ridge.fit(X, y) ...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex e2ff5bc76fce2..b9651a1e1b6f8 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -18...
1.01
80ebe21ec280892df98a02d8fdd61cbf3988ccd6
[ "sklearn/linear_model/tests/test_ridge.py::test_ridge_regression_check_arguments_validity[saga-array-None-False]", "sklearn/linear_model/tests/test_ridge.py::test_solver_consistency[seed2-False-40-float32-1.0-saga-False]", "sklearn/linear_model/tests/test_ridge.py::test_ridge_positive_regression_test[0.01-False...
[ "sklearn/linear_model/tests/test_ridge.py::test_ridge_params_validation[params5-TypeError-tol must be an instance of <class 'numbers.Real'>, not <class 'str'>]", "sklearn/linear_model/tests/test_ridge.py::test_ridge_params_validation[params0-ValueError-alpha == -1, must be >= 0.0]", "sklearn/linear_model/tests/...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex e2ff5bc76fce2..b9651a1e1b6f8 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -18...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index e2ff5bc76fce2..b9651a1e1b6f8 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -187,6 +187,11 @@ Changelog multilabel classification. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :class:`linear_model.Ridge` and :class:`line...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21334
https://github.com/scikit-learn/scikit-learn/pull/21334
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 7141080afbc06..261b6f8eac6bf 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -58,6 +58,22 @@ Changelog - |Fix| :class:`decomposition.FastICA` now validates input parameters in `fit` instead of `__init__`. :pr:`21432` by :user:`Ha...
diff --git a/sklearn/decomposition/tests/test_dict_learning.py b/sklearn/decomposition/tests/test_dict_learning.py index 1270287ec844a..9ce477fffcd9d 100644 --- a/sklearn/decomposition/tests/test_dict_learning.py +++ b/sklearn/decomposition/tests/test_dict_learning.py @@ -664,3 +664,21 @@ def test_warning_default_trans...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 7141080afbc06..261b6f8eac6bf 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -58...
1.01
8955057049c5c8cc5a7d8380e236f6a5efcf1c05
[ "sklearn/decomposition/tests/test_incremental_pca.py::test_incremental_pca_partial_fit", "sklearn/decomposition/tests/test_pca.py::test_pca_inverse[True-full]", "sklearn/decomposition/tests/test_pca.py::test_pca[3-arpack]", "sklearn/decomposition/tests/test_incremental_pca.py::test_incremental_pca_sparse[lil_...
[ "sklearn/decomposition/tests/test_sparse_pca.py::test_spca_feature_names_out[SparsePCA]", "sklearn/decomposition/tests/test_dict_learning.py::test_get_feature_names_out[DictionaryLearning]", "sklearn/decomposition/tests/test_nmf.py::test_feature_names_out", "sklearn/decomposition/tests/test_online_lda.py::tes...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 7141080afbc06..261b6f8eac6bf 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -58...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 7141080afbc06..261b6f8eac6bf 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -58,6 +58,22 @@ Changelog - |Fix| :class:`decomposition.FastICA` now validates input parameters in `fit` instead of `__init__`. :pr:`<PRID>` by :user:`<...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21086
https://github.com/scikit-learn/scikit-learn/pull/21086
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 37dc4c56dc860..e6cf2d70efbba 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -221,7 +221,10 @@ Changelog a parameter in order to provide an estimate of the noise variance. This is particularly relevant when `n_features > n_samp...
diff --git a/sklearn/linear_model/tests/test_quantile.py b/sklearn/linear_model/tests/test_quantile.py index 9f29ae1b3604e..caf35830ea553 100644 --- a/sklearn/linear_model/tests/test_quantile.py +++ b/sklearn/linear_model/tests/test_quantile.py @@ -6,6 +6,7 @@ import pytest from pytest import approx from scipy.optim...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 37dc4c56dc860..e6cf2d70efbba 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -22...
1.01
056f993b411c1fa5cf6a2ced8e51de03617b25b4
[ "sklearn/linear_model/tests/test_quantile.py::test_init_parameters_validation[params5-The argument fit_intercept must be bool]", "sklearn/linear_model/tests/test_quantile.py::test_quantile_equals_huber_for_low_epsilon[False]", "sklearn/linear_model/tests/test_quantile.py::test_equivariance[0.5]", "sklearn/lin...
[ "sklearn/linear_model/tests/test_quantile.py::test_incompatible_solver_for_sparse_input[revised simplex]", "sklearn/linear_model/tests/test_quantile.py::test_incompatible_solver_for_sparse_input[interior-point]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 37dc4c56dc860..e6cf2d70efbba 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -22...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 37dc4c56dc860..e6cf2d70efbba 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -221,7 +221,10 @@ Changelog a parameter in order to provide an estimate of the noise variance. This is particularly relevant when `n_features > n_samp...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17266
https://github.com/scikit-learn/scikit-learn/pull/17266
diff --git a/doc/modules/model_evaluation.rst b/doc/modules/model_evaluation.rst index 730b094581276..079313a45c3d0 100644 --- a/doc/modules/model_evaluation.rst +++ b/doc/modules/model_evaluation.rst @@ -2005,6 +2005,19 @@ then the explained variance is estimated as follow: The best possible score is 1.0, lower val...
diff --git a/sklearn/metrics/tests/test_regression.py b/sklearn/metrics/tests/test_regression.py index 1a64be4e5ab53..249a3646fe41b 100644 --- a/sklearn/metrics/tests/test_regression.py +++ b/sklearn/metrics/tests/test_regression.py @@ -50,7 +50,11 @@ def test_regression_metrics(n_samples=50): assert mape > 1e6 ...
[ { "path": "doc/modules/model_evaluation.rst", "old_path": "a/doc/modules/model_evaluation.rst", "new_path": "b/doc/modules/model_evaluation.rst", "metadata": "diff --git a/doc/modules/model_evaluation.rst b/doc/modules/model_evaluation.rst\nindex 730b094581276..079313a45c3d0 100644\n--- a/doc/module...
1.01
f87b5ae223b01414a83a610246a40dae2356a039
[ "sklearn/metrics/tests/test_regression.py::test_mean_pinball_loss_on_constant_predictions[0.5-normal]", "sklearn/metrics/tests/test_regression.py::test__check_reg_targets_exception", "sklearn/metrics/tests/test_regression.py::test_mean_pinball_loss_on_constant_predictions[0.05-normal]", "sklearn/metrics/tests...
[ "sklearn/metrics/tests/test_regression.py::test_regression_multioutput_array", "sklearn/metrics/tests/test_regression.py::test_regression_metrics_at_limits", "sklearn/metrics/tests/test_regression.py::test_regression_custom_weights", "sklearn/metrics/tests/test_regression.py::test_regression_metrics", "skle...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/model_evaluation.rst", "old_path": "a/doc/modules/model_evaluation.rst", "new_path": "b/doc/modules/model_evaluation.rst", "metadata": "diff --git a/doc/modules/model_evaluation.rst b/doc/modules/model_evaluation.rst\nindex 730b094581276..079313a45c3d0 100644\n--- a/doc/module...
diff --git a/doc/modules/model_evaluation.rst b/doc/modules/model_evaluation.rst index 730b094581276..079313a45c3d0 100644 --- a/doc/modules/model_evaluation.rst +++ b/doc/modules/model_evaluation.rst @@ -2005,6 +2005,19 @@ then the explained variance is estimated as follow: The best possible score is 1.0, lower val...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21078
https://github.com/scikit-learn/scikit-learn/pull/21078
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index a473908d8f1e7..cc1af2f237bf9 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -61,6 +61,13 @@ Changelog error when 'min_idf' or 'max_idf' are floating-point numbers greater than 1. :pr:`20752` by :user:`Alek Lefebvre <AlekLefebv...
diff --git a/sklearn/impute/tests/test_common.py b/sklearn/impute/tests/test_common.py index c35245ac8c253..0c13547ce9b4c 100644 --- a/sklearn/impute/tests/test_common.py +++ b/sklearn/impute/tests/test_common.py @@ -14,7 +14,7 @@ from sklearn.impute import SimpleImputer -IMPUTERS = [IterativeImputer(), KNNImputer...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex a473908d8f1e7..cc1af2f237bf9 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -61...
1.01
7601f87b7a8faaf0d3bd14add9a050b127cbb865
[ "sklearn/impute/tests/test_impute.py::test_missing_indicator_new[all-3-features_indices1-0-int32-array]", "sklearn/impute/tests/test_impute.py::test_most_frequent[1-array5-int-10-1]", "sklearn/impute/tests/test_impute.py::test_missing_indicator_new[all-3-features_indices1-nan-float64-csc_matrix]", "sklearn/im...
[ "sklearn/impute/tests/test_common.py::test_imputers_feature_names_out_pandas[False-IterativeImputer]", "sklearn/impute/tests/test_common.py::test_imputers_feature_names_out_pandas[False-KNNImputer]", "sklearn/impute/tests/test_common.py::test_imputers_feature_names_out_pandas[True-SimpleImputer]", "sklearn/im...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex a473908d8f1e7..cc1af2f237bf9 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -61...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index a473908d8f1e7..cc1af2f237bf9 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -61,6 +61,13 @@ Changelog error when 'min_idf' or 'max_idf' are floating-point numbers greater than 1. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklear...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21534
https://github.com/scikit-learn/scikit-learn/pull/21534
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 542636b1642f7..64e3c57a92214 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -117,6 +117,14 @@ Changelog backward compatibility, but this alias will be removed in 1.3. :pr:`21177` by :user:`Julien Jerphanion <jjerphan>`. +:mo...
diff --git a/sklearn/manifold/tests/test_spectral_embedding.py b/sklearn/manifold/tests/test_spectral_embedding.py index 8454accb7c59b..0f4bca2b07419 100644 --- a/sklearn/manifold/tests/test_spectral_embedding.py +++ b/sklearn/manifold/tests/test_spectral_embedding.py @@ -19,6 +19,15 @@ from sklearn.utils._testing imp...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 542636b1642f7..64e3c57a92214 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -11...
1.01
8cfbc38ab8864b68f9a504f96857bb2e527c9bbb
[ "sklearn/manifold/tests/test_spectral_embedding.py::test_spectral_embedding_two_components[float64-arpack]", "sklearn/manifold/tests/test_spectral_embedding.py::test_spectral_embedding_callable_affinity[sparse]", "sklearn/manifold/tests/test_spectral_embedding.py::test_spectral_embedding_pairwise_deprecated[pre...
[ "sklearn/manifold/tests/test_spectral_embedding.py::test_spectral_embedding_preserves_dtype[float32-lobpcg]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 542636b1642f7..64e3c57a92214 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -11...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 542636b1642f7..64e3c57a92214 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -117,6 +117,14 @@ Changelog backward compatibility, but this alias will be removed in 1.3. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.manifold` ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22118
https://github.com/scikit-learn/scikit-learn/pull/22118
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index b7000bcf7cbb2..c3e6c4f2f674b 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -996,6 +996,8 @@ details. metrics.mean_tweedie_deviance metrics.d2_tweedie_score metrics.mean_pinball_loss + metrics.d2_pinball_score + ...
diff --git a/sklearn/metrics/tests/test_common.py b/sklearn/metrics/tests/test_common.py index dfd43ef34096f..1e627f9f86676 100644 --- a/sklearn/metrics/tests/test_common.py +++ b/sklearn/metrics/tests/test_common.py @@ -30,6 +30,8 @@ from sklearn.metrics import confusion_matrix from sklearn.metrics import coverage_e...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex b7000bcf7cbb2..c3e6c4f2f674b 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
1.01
142e388fa004e3367fdfc0be4a194be0d0c61c8c
[]
[ "sklearn/metrics/tests/test_common.py::test_symmetric_metric[unnormalized_accuracy_score]", "sklearn/metrics/tests/test_common.py::test_classification_inf_nan_input[y_true4-y_score4-metric21]", "sklearn/metrics/tests/test_common.py::test_classification_inf_nan_input[y_true5-y_score5-metric37]", "sklearn/metri...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex b7000bcf7cbb2..c3e6c4f2f674b 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index b7000bcf7cbb2..c3e6c4f2f674b 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -996,6 +996,8 @@ details. metrics.mean_tweedie_deviance metrics.d2_tweedie_score metrics.mean_pinball_loss + metrics.d2_pinball_score + ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22284
https://github.com/scikit-learn/scikit-learn/pull/22284
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index f0ccdc999c175..ec1d546da6712 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -592,6 +592,9 @@ Changelog instead of the finite approximation (`1.0` and `0.0` respectively) currently returned by default. :pr:`17266` by :user:`Syl...
diff --git a/sklearn/metrics/tests/test_ranking.py b/sklearn/metrics/tests/test_ranking.py index 1b30afb174d28..bb000fddb55ef 100644 --- a/sklearn/metrics/tests/test_ranking.py +++ b/sklearn/metrics/tests/test_ranking.py @@ -1890,46 +1890,85 @@ def test_top_k_accuracy_score_warning(y_true, k): @pytest.mark.paramet...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex f0ccdc999c175..ec1d546da6712 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -59...
1.01
4aeb1adec376b92876b37548fff5fdd8f3ee6cf4
[ "sklearn/metrics/tests/test_ranking.py::test_det_curve_tie_handling[y_true4-y_score4-expected_fpr4-expected_fnr4]", "sklearn/metrics/tests/test_ranking.py::test_alternative_lrap_implementation[0-5-20]", "sklearn/metrics/tests/test_ranking.py::test_alternative_lrap_implementation[0-2-1]", "sklearn/metrics/test...
[ "sklearn/metrics/tests/test_ranking.py::test_top_k_accuracy_score_error[y_true6-y_score6-None-`y_true` is binary while y_score is 2d with 3 classes. If `y_true` does not contain all the labels, `labels` must be provided]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex f0ccdc999c175..ec1d546da6712 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -59...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index f0ccdc999c175..ec1d546da6712 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -592,6 +592,9 @@ Changelog instead of the finite approximation (`1.0` and `0.0` respectively) currently returned by default. :pr:`<PRID>` by :user:`<N...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19158
https://github.com/scikit-learn/scikit-learn/pull/19158
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 1b83354e5c0c2..38d7709e8ea24 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -422,6 +422,10 @@ Changelog - |Fix| :func:`metrics.silhouette_score` now supports integer input for precomputed distances. :pr:`22108` by `Thomas Fan`_....
diff --git a/sklearn/metrics/tests/test_ranking.py b/sklearn/metrics/tests/test_ranking.py index 01de37b189733..1b30afb174d28 100644 --- a/sklearn/metrics/tests/test_ranking.py +++ b/sklearn/metrics/tests/test_ranking.py @@ -526,6 +526,11 @@ def test_multiclass_ovo_roc_auc_toydata(y_true, labels): ovo_weighted...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 1b83354e5c0c2..38d7709e8ea24 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -42...
1.01
b0067e0e7e0ae095592bc3a9a8cb7ba9e200c1be
[ "sklearn/metrics/tests/test_ranking.py::test_roc_auc_score_multiclass_labels_error[ovr-Number of given labels, 2, not equal to the number of columns in 'y_score', 3-y_true4-labels4]", "sklearn/metrics/tests/test_ranking.py::test_det_curve_tie_handling[y_true7-y_score7-expected_fpr7-expected_fnr7]", "sklearn/met...
[ "sklearn/metrics/tests/test_ranking.py::test_roc_auc_score_multiclass_error[average must be one of \\\\('macro', 'weighted', None\\\\) for multiclass problems-kwargs0]", "sklearn/metrics/tests/test_ranking.py::test_multiclass_ovr_roc_auc_toydata[y_true0-None]", "sklearn/metrics/tests/test_ranking.py::test_multi...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 1b83354e5c0c2..38d7709e8ea24 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -42...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 1b83354e5c0c2..38d7709e8ea24 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -422,6 +422,10 @@ Changelog - |Fix| :func:`metrics.silhouette_score` now supports integer input for precomputed distances. :pr:`<PRID>` by `<NAME>`_. ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20753
https://github.com/scikit-learn/scikit-learn/pull/20753
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index c9076838744ee..e215f03c9a089 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -607,6 +607,13 @@ Changelog in the multiclass case when ``multiclass='ovr'`` which will return the score per class. :pr:`19158` by :user:`Nicki Skafte...
diff --git a/sklearn/metrics/_plot/tests/test_confusion_matrix_display.py b/sklearn/metrics/_plot/tests/test_confusion_matrix_display.py index 8db971fb26971..e826888b65f89 100644 --- a/sklearn/metrics/_plot/tests/test_confusion_matrix_display.py +++ b/sklearn/metrics/_plot/tests/test_confusion_matrix_display.py @@ -365...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex c9076838744ee..e215f03c9a089 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -60...
1.01
3605c140af992b6ac52f04f1689c58509cc0b5b2
[ "sklearn/metrics/_plot/tests/test_confusion_matrix_display.py::test_confusion_matrix_display_custom_labels[False-True-from_predictions]", "sklearn/metrics/_plot/tests/test_confusion_matrix_display.py::test_confusion_matrix_display_plotting[False-all-from_predictions]", "sklearn/metrics/_plot/tests/test_confusio...
[ "sklearn/metrics/_plot/tests/test_confusion_matrix_display.py::test_im_kw_adjust_vmin_vmax" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex c9076838744ee..e215f03c9a089 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -60...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index c9076838744ee..e215f03c9a089 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -607,6 +607,13 @@ Changelog in the multiclass case when ``multiclass='ovr'`` which will return the score per class. :pr:`<PRID>` by :user:`<NAME>`. ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22203
https://github.com/scikit-learn/scikit-learn/pull/22203
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index d14cd278f67a1..5339f4a399490 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -382,6 +382,11 @@ Changelog splits failed. Similarly raise an error during grid-search when the fits for all the models and all the splits failed. :pr...
diff --git a/sklearn/metrics/tests/test_score_objects.py b/sklearn/metrics/tests/test_score_objects.py index 65d8efebe775f..60ca7fdceee42 100644 --- a/sklearn/metrics/tests/test_score_objects.py +++ b/sklearn/metrics/tests/test_score_objects.py @@ -31,6 +31,7 @@ recall_score, roc_auc_score, top_k_accurac...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex d14cd278f67a1..5339f4a399490 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -38...
1.01
be89eb75f250dc5a769281939ba01e570fb12ae1
[ "sklearn/metrics/tests/test_score_objects.py::test_scorer_memmap_input[f1_macro]", "sklearn/metrics/tests/test_score_objects.py::test_classification_binary_scores[f1-f1_score]", "sklearn/metrics/tests/test_score_objects.py::test_scorer_memmap_input[completeness_score]", "sklearn/metrics/tests/test_score_objec...
[ "sklearn/metrics/tests/test_score_objects.py::test_classification_binary_scores[matthews_corrcoef-matthews_corrcoef]", "sklearn/metrics/tests/test_score_objects.py::test_scorer_memmap_input[matthews_corrcoef]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex d14cd278f67a1..5339f4a399490 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -38...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index d14cd278f67a1..5339f4a399490 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -382,6 +382,11 @@ Changelog splits failed. Similarly raise an error during grid-search when the fits for all the models and all the splits failed. :pr...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21445
https://github.com/scikit-learn/scikit-learn/pull/21445
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 542636b1642f7..7036139bfb10e 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -134,6 +134,11 @@ Changelog :mod:`sklearn.preprocessing` ............................ +- |Enhancement| Adds a `subsample` parameter to :class:`preproces...
diff --git a/sklearn/preprocessing/tests/test_discretization.py b/sklearn/preprocessing/tests/test_discretization.py index a053332619e39..fa8240893f7c3 100644 --- a/sklearn/preprocessing/tests/test_discretization.py +++ b/sklearn/preprocessing/tests/test_discretization.py @@ -3,6 +3,7 @@ import scipy.sparse as sp imp...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 542636b1642f7..7036139bfb10e 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -13...
1.01
1f8825c8dd6238355191e3d1c98f4e4d54cfbf16
[ "sklearn/preprocessing/tests/test_discretization.py::test_32_equal_64[ordinal-float32]", "sklearn/preprocessing/tests/test_discretization.py::test_inverse_transform[onehot-kmeans-expected_inv1]", "sklearn/preprocessing/tests/test_discretization.py::test_32_equal_64[ordinal-float16]", "sklearn/preprocessing/te...
[ "sklearn/preprocessing/tests/test_discretization.py::test_kbinsdiscretizer_subsample_default[None]", "sklearn/preprocessing/tests/test_discretization.py::test_kbinsdiscretizer_subsample_values[200000]", "sklearn/preprocessing/tests/test_discretization.py::test_kbinsdiscretizer_subsample_default[warn]", "sklea...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 542636b1642f7..7036139bfb10e 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -13...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 542636b1642f7..7036139bfb10e 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -134,6 +134,11 @@ Changelog :mod:`sklearn.preprocessing` ............................ +- |Enhancement| Adds a `subsample` parameter to :class:`preproces...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20408
https://github.com/scikit-learn/scikit-learn/pull/20408
diff --git a/doc/modules/mixture.rst b/doc/modules/mixture.rst index fb8e897270f0b..114b5ea3e8eb3 100644 --- a/doc/modules/mixture.rst +++ b/doc/modules/mixture.rst @@ -135,6 +135,43 @@ parameters to maximize the likelihood of the data given those assignments. Repeating this process is guaranteed to always converge t...
diff --git a/sklearn/mixture/tests/test_gaussian_mixture.py b/sklearn/mixture/tests/test_gaussian_mixture.py index bbf9cd98b1413..f8531c7553202 100644 --- a/sklearn/mixture/tests/test_gaussian_mixture.py +++ b/sklearn/mixture/tests/test_gaussian_mixture.py @@ -2,6 +2,7 @@ # Thierry Guillemot <thierry.guillemot...
[ { "path": "doc/modules/mixture.rst", "old_path": "a/doc/modules/mixture.rst", "new_path": "b/doc/modules/mixture.rst", "metadata": "diff --git a/doc/modules/mixture.rst b/doc/modules/mixture.rst\nindex fb8e897270f0b..114b5ea3e8eb3 100644\n--- a/doc/modules/mixture.rst\n+++ b/doc/modules/mixture.rst\...
1.01
b99bd36830074ca6a82fcd50529a7365b01a23bf
[ "sklearn/mixture/tests/test_gaussian_mixture.py::test_regularisation", "sklearn/mixture/tests/test_gaussian_mixture.py::test_gaussian_mixture_predict_predict_proba", "sklearn/mixture/tests/test_gaussian_mixture.py::test_gaussian_mixture_fit_best_params", "sklearn/mixture/tests/test_gaussian_mixture.py::test_g...
[ "sklearn/mixture/tests/test_gaussian_mixture.py::test_means_for_all_inits[42-k-means++]", "sklearn/mixture/tests/test_gaussian_mixture.py::test_init_means_not_duplicated[42-random_from_data]", "sklearn/mixture/tests/test_gaussian_mixture.py::test_max_iter_zero", "sklearn/mixture/tests/test_gaussian_mixture.py...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "examples/mixture/plot_gmm_init.py" } ] }
[ { "path": "doc/modules/mixture.rst", "old_path": "a/doc/modules/mixture.rst", "new_path": "b/doc/modules/mixture.rst", "metadata": "diff --git a/doc/modules/mixture.rst b/doc/modules/mixture.rst\nindex fb8e897270f0b..114b5ea3e8eb3 100644\n--- a/doc/modules/mixture.rst\n+++ b/doc/modules/mixture.rst\...
diff --git a/doc/modules/mixture.rst b/doc/modules/mixture.rst index fb8e897270f0b..114b5ea3e8eb3 100644 --- a/doc/modules/mixture.rst +++ b/doc/modules/mixture.rst @@ -135,6 +135,43 @@ parameters to maximize the likelihood of the data given those assignments. Repeating this process is guaranteed to always converge t...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16018
https://github.com/scikit-learn/scikit-learn/pull/16018
diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index 035f2b90203ca..997bccf66782d 100644 --- a/doc/modules/preprocessing.rst +++ b/doc/modules/preprocessing.rst @@ -594,17 +594,19 @@ dataset:: array([[1., 0., 0., 1., 0., 0., 1., 0., 0., 0.]]) If there is a possibility that the traini...
diff --git a/sklearn/preprocessing/tests/test_encoders.py b/sklearn/preprocessing/tests/test_encoders.py index 54ed48fa115c8..96bd9c2c5b9ff 100644 --- a/sklearn/preprocessing/tests/test_encoders.py +++ b/sklearn/preprocessing/tests/test_encoders.py @@ -39,7 +39,8 @@ def test_one_hot_encoder_sparse_dense(): assert_...
[ { "path": "doc/modules/preprocessing.rst", "old_path": "a/doc/modules/preprocessing.rst", "new_path": "b/doc/modules/preprocessing.rst", "metadata": "diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst\nindex 035f2b90203ca..997bccf66782d 100644\n--- a/doc/modules/preprocessing...
1.01
269bdb94898b9944b10de2db6b17fffe7b69a432
[ "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_drop_reset[if_binary-if_binary-get_feature_names]", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_inverse[first-False-infrequent_if_exist]", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder[mixed-float-n...
[ "sklearn/utils/tests/test_encode.py::test_get_counts[values5-uniques5-expected_counts5]", "sklearn/utils/tests/test_encode.py::test_encode_util[float32-nan]", "sklearn/utils/tests/test_encode.py::test_check_unknown_missing_values[False-nan0]", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encode...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/preprocessing.rst", "old_path": "a/doc/modules/preprocessing.rst", "new_path": "b/doc/modules/preprocessing.rst", "metadata": "diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst\nindex 035f2b90203ca..997bccf66782d 100644\n--- a/doc/modules/preprocessing...
diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index 035f2b90203ca..997bccf66782d 100644 --- a/doc/modules/preprocessing.rst +++ b/doc/modules/preprocessing.rst @@ -594,17 +594,19 @@ dataset:: array([[1., 0., 0., 1., 0., 0., 1., 0., 0., 0.]]) If there is a possibility that the traini...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22150
https://github.com/scikit-learn/scikit-learn/pull/22150
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 61d5c64255f71..a30d6711812a3 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -393,6 +393,14 @@ Changelog instead of `__init__`. :pr:`21430` by :user:`Desislava Vasileva <DessyVV>` and :user:`Lucy Jimenez <LucyJimenez>`. +:mod...
diff --git a/sklearn/neural_network/tests/test_mlp.py b/sklearn/neural_network/tests/test_mlp.py index 3948a4eccc760..999983d751cc1 100644 --- a/sklearn/neural_network/tests/test_mlp.py +++ b/sklearn/neural_network/tests/test_mlp.py @@ -506,6 +506,24 @@ def test_partial_fit_errors(): assert not hasattr(MLPClassifi...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 61d5c64255f71..a30d6711812a3 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -39...
1.01
8d6217107f02d6f52d2f8c8908958fe82778c7cc
[ "sklearn/neural_network/tests/test_mlp.py::test_params_errors[args11]", "sklearn/neural_network/tests/test_mlp.py::test_params_errors[args7]", "sklearn/neural_network/tests/test_mlp.py::test_params_errors[args17]", "sklearn/neural_network/tests/test_mlp.py::test_mlp_regressor_dtypes_casting", "sklearn/neura...
[ "sklearn/neural_network/tests/test_mlp.py::test_nonfinite_params" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 61d5c64255f71..a30d6711812a3 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -39...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 61d5c64255f71..a30d6711812a3 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -393,6 +393,14 @@ Changelog instead of `__init__`. :pr:`<PRID>` by :user:`<NAME>` and :user:`<NAME>`. +:mod:`sklearn.neural_network` +.................
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21569
https://github.com/scikit-learn/scikit-learn/pull/21569
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 6a5b2d226cabe..5e67916888511 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -237,6 +237,15 @@ Changelog instead of `__init__`. :pr:`21434` by :user:`Krum Arnaudov <krumeto>`. +- |Enhancement| Added the `get_feature_names_out...
diff --git a/sklearn/preprocessing/tests/test_function_transformer.py b/sklearn/preprocessing/tests/test_function_transformer.py index b1ba9ebe6b762..525accf4568de 100644 --- a/sklearn/preprocessing/tests/test_function_transformer.py +++ b/sklearn/preprocessing/tests/test_function_transformer.py @@ -176,6 +176,158 @@ d...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 6a5b2d226cabe..5e67916888511 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -23...
1.01
bacc91cf1d4531bcc91aa60893fdf7df319485ec
[ "sklearn/preprocessing/tests/test_function_transformer.py::test_kw_arg_reset", "sklearn/preprocessing/tests/test_function_transformer.py::test_kw_arg", "sklearn/preprocessing/tests/test_function_transformer.py::test_function_transformer_frame", "sklearn/preprocessing/tests/test_function_transformer.py::test_d...
[ "sklearn/preprocessing/tests/test_function_transformer.py::test_function_transformer_get_feature_names_out[X6-one-to-one-input_features6-expected6]", "sklearn/preprocessing/tests/test_function_transformer.py::test_function_transformer_get_feature_names_out[X5-<lambda>-None-expected5]", "sklearn/preprocessing/te...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 6a5b2d226cabe..5e67916888511 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -23...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 6a5b2d226cabe..5e67916888511 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -237,6 +237,15 @@ Changelog instead of `__init__`. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| Added the `get_feature_names_out` method and a n...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21988
https://github.com/scikit-learn/scikit-learn/pull/21988
diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index 997bccf66782d..beb91d8780de8 100644 --- a/doc/modules/preprocessing.rst +++ b/doc/modules/preprocessing.rst @@ -537,8 +537,8 @@ scikit-learn estimators, as these expect continuous input, and would interpret the categories as being ordered...
diff --git a/sklearn/preprocessing/tests/test_encoders.py b/sklearn/preprocessing/tests/test_encoders.py index a96786419816d..ea32de22cd2f0 100644 --- a/sklearn/preprocessing/tests/test_encoders.py +++ b/sklearn/preprocessing/tests/test_encoders.py @@ -1664,31 +1664,35 @@ def test_ordinal_encoder_passthrough_missing_va...
[ { "path": "doc/modules/preprocessing.rst", "old_path": "a/doc/modules/preprocessing.rst", "new_path": "b/doc/modules/preprocessing.rst", "metadata": "diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst\nindex 997bccf66782d..beb91d8780de8 100644\n--- a/doc/modules/preprocessing...
1.01
26eedbd1f453435b7d8f62d151ba23c22a567d88
[ "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_drop_reset[if_binary-if_binary-get_feature_names]", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_inverse[first-False-infrequent_if_exist]", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder[mixed-float-n...
[ "sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_encoded_missing_value_error[False]", "sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_passthrough_missing_values_float[-2]", "sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_unknown_missing_interaction", ...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/preprocessing.rst", "old_path": "a/doc/modules/preprocessing.rst", "new_path": "b/doc/modules/preprocessing.rst", "metadata": "diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst\nindex 997bccf66782d..beb91d8780de8 100644\n--- a/doc/modules/preprocessing...
diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index 997bccf66782d..beb91d8780de8 100644 --- a/doc/modules/preprocessing.rst +++ b/doc/modules/preprocessing.rst @@ -537,8 +537,8 @@ scikit-learn estimators, as these expect continuous input, and would interpret the categories as being ordered...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21701
https://github.com/scikit-learn/scikit-learn/pull/21701
diff --git a/doc/modules/random_projection.rst b/doc/modules/random_projection.rst index adb2d53bd14d6..7d3341f0244bb 100644 --- a/doc/modules/random_projection.rst +++ b/doc/modules/random_projection.rst @@ -160,3 +160,42 @@ projection transformer:: In Proceedings of the 12th ACM SIGKDD international conference on...
diff --git a/sklearn/tests/test_random_projection.py b/sklearn/tests/test_random_projection.py index a3a6b1ae2a49f..4d21090a3e6fb 100644 --- a/sklearn/tests/test_random_projection.py +++ b/sklearn/tests/test_random_projection.py @@ -1,5 +1,6 @@ import functools from typing import List, Any +import warnings import ...
[ { "path": "doc/modules/random_projection.rst", "old_path": "a/doc/modules/random_projection.rst", "new_path": "b/doc/modules/random_projection.rst", "metadata": "diff --git a/doc/modules/random_projection.rst b/doc/modules/random_projection.rst\nindex adb2d53bd14d6..7d3341f0244bb 100644\n--- a/doc/m...
1.01
a794c58692a1f3e7a85a42d8c7f7ddd5fcf18baa
[ "sklearn/tests/test_random_projection.py::test_sparse_random_projection_transformer_invalid_density[0]", "sklearn/tests/test_random_projection.py::test_random_projection_feature_names_out[GaussianRandomProjection]", "sklearn/tests/test_random_projection.py::test_try_to_transform_before_fit", "sklearn/tests/te...
[ "sklearn/tests/test_random_projection.py::test_inverse_transform[42-False-GaussianRandomProjection-1000-9]", "sklearn/tests/test_random_projection.py::test_inverse_transform[42-False-SparseRandomProjection-9-2]", "sklearn/tests/test_random_projection.py::test_inverse_transform[42-False-SparseRandomProjection-9-...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/random_projection.rst", "old_path": "a/doc/modules/random_projection.rst", "new_path": "b/doc/modules/random_projection.rst", "metadata": "diff --git a/doc/modules/random_projection.rst b/doc/modules/random_projection.rst\nindex adb2d53bd14d6..7d3341f0244bb 100644\n--- a/doc/m...
diff --git a/doc/modules/random_projection.rst b/doc/modules/random_projection.rst index adb2d53bd14d6..7d3341f0244bb 100644 --- a/doc/modules/random_projection.rst +++ b/doc/modules/random_projection.rst @@ -160,3 +160,42 @@ projection transformer:: In Proceedings of the 12th ACM SIGKDD international conference on...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21026
https://github.com/scikit-learn/scikit-learn/pull/21026
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 9d9cf3c95b450..87ffc36d342fa 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -53,6 +53,19 @@ Changelog message when the solver does not support sparse matrices with int64 indices. :pr:`21093` by `Tom Dupre la Tour`_. +:mod:`s...
diff --git a/sklearn/model_selection/tests/test_search.py b/sklearn/model_selection/tests/test_search.py index 6960a17fb629b..df54c5a51afb4 100644 --- a/sklearn/model_selection/tests/test_search.py +++ b/sklearn/model_selection/tests/test_search.py @@ -29,7 +29,6 @@ from sklearn.base import BaseEstimator, Classifier...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 9d9cf3c95b450..87ffc36d342fa 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -53...
1.01
d152b1e6e2a02e5bf725b41ecd63884d7d957cee
[ "sklearn/model_selection/tests/test_split.py::test_stratified_kfold_ratios[StratifiedGroupKFold-6-True]", "sklearn/model_selection/tests/test_validation.py::test_cross_val_predict_predict_proba_shape", "sklearn/model_selection/tests/test_search.py::test_search_default_iid[GridSearchCV-specialized_params0]", "...
[ "sklearn/model_selection/tests/test_search.py::test_grid_search_classifier_all_fits_fail", "sklearn/model_selection/tests/test_search.py::test_callable_multimetric_clf_all_fits_fail", "sklearn/model_selection/tests/test_validation.py::test_cross_validate_all_failing_fits_error[0]", "sklearn/model_selection/te...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 9d9cf3c95b450..87ffc36d342fa 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -53...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 9d9cf3c95b450..87ffc36d342fa 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -53,6 +53,19 @@ Changelog message when the solver does not support sparse matrices with int64 indices. :pr:`<PRID>` by `<NAME>`_. +:mod:`sklearn.mod...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22114
https://github.com/scikit-learn/scikit-learn/pull/22114
diff --git a/doc/tutorial/basic/tutorial.rst b/doc/tutorial/basic/tutorial.rst index 5199ad226243f..4375e4fb83e61 100644 --- a/doc/tutorial/basic/tutorial.rst +++ b/doc/tutorial/basic/tutorial.rst @@ -183,7 +183,7 @@ the last item from ``digits.data``:: SVC(C=100.0, gamma=0.001) Now you can *predict* new values. ...
diff --git a/sklearn/tests/test_random_projection.py b/sklearn/tests/test_random_projection.py index 1e894d906a3ad..a3a6b1ae2a49f 100644 --- a/sklearn/tests/test_random_projection.py +++ b/sklearn/tests/test_random_projection.py @@ -13,6 +13,8 @@ from sklearn.random_projection import SparseRandomProjection from sklea...
[ { "path": "doc/tutorial/basic/tutorial.rst", "old_path": "a/doc/tutorial/basic/tutorial.rst", "new_path": "b/doc/tutorial/basic/tutorial.rst", "metadata": "diff --git a/doc/tutorial/basic/tutorial.rst b/doc/tutorial/basic/tutorial.rst\nindex 5199ad226243f..4375e4fb83e61 100644\n--- a/doc/tutorial/ba...
1.01
b242b9dd200cbb3f60247e523adae43a303d8122
[ "sklearn/tests/test_random_projection.py::test_random_projection_dtype_match[float64-float64-GaussianRandomProjection]", "sklearn/tests/test_random_projection.py::test_johnson_lindenstrauss_min_dim", "sklearn/tests/test_random_projection.py::test_sparse_random_projection_transformer_invalid_density[0]", "skle...
[ "sklearn/tests/test_random_projection.py::test_random_projection_dtype_match[float32-float32-GaussianRandomProjection]", "sklearn/tests/test_random_projection.py::test_random_projection_dtype_match[float32-float32-SparseRandomProjection]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/tutorial/basic/tutorial.rst", "old_path": "a/doc/tutorial/basic/tutorial.rst", "new_path": "b/doc/tutorial/basic/tutorial.rst", "metadata": "diff --git a/doc/tutorial/basic/tutorial.rst b/doc/tutorial/basic/tutorial.rst\nindex 5199ad226243f..4375e4fb83e61 100644\n--- a/doc/tutorial/ba...
diff --git a/doc/tutorial/basic/tutorial.rst b/doc/tutorial/basic/tutorial.rst index 5199ad226243f..4375e4fb83e61 100644 --- a/doc/tutorial/basic/tutorial.rst +++ b/doc/tutorial/basic/tutorial.rst @@ -183,7 +183,7 @@ the last item from ``digits.data``:: SVC(C=100.0, gamma=0.001) Now you can *predict* new values. ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21408
https://github.com/scikit-learn/scikit-learn/pull/21408
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 37dc4c56dc860..1438b96a8295a 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -266,6 +266,13 @@ Changelog Setting a transformer to "passthrough" will pass the features unchanged. :pr:`20860` by :user:`Shubhraneel Pal <shubhranee...
diff --git a/sklearn/svm/tests/test_svm.py b/sklearn/svm/tests/test_svm.py index 67eabf9fc8d2c..af4e7d4a0935b 100644 --- a/sklearn/svm/tests/test_svm.py +++ b/sklearn/svm/tests/test_svm.py @@ -66,12 +66,58 @@ def test_libsvm_iris(): assert_array_equal(clf.classes_, np.sort(clf.classes_)) # check also the lo...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 37dc4c56dc860..1438b96a8295a 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -26...
1.01
39782b71b03d180bb2fe2ac321b6bab87a43746a
[ "sklearn/svm/tests/test_svm.py::test_linearsvm_liblinear_sample_weight[LinearSVC-params2]", "sklearn/svm/tests/test_svm.py::test_negative_sample_weights_mask_all_samples[weights-are-negative-NuSVR]", "sklearn/svm/tests/test_svm.py::test_auto_weight", "sklearn/svm/tests/test_svm.py::test_negative_weight_equal_...
[ "sklearn/svm/tests/test_svm.py::test_n_iter_libsvm[dataset1-NuSVR-int]", "sklearn/svm/tests/test_svm.py::test_n_iter_libsvm[dataset1-SVR-int]", "sklearn/svm/tests/test_svm.py::test_n_iter_libsvm[dataset0-NuSVC-ndarray]", "sklearn/svm/tests/test_svm.py::test_n_iter_libsvm[dataset2-OneClassSVM-int]", "sklearn...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 37dc4c56dc860..1438b96a8295a 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -26...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 37dc4c56dc860..1438b96a8295a 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -266,6 +266,13 @@ Changelog Setting a transformer to "passthrough" will pass the features unchanged. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn....
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22149
https://github.com/scikit-learn/scikit-learn/pull/22149
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 61d5c64255f71..d03ce62dae5b4 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -451,6 +451,12 @@ Changelog parameters in `fit` instead of `__init__`. :pr:`21436` by :user:`Haidar Almubarak <Haidar13 >`. +- |Enhancement| :func:`...
diff --git a/sklearn/svm/tests/test_svm.py b/sklearn/svm/tests/test_svm.py index af4e7d4a0935b..a8e53a5d50cb0 100644 --- a/sklearn/svm/tests/test_svm.py +++ b/sklearn/svm/tests/test_svm.py @@ -731,6 +731,20 @@ def test_bad_input(): clf.predict(Xt) +def test_svc_nonfinite_params(): + # Check SVC throws V...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 61d5c64255f71..d03ce62dae5b4 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -45...
1.01
8d6217107f02d6f52d2f8c8908958fe82778c7cc
[ "sklearn/svm/tests/test_svm.py::test_linearsvm_liblinear_sample_weight[LinearSVC-params2]", "sklearn/svm/tests/test_svm.py::test_negative_sample_weights_mask_all_samples[weights-are-negative-NuSVR]", "sklearn/svm/tests/test_svm.py::test_auto_weight", "sklearn/svm/tests/test_svm.py::test_negative_weight_equal_...
[ "sklearn/svm/tests/test_svm.py::test_svc_nonfinite_params" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 61d5c64255f71..d03ce62dae5b4 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -45...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 61d5c64255f71..d03ce62dae5b4 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -451,6 +451,12 @@ Changelog parameters in `fit` instead of `__init__`. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :func:`svm.SVR`, :func:`svm....
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22254
https://github.com/scikit-learn/scikit-learn/pull/22254
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 38aea32e776aa..3ae1c260570b2 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -413,6 +413,9 @@ Changelog preserve this dtype. :pr:`21534` by :user:`Andrew Knyazev <lobpcg>`. +- |Enhancement| Adds `get_feature_names_out` to :cl...
diff --git a/sklearn/manifold/tests/test_isomap.py b/sklearn/manifold/tests/test_isomap.py index fa2f2188e3d6e..68ea433a58b93 100644 --- a/sklearn/manifold/tests/test_isomap.py +++ b/sklearn/manifold/tests/test_isomap.py @@ -1,6 +1,10 @@ from itertools import product import numpy as np -from numpy.testing import asse...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 38aea32e776aa..3ae1c260570b2 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -41...
1.01
755d10a7fcfc44656bbed8d7f00f9e06e505732a
[ "sklearn/manifold/tests/test_isomap.py::test_pipeline", "sklearn/manifold/tests/test_isomap.py::test_different_metric", "sklearn/manifold/tests/test_locally_linear.py::test_integer_input", "sklearn/manifold/tests/test_isomap.py::test_transform", "sklearn/manifold/tests/test_isomap.py::test_isomap_clone_bug"...
[ "sklearn/manifold/tests/test_isomap.py::test_get_feature_names_out", "sklearn/manifold/tests/test_locally_linear.py::test_get_feature_names_out" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 38aea32e776aa..3ae1c260570b2 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -41...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 38aea32e776aa..3ae1c260570b2 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -413,6 +413,9 @@ Changelog preserve this dtype. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| Adds `get_feature_names_out` to :class:`manifold.Is...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20860
https://github.com/scikit-learn/scikit-learn/pull/20860
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index fba40e25a9e7e..9c1084e393e8d 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -53,6 +53,12 @@ Changelog :pr:`20880` by :user:`Guillaume Lemaitre <glemaitre>` and :user:`András Simon <simonandras>`. +:mod:`sklearn.pipeline` +.....
diff --git a/sklearn/tests/test_pipeline.py b/sklearn/tests/test_pipeline.py index 445bd9064b959..fa01b6e834b11 100644 --- a/sklearn/tests/test_pipeline.py +++ b/sklearn/tests/test_pipeline.py @@ -1004,6 +1004,60 @@ def test_set_feature_union_step_drop(get_names): assert not record +def test_set_feature_union_...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex fba40e25a9e7e..9c1084e393e8d 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -53...
1.01
40e1f895b172b9941fdcdefffd5a2aa8556ed227
[ "sklearn/tests/test_pipeline.py::test_fit_predict_with_intermediate_fit_params", "sklearn/tests/test_pipeline.py::test_pipeline_feature_names_out_error_without_definition", "sklearn/tests/test_pipeline.py::test_score_samples_on_pipeline_without_score_samples", "sklearn/tests/test_pipeline.py::test_set_feature...
[ "sklearn/tests/test_pipeline.py::test_set_feature_union_passthrough" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex fba40e25a9e7e..9c1084e393e8d 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -53...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index fba40e25a9e7e..9c1084e393e8d 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -53,6 +53,12 @@ Changelog :pr:`<PRID>` by :user:`<NAME>` and :user:`<NAME>`. +:mod:`sklearn.pipeline` +....................... + +- |Enhancement| Ad...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22548
https://github.com/scikit-learn/scikit-learn/pull/22548
diff --git a/doc/modules/linear_model.rst b/doc/modules/linear_model.rst index 6d176e8482537..24dfa901b1d42 100644 --- a/doc/modules/linear_model.rst +++ b/doc/modules/linear_model.rst @@ -1032,7 +1032,7 @@ reproductive exponential dispersion model (EDM) [11]_). The minimization problem becomes: -.. math:: \min...
diff --git a/sklearn/_loss/tests/test_glm_distribution.py b/sklearn/_loss/tests/test_glm_distribution.py index 453f61e2f3214..aaaa9de39a502 100644 --- a/sklearn/_loss/tests/test_glm_distribution.py +++ b/sklearn/_loss/tests/test_glm_distribution.py @@ -1,6 +1,8 @@ # Authors: Christian Lorentzen <lorentzen.ch@gmail.com...
[ { "path": "doc/modules/linear_model.rst", "old_path": "a/doc/modules/linear_model.rst", "new_path": "b/doc/modules/linear_model.rst", "metadata": "diff --git a/doc/modules/linear_model.rst b/doc/modules/linear_model.rst\nindex 6d176e8482537..24dfa901b1d42 100644\n--- a/doc/modules/linear_model.rst\n...
1.01
aee564c544e3245e52bd413709e43f192ad02ba9
[ "sklearn/_loss/tests/test_link.py::test_is_in_range[interval1]", "sklearn/_loss/tests/test_glm_distribution.py::test_deviance_derivative[TweedieDistribution0]", "sklearn/_loss/tests/test_link.py::test_link_out_argument[MultinomialLogit]", "sklearn/_loss/tests/test_glm_distribution.py::test_deviance_zero[famil...
[ "sklearn/_loss/tests/test_loss.py::test_loss_dtype[2-1-None-1-float32-float64-False-HalfTweedieLoss]", "sklearn/_loss/tests/test_loss.py::test_loss_boundary_y_true[loss13-y_true_success13-y_true_fail13]", "sklearn/_loss/tests/test_loss.py::test_graceful_squeezing[HalfTweedieLoss5]", "sklearn/_loss/tests/test_...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/linear_model.rst", "old_path": "a/doc/modules/linear_model.rst", "new_path": "b/doc/modules/linear_model.rst", "metadata": "diff --git a/doc/modules/linear_model.rst b/doc/modules/linear_model.rst\nindex 6d176e8482537..24dfa901b1d42 100644\n--- a/doc/modules/linear_model.rst\n...
diff --git a/doc/modules/linear_model.rst b/doc/modules/linear_model.rst index 6d176e8482537..24dfa901b1d42 100644 --- a/doc/modules/linear_model.rst +++ b/doc/modules/linear_model.rst @@ -1032,7 +1032,7 @@ reproductive exponential dispersion model (EDM) [11]_). The minimization problem becomes: -.. math:: \min...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21278
https://github.com/scikit-learn/scikit-learn/pull/21278
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index c4f16f4404963..39255056d4e91 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -113,6 +113,10 @@ Changelog :pr:`20880` by :user:`Guillaume Lemaitre <glemaitre>` and :user:`András Simon <simonandras>`. +- |Enhancement| :func:`ut...
diff --git a/sklearn/utils/tests/test_validation.py b/sklearn/utils/tests/test_validation.py index 167118fb4ff8f..00c6cf85dda4d 100644 --- a/sklearn/utils/tests/test_validation.py +++ b/sklearn/utils/tests/test_validation.py @@ -390,7 +390,9 @@ def test_check_array_dtype_numeric_errors(X): check_array(X, dtype...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex c4f16f4404963..39255056d4e91 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -11...
1.01
958ccc5bb1d43594eafe825e387e3e9876ac8893
[ "sklearn/utils/tests/test_validation.py::test_check_array_accept_large_sparse_raise_exception[csr]", "sklearn/utils/tests/test_validation.py::test_num_features_errors_1d_containers[tuple-float]", "sklearn/utils/tests/test_validation.py::test_check_sparse_pandas_sp_format[True]", "sklearn/utils/tests/test_vali...
[ "sklearn/utils/tests/test_validation.py::test_check_array_pandas_na_support[numeric-float64-Float64]", "sklearn/utils/tests/test_validation.py::test_check_array_pandas_na_support[dtype0-float32-Float64]", "sklearn/utils/tests/test_validation.py::test_check_array_pandas_na_support[float64-float64-Float32]", "s...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex c4f16f4404963..39255056d4e91 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -11...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index c4f16f4404963..39255056d4e91 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -113,6 +113,10 @@ Changelog :pr:`<PRID>` by :user:`<NAME>` and :user:`<NAME>`. +- |Enhancement| :func:`utils.validation.check_array` returns a float...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22212
https://github.com/scikit-learn/scikit-learn/pull/22212
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index c0f705a8ceef7..a9d4013b9b375 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -423,6 +423,11 @@ Changelog ndarray with `np.nan` when passed a `Float32` or `Float64` pandas extension array with `pd.NA`. :pr:`21278` by `Thomas Fan...
diff --git a/sklearn/neighbors/tests/test_graph.py b/sklearn/neighbors/tests/test_graph.py index b51f40ac18e36..fb593485d17a8 100644 --- a/sklearn/neighbors/tests/test_graph.py +++ b/sklearn/neighbors/tests/test_graph.py @@ -1,8 +1,10 @@ import numpy as np +import pytest from sklearn.metrics import euclidean_distan...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex c0f705a8ceef7..a9d4013b9b375 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -42...
1.01
9816b35d05e139f1fcc1a5541a1398205280d75a
[ "sklearn/neighbors/tests/test_nca.py::test_auto_init[7-5-5-11]", "sklearn/neighbors/tests/test_nca.py::test_auto_init[11-7-5-11]", "sklearn/neighbors/tests/test_nca.py::test_auto_init[11-7-7-5]", "sklearn/neighbors/tests/test_nca.py::test_params_validation", "sklearn/neighbors/tests/test_nca.py::test_auto_i...
[ "sklearn/neighbors/tests/test_graph.py::test_graph_feature_names_out[KNeighborsTransformer]", "sklearn/neighbors/tests/test_graph.py::test_graph_feature_names_out[RadiusNeighborsTransformer]", "sklearn/neighbors/tests/test_nca.py::test_nca_feature_names_out" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex c0f705a8ceef7..a9d4013b9b375 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -42...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index c0f705a8ceef7..a9d4013b9b375 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -423,6 +423,11 @@ Changelog ndarray with `np.nan` when passed a `Float32` or `Float64` pandas extension array with `pd.NA`. :pr:`<PRID>` by `<NAME>`_....
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21316
https://github.com/scikit-learn/scikit-learn/pull/21316
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index c4f16f4404963..c34c9779e12ec 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -113,6 +113,10 @@ Changelog :pr:`20880` by :user:`Guillaume Lemaitre <glemaitre>` and :user:`András Simon <simonandras>`. +- |Enhancement| :func:`ut...
diff --git a/sklearn/utils/tests/test_estimator_html_repr.py b/sklearn/utils/tests/test_estimator_html_repr.py index f22c03f20bdd7..9d474ad10fe10 100644 --- a/sklearn/utils/tests/test_estimator_html_repr.py +++ b/sklearn/utils/tests/test_estimator_html_repr.py @@ -1,4 +1,5 @@ from contextlib import closing +import htm...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex c4f16f4404963..c34c9779e12ec 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -11...
1.01
a343963d961225be25468ca64b54896dcba48e87
[ "sklearn/utils/tests/test_estimator_html_repr.py::test_stacking_regressor[None]", "sklearn/utils/tests/test_estimator_html_repr.py::test_get_visual_block_single_str_none[passthrough]", "sklearn/utils/tests/test_estimator_html_repr.py::test_write_label_html[True]", "sklearn/utils/tests/test_estimator_html_repr...
[ "sklearn/utils/tests/test_estimator_html_repr.py::test_fallback_exists" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex c4f16f4404963..c34c9779e12ec 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -11...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index c4f16f4404963..c34c9779e12ec 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -113,6 +113,10 @@ Changelog :pr:`<PRID>` by :user:`<NAME>` and :user:`<NAME>`. +- |Enhancement| :func:`utils.estimator_html_repr` shows a more helpf...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17443
https://github.com/scikit-learn/scikit-learn/pull/17443
diff --git a/doc/modules/calibration.rst b/doc/modules/calibration.rst index d0a9737dac612..1fcd1d501d100 100644 --- a/doc/modules/calibration.rst +++ b/doc/modules/calibration.rst @@ -30,11 +30,25 @@ approximately 80% actually belong to the positive class. Calibration curves ------------------ -The following plot ...
diff --git a/sklearn/tests/test_calibration.py b/sklearn/tests/test_calibration.py index 4fe08c27fb19e..8decff0cc96d5 100644 --- a/sklearn/tests/test_calibration.py +++ b/sklearn/tests/test_calibration.py @@ -18,7 +18,7 @@ ) from sklearn.utils.extmath import softmax from sklearn.exceptions import NotFittedError -fro...
[ { "path": "doc/modules/calibration.rst", "old_path": "a/doc/modules/calibration.rst", "new_path": "b/doc/modules/calibration.rst", "metadata": "diff --git a/doc/modules/calibration.rst b/doc/modules/calibration.rst\nindex d0a9737dac612..1fcd1d501d100 100644\n--- a/doc/modules/calibration.rst\n+++ b/...
1.00
c3db2cdbf5244229af2c5eb54f9216a69f77a146
[]
[ "sklearn/tests/test_calibration.py::test_calibration[True-isotonic]", "sklearn/tests/test_calibration.py::test_parallel_execution[False-isotonic]", "sklearn/tests/test_calibration.py::test_calibration_ensemble_false[isotonic]", "sklearn/tests/test_calibration.py::test_calibration_attributes[clf0-2]", "sklea...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/calibration.rst", "old_path": "a/doc/modules/calibration.rst", "new_path": "b/doc/modules/calibration.rst", "metadata": "diff --git a/doc/modules/calibration.rst b/doc/modules/calibration.rst\nindex d0a9737dac612..1fcd1d501d100 100644\n--- a/doc/modules/calibration.rst\n+++ b/...
diff --git a/doc/modules/calibration.rst b/doc/modules/calibration.rst index d0a9737dac612..1fcd1d501d100 100644 --- a/doc/modules/calibration.rst +++ b/doc/modules/calibration.rst @@ -30,11 +30,25 @@ approximately 80% actually belong to the positive class. Calibration curves ------------------ -The following plot ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20117
https://github.com/scikit-learn/scikit-learn/pull/20117
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 34e9f0670ba81..ba8d93f181059 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -150,6 +150,11 @@ Changelog - |Efficiency| :class:`cluster.MiniBatchKMeans` is now faster in multicore settings. :pr:`17622` by :user:`Jérémie du Boisbe...
diff --git a/sklearn/cluster/tests/test_affinity_propagation.py b/sklearn/cluster/tests/test_affinity_propagation.py index ae2806bf38e59..a42a8112782a5 100644 --- a/sklearn/cluster/tests/test_affinity_propagation.py +++ b/sklearn/cluster/tests/test_affinity_propagation.py @@ -238,6 +238,25 @@ def test_affinity_propagat...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 34e9f0670ba81..ba8d93f181059 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -15...
1.00
c67518350f91072f9d37ed09c5ef7edf555b6cf6
[ "sklearn/cluster/tests/test_affinity_propagation.py::test_affinity_propagation_predict", "sklearn/cluster/tests/test_affinity_propagation.py::test_affinity_propagation_fit_non_convergence", "sklearn/cluster/tests/test_affinity_propagation.py::test_affinity_propagation_predict_error", "sklearn/cluster/tests/te...
[ "sklearn/cluster/tests/test_affinity_propagation.py::test_sparse_input_for_predict" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 34e9f0670ba81..ba8d93f181059 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -15...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 34e9f0670ba81..ba8d93f181059 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -150,6 +150,11 @@ Changelog - |Efficiency| :class:`cluster.MiniBatchKMeans` is now faster in multicore settings. :pr:`<PRID>` by :user:`<NAME>`. +- |E...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21298
https://github.com/scikit-learn/scikit-learn/pull/21298
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index f755aeba20030..7792fa14b13a5 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -113,10 +113,10 @@ Changelog - |Fix| :class:`decomposition.FastICA` now validates input parameters in `fit` instead of `__init__`. :pr:`21432` by :use...
diff --git a/sklearn/utils/tests/test_estimator_html_repr.py b/sklearn/utils/tests/test_estimator_html_repr.py index 90300a9bef948..39731860fdd3f 100644 --- a/sklearn/utils/tests/test_estimator_html_repr.py +++ b/sklearn/utils/tests/test_estimator_html_repr.py @@ -18,6 +18,7 @@ from sklearn.cluster import Birch from ...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex f755aeba20030..7792fa14b13a5 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -11...
1.01
863bbc07b307ee1af0f0d7d794b9fb9d59ac3e1c
[ "sklearn/utils/tests/test_estimator_html_repr.py::test_fallback_exists", "sklearn/utils/tests/test_estimator_html_repr.py::test_stacking_regressor[None]", "sklearn/utils/tests/test_estimator_html_repr.py::test_get_visual_block_single_str_none[passthrough]", "sklearn/utils/tests/test_estimator_html_repr.py::te...
[ "sklearn/utils/tests/test_estimator_html_repr.py::test_show_arrow_pipeline" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex f755aeba20030..7792fa14b13a5 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -11...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index f755aeba20030..7792fa14b13a5 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -113,10 +113,10 @@ Changelog - |Fix| :class:`decomposition.FastICA` now validates input parameters in `fit` instead of `__init__`. :pr:`<PRID>` by :us...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20880
https://github.com/scikit-learn/scikit-learn/pull/20880
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 1639b4b691c65..fba40e25a9e7e 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -38,9 +38,20 @@ Changelog :pr:`123456` by :user:`Joe Bloggs <joeongithub>`. where 123456 is the *pull request* number, not the issue number. - -...
diff --git a/sklearn/ensemble/tests/test_weight_boosting.py b/sklearn/ensemble/tests/test_weight_boosting.py index 6927d47c11cfe..159f83abf24c4 100755 --- a/sklearn/ensemble/tests/test_weight_boosting.py +++ b/sklearn/ensemble/tests/test_weight_boosting.py @@ -576,6 +576,6 @@ def test_adaboost_negative_weight_error(mod...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 1639b4b691c65..fba40e25a9e7e 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -38...
1.01
89d66b39a0949c01beee5eb9739e192b8bcac7bd
[ "sklearn/utils/tests/test_validation.py::test_check_array_accept_large_sparse_raise_exception[csr]", "sklearn/neighbors/tests/test_kde.py::test_kernel_density[0.01-linear]", "sklearn/utils/tests/test_validation.py::test_num_features_errors_1d_containers[tuple-float]", "sklearn/utils/tests/test_validation.py::...
[ "sklearn/ensemble/tests/test_weight_boosting.py::test_adaboost_negative_weight_error[model0-X0-y0]", "sklearn/ensemble/tests/test_weight_boosting.py::test_adaboost_negative_weight_error[model1-X1-y1]", "sklearn/utils/tests/test_validation.py::test_check_sample_weight", "sklearn/neighbors/tests/test_kde.py::te...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 1639b4b691c65..fba40e25a9e7e 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -38...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 1639b4b691c65..fba40e25a9e7e 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -38,9 +38,20 @@ Changelog :pr:`<PRID>` by :user:`<NAME>`. where <PRID> is the *pull request* number, not the issue number. - -:mod:`sklearn.deco...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18393
https://github.com/scikit-learn/scikit-learn/pull/18393
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index be894774f5a27..a54abb78730a4 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -102,6 +102,13 @@ Changelog - |Enhancement| :func:`datasets.fetch_kddcup99` raises a better message when the cached file is invalid. :pr:`19669` `Thomas...
diff --git a/sklearn/compose/tests/test_column_transformer.py b/sklearn/compose/tests/test_column_transformer.py index ae2e25b68210f..f7c1874d4a1b7 100644 --- a/sklearn/compose/tests/test_column_transformer.py +++ b/sklearn/compose/tests/test_column_transformer.py @@ -225,7 +225,7 @@ def test_column_transformer_datafra...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex be894774f5a27..a54abb78730a4 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -10...
1.00
114616d9f6ce9eba7c1aacd3d4a254f868010e25
[ "sklearn/compose/tests/test_column_transformer.py::test_column_transformer_verbose[fit_transform-est5-\\\\[ColumnTransformer\\\\].*\\\\(1 of 2\\\\) Processing trans1.* total=.*\\\\n\\\\[ColumnTransformer\\\\].*\\\\(2 of 2\\\\) Processing trans2.* total=.*\\\\n$]", "sklearn/compose/tests/test_column_transformer.py...
[ "sklearn/compose/tests/test_column_transformer.py::test_column_transformer_output_indices", "sklearn/compose/tests/test_column_transformer.py::test_column_transformer_output_indices_df" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex be894774f5a27..a54abb78730a4 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -10...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index be894774f5a27..a54abb78730a4 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -102,6 +102,13 @@ Changelog - |Enhancement| :func:`datasets.fetch_kddcup99` raises a better message when the cached file is invalid. :pr:`<PRID>` `Thoma...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22237
https://github.com/scikit-learn/scikit-learn/pull/22237
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 0acd0612dd0c7..332fbc33dd192 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -1048,6 +1048,11 @@ Changelog left corner of the HTML representation to show how the elements are clickable. :pr:`21298` by `Thomas Fan`_. +- |Enhan...
diff --git a/sklearn/utils/tests/test_validation.py b/sklearn/utils/tests/test_validation.py index 84a71a10981fb..391d9603d29de 100644 --- a/sklearn/utils/tests/test_validation.py +++ b/sklearn/utils/tests/test_validation.py @@ -924,26 +924,69 @@ def test_check_array_series(): assert_array_equal(res, np.array(["a"...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 0acd0612dd0c7..332fbc33dd192 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -10...
1.01
8d295fbdc77c859b2ee811b2ee0588c48960bf6a
[ "sklearn/utils/tests/test_validation.py::test_check_array_force_all_finiteinvalid[csr_matrix-nan--allow-inf-force_all_finite should be a bool or \"allow-nan\"]", "sklearn/utils/tests/test_validation.py::test_check_array_accept_large_sparse_raise_exception[csr]", "sklearn/utils/tests/test_validation.py::test_num...
[ "sklearn/utils/tests/test_validation.py::test_check_dataframe_with_only_bool", "sklearn/utils/tests/test_validation.py::test_check_dataframe_mixed_float_dtypes[bool-None]", "sklearn/utils/tests/test_validation.py::test_check_dataframe_mixed_float_dtypes[boolean-None]", "sklearn/utils/tests/test_validation.py:...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 0acd0612dd0c7..332fbc33dd192 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -10...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 0acd0612dd0c7..332fbc33dd192 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -1048,6 +1048,11 @@ Changelog left corner of the HTML representation to show how the elements are clickable. :pr:`<PRID>` by `<NAME>`_. +- |Enhancem...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22248
https://github.com/scikit-learn/scikit-learn/pull/22248
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 4c307d9e54250..0240ad706b6ca 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -503,6 +503,9 @@ Changelog messages when optimizers produce non-finite parameter weights. :pr:`22150` by :user:`Christian Ritter <chritter>` and :user...
diff --git a/sklearn/neural_network/tests/test_rbm.py b/sklearn/neural_network/tests/test_rbm.py index aadae44479ad5..d36fa6b0bd11f 100644 --- a/sklearn/neural_network/tests/test_rbm.py +++ b/sklearn/neural_network/tests/test_rbm.py @@ -238,3 +238,15 @@ def test_convergence_dtype_consistency(): ) assert_allcl...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 4c307d9e54250..0240ad706b6ca 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -50...
1.01
8991c3d7870df692fe01510e0fe6de62ea550cad
[ "sklearn/neural_network/tests/test_rbm.py::test_fit_gibbs", "sklearn/neural_network/tests/test_rbm.py::test_small_sparse_partial_fit", "sklearn/neural_network/tests/test_rbm.py::test_gibbs_smoke", "sklearn/neural_network/tests/test_rbm.py::test_transform", "sklearn/neural_network/tests/test_rbm.py::test_tra...
[ "sklearn/neural_network/tests/test_rbm.py::test_feature_names_out[fit]", "sklearn/neural_network/tests/test_rbm.py::test_feature_names_out[partial_fit]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 4c307d9e54250..0240ad706b6ca 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -50...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 4c307d9e54250..0240ad706b6ca 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -503,6 +503,9 @@ Changelog messages when optimizers produce non-finite parameter weights. :pr:`<PRID>` by :user:`<NAME>` and :user:`<NAME>`. +- |Enh...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19263
https://github.com/scikit-learn/scikit-learn/pull/19263
diff --git a/doc/modules/compose.rst b/doc/modules/compose.rst index 6e827304c38cd..a9195ba9ab022 100644 --- a/doc/modules/compose.rst +++ b/doc/modules/compose.rst @@ -527,6 +527,20 @@ above example would be:: ('countvectorizer', CountVectorizer(), ...
diff --git a/sklearn/compose/tests/test_column_transformer.py b/sklearn/compose/tests/test_column_transformer.py index 549292ab51445..9278d67296ec5 100644 --- a/sklearn/compose/tests/test_column_transformer.py +++ b/sklearn/compose/tests/test_column_transformer.py @@ -4,7 +4,6 @@ import re import pickle -import war...
[ { "path": "doc/modules/compose.rst", "old_path": "a/doc/modules/compose.rst", "new_path": "b/doc/modules/compose.rst", "metadata": "diff --git a/doc/modules/compose.rst b/doc/modules/compose.rst\nindex 6e827304c38cd..a9195ba9ab022 100644\n--- a/doc/modules/compose.rst\n+++ b/doc/modules/compose.rst\...
1.00
a9cc0ed86fca1480acbd8aaf211f062ee2abd5b7
[ "sklearn/compose/tests/test_column_transformer.py::test_column_transformer_verbose[fit_transform-est5-\\\\[ColumnTransformer\\\\].*\\\\(1 of 2\\\\) Processing trans1.* total=.*\\\\n\\\\[ColumnTransformer\\\\].*\\\\(2 of 2\\\\) Processing trans2.* total=.*\\\\n$]", "sklearn/compose/tests/test_column_transformer.py...
[ "sklearn/compose/tests/test_column_transformer.py::test_column_transformer_reordered_column_names_remainder[passthrough-first]", "sklearn/compose/tests/test_column_transformer.py::test_column_transformer_reordered_column_names_remainder[remainder0-0]", "sklearn/compose/tests/test_column_transformer.py::test_col...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/compose.rst", "old_path": "a/doc/modules/compose.rst", "new_path": "b/doc/modules/compose.rst", "metadata": "diff --git a/doc/modules/compose.rst b/doc/modules/compose.rst\nindex 6e827304c38cd..a9195ba9ab022 100644\n--- a/doc/modules/compose.rst\n+++ b/doc/modules/compose.rst\...
diff --git a/doc/modules/compose.rst b/doc/modules/compose.rst index 6e827304c38cd..a9195ba9ab022 100644 --- a/doc/modules/compose.rst +++ b/doc/modules/compose.rst @@ -527,6 +527,20 @@ above example would be:: ('countvectorizer', CountVectorizer(), ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19244
https://github.com/scikit-learn/scikit-learn/pull/19244
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 269a5d46e71b2..7202ab4e00476 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -214,7 +214,12 @@ Changelog - |Enhancement| :class:`compose.ColumnTransformer` now allows DataFrame input to have its columns appear in a changed order ...
diff --git a/sklearn/compose/tests/test_target.py b/sklearn/compose/tests/test_target.py index 5c57ce37af2aa..f0d63c00c2772 100644 --- a/sklearn/compose/tests/test_target.py +++ b/sklearn/compose/tests/test_target.py @@ -375,3 +375,24 @@ def test_transform_target_regressor_route_pipeline(): pip.fit(X, y, **{"est__...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 269a5d46e71b2..7202ab4e00476 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -21...
1.00
6ab86fb34baf7429e52cb184a3535d4fd99d02d7
[ "sklearn/compose/tests/test_target.py::test_transform_target_regressor_functions", "sklearn/compose/tests/test_target.py::test_transform_target_regressor_1d_transformer[X0-y0]", "sklearn/compose/tests/test_target.py::test_transform_target_regressor_2d_transformer[X1-y1]", "sklearn/compose/tests/test_target.py...
[ "sklearn/compose/tests/test_target.py::test_transform_target_regressor_pass_extra_predict_parameters" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 269a5d46e71b2..7202ab4e00476 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -21...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 269a5d46e71b2..7202ab4e00476 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -214,7 +214,12 @@ Changelog - |Enhancement| :class:`compose.ColumnTransformer` now allows DataFrame input to have its columns appear in a changed order ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21079
https://github.com/scikit-learn/scikit-learn/pull/21079
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 8de10a11ca351..fdaf50364671a 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -550,6 +550,12 @@ Changelog `fit` instead of `__init__`. :pr:`21434` by :user:`Krum Arnaudov <krumeto>`. +- |API| Adds :meth:`get_feature_names_out`...
diff --git a/sklearn/preprocessing/tests/test_data.py b/sklearn/preprocessing/tests/test_data.py index 3476e40dd9bbc..ee326aba1b3de 100644 --- a/sklearn/preprocessing/tests/test_data.py +++ b/sklearn/preprocessing/tests/test_data.py @@ -45,6 +45,7 @@ from sklearn.preprocessing import power_transform from sklearn.prep...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 8de10a11ca351..fdaf50364671a 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -55...
1.01
6440856fbb0e1c0a048316befbf6df4e0a5765c1
[ "sklearn/preprocessing/tests/test_data.py::test_quantile_transform_sparse_ignore_zeros", "sklearn/preprocessing/tests/test_data.py::test_quantile_transform_subsampling", "sklearn/preprocessing/tests/test_data.py::test_standard_scaler_near_constant_features[csr_matrix-float64-1e-10-100]", "sklearn/preprocessin...
[ "sklearn/preprocessing/tests/test_data.py::test_one_to_one_features_pandas[Normalizer]", "sklearn/preprocessing/tests/test_data.py::test_one_to_one_features_pandas[Binarizer]", "sklearn/preprocessing/tests/test_data.py::test_kernel_centerer_feature_names_out", "sklearn/preprocessing/tests/test_encoders.py::te...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 8de10a11ca351..fdaf50364671a 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -55...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 8de10a11ca351..fdaf50364671a 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -550,6 +550,12 @@ Changelog `fit` instead of `__init__`. :pr:`<PRID>` by :user:`<NAME>`. +- |API| Adds :meth:`get_feature_names_out` to + :class:`p...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17169
https://github.com/scikit-learn/scikit-learn/pull/17169
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index c658bc6b12452..d56914f874b42 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -560,6 +560,7 @@ From text feature_selection.chi2 feature_selection.f_classif feature_selection.f_regression + feature_selection.r_regress...
diff --git a/sklearn/feature_selection/tests/test_feature_select.py b/sklearn/feature_selection/tests/test_feature_select.py index 61f709094147e..852c8228b2a76 100644 --- a/sklearn/feature_selection/tests/test_feature_select.py +++ b/sklearn/feature_selection/tests/test_feature_select.py @@ -4,11 +4,12 @@ import itert...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex c658bc6b12452..d56914f874b42 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
1.00
579e7de7f38f9f514ff2b2be049e67b14e723d17
[]
[ "sklearn/feature_selection/tests/test_feature_select.py::test_r_regression[True]", "sklearn/feature_selection/tests/test_feature_select.py::test_select_fdr_regression[1-0.01]", "sklearn/feature_selection/tests/test_feature_select.py::test_select_fdr_regression[5-0.1]", "sklearn/feature_selection/tests/test_fe...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex c658bc6b12452..d56914f874b42 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index c658bc6b12452..d56914f874b42 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -560,6 +560,7 @@ From text feature_selection.chi2 feature_selection.f_classif feature_selection.f_regression + feature_selection.r_regress...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20380
https://github.com/scikit-learn/scikit-learn/pull/20380
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index ecb4b5972a669..ce252a502e28d 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -337,6 +337,11 @@ Changelog when the variance threshold is negative. :pr:`20207` by :user:`Tomohiro Endo <europeanplaice>` +- |Enhancement| :func:`f...
diff --git a/sklearn/feature_selection/tests/test_rfe.py b/sklearn/feature_selection/tests/test_rfe.py index 190672ea248d3..d2e9ab16aafc5 100644 --- a/sklearn/feature_selection/tests/test_rfe.py +++ b/sklearn/feature_selection/tests/test_rfe.py @@ -8,6 +8,7 @@ from numpy.testing import assert_array_almost_equal, asser...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex ecb4b5972a669..ce252a502e28d 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -33...
1.00
238451d55ed57c3d16bc42f6a74f5f0126a7c700
[ "sklearn/feature_selection/tests/test_rfe.py::test_rfe_wrapped_estimator[RFECV-4-importance_getter0]", "sklearn/feature_selection/tests/test_rfe.py::test_rfe_importance_getter_validation[RFE-auto-ValueError]", "sklearn/feature_selection/tests/test_rfe.py::test_rfe_importance_getter_validation[RFECV-<lambda>-Att...
[ "sklearn/feature_selection/tests/test_rfe.py::test_RFE_fit_score_params" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex ecb4b5972a669..ce252a502e28d 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -33...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index ecb4b5972a669..ce252a502e28d 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -337,6 +337,11 @@ Changelog when the variance threshold is negative. :pr:`<PRID>` by :user:`<NAME>` +- |Enhancement| :func:`feature_selection.RFE.fi...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20431
https://github.com/scikit-learn/scikit-learn/pull/20431
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 3b23360fe60c4..3bb2c6457d8ab 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -386,6 +386,13 @@ Changelog :mod:`sklearn.inspection` ......................... +- |Enhancement| Add `max_samples` parameter in + :func:`inspection._pe...
diff --git a/sklearn/inspection/tests/test_permutation_importance.py b/sklearn/inspection/tests/test_permutation_importance.py index 13386624363ed..46065cac4f560 100644 --- a/sklearn/inspection/tests/test_permutation_importance.py +++ b/sklearn/inspection/tests/test_permutation_importance.py @@ -31,7 +31,8 @@ @pyt...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 3b23360fe60c4..3bb2c6457d8ab 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -38...
1.00
81165cabad383db2ff7fd856e467041eea9b55dc
[ "sklearn/inspection/tests/test_permutation_importance.py::test_permutation_importance_no_weights_scoring_function", "sklearn/inspection/tests/test_permutation_importance.py::test_permutation_importance_large_memmaped_data[dataframe]", "sklearn/inspection/tests/test_permutation_importance.py::test_permutation_im...
[ "sklearn/inspection/tests/test_permutation_importance.py::test_permutation_importance_equivalence_array_dataframe[0.5-None]", "sklearn/inspection/tests/test_permutation_importance.py::test_permutation_importance_equivalence_array_dataframe[1.0-None]", "sklearn/inspection/tests/test_permutation_importance.py::te...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 3b23360fe60c4..3bb2c6457d8ab 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -38...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 3b23360fe60c4..3bb2c6457d8ab 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -386,6 +386,13 @@ Changelog :mod:`sklearn.inspection` ......................... +- |Enhancement| Add `max_samples` parameter in + :func:`inspection._pe...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19836
https://github.com/scikit-learn/scikit-learn/pull/19836
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index ece6ff15ac51b..b66c87815bae7 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -270,6 +270,10 @@ Changelog :class:`ensemble.StackingClassifier` and :class:`ensemble.StackingRegressor`. :pr:`19564` by `Thomas Fan`_. +- |Enhancem...
diff --git a/sklearn/ensemble/tests/test_forest.py b/sklearn/ensemble/tests/test_forest.py index 52615d037cf63..6c4aa905abe55 100644 --- a/sklearn/ensemble/tests/test_forest.py +++ b/sklearn/ensemble/tests/test_forest.py @@ -27,6 +27,8 @@ import joblib from numpy.testing import assert_allclose +from sklearn.dummy i...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex ece6ff15ac51b..b66c87815bae7 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -27...
1.00
a1a6b3a9602283792ec4091cdb990be1afab9163
[ "sklearn/ensemble/tests/test_forest.py::test_forest_classifier_oob[X2-y2-0.65-sparse_csr-RandomForestClassifier]", "sklearn/ensemble/tests/test_forest.py::test_random_trees_embedding_raise_error_oob[False]", "sklearn/ensemble/tests/test_forest.py::test_regressor_attributes[RandomForestRegressor]", "sklearn/en...
[ "sklearn/ensemble/tests/test_forest.py::test_poisson_y_positive_check" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex ece6ff15ac51b..b66c87815bae7 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -27...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index ece6ff15ac51b..b66c87815bae7 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -270,6 +270,10 @@ Changelog :class:`ensemble.StackingClassifier` and :class:`ensemble.StackingRegressor`. :pr:`<PRID>` by `<NAME>`_. +- |Enhancement...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19428
https://github.com/scikit-learn/scikit-learn/pull/19428
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 1338606e3a096..688c42fd1748d 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -411,6 +411,11 @@ Changelog :func:`~sklearn.inspection.permutation_importance`. :pr:`19411` by :user:`Simona Maggio <simonamaggio>`. +- |Enhancement...
diff --git a/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py b/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py index 25c543d94c3c0..4d33313c8c884 100644 --- a/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py +++ b/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 1338606e3a096..688c42fd1748d 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -41...
1.00
94edc00caba1bde6b793da4d0c53fd2d63fedf96
[ "sklearn/inspection/_plot/tests/test_plot_partial_dependence.py::test_plot_partial_dependence[20]", "sklearn/inspection/_plot/tests/test_plot_partial_dependence.py::test_plot_partial_dependence_error[data1-params1-target must be in \\\\[0, n_tasks\\\\]]", "sklearn/inspection/_plot/tests/test_plot_partial_depend...
[ "sklearn/inspection/_plot/tests/test_plot_partial_dependence.py::test_plot_partial_dependence_lines_kw[line_kw2-None-ice_lines_kw2-expected_colors2]", "sklearn/inspection/_plot/tests/test_plot_partial_dependence.py::test_plot_partial_dependence_lines_kw[None-pd_line_kw1-ice_lines_kw1-expected_colors1]", "sklear...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 1338606e3a096..688c42fd1748d 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -41...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 1338606e3a096..688c42fd1748d 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -411,6 +411,11 @@ Changelog :func:`~sklearn.inspection.permutation_importance`. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| Add kwargs to forma...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-10027
https://github.com/scikit-learn/scikit-learn/pull/10027
diff --git a/benchmarks/bench_online_ocsvm.py b/benchmarks/bench_online_ocsvm.py new file mode 100644 index 0000000000000..33262e8fcb690 --- /dev/null +++ b/benchmarks/bench_online_ocsvm.py @@ -0,0 +1,279 @@ +""" +===================================== +SGDOneClassSVM benchmark +===================================== +Th...
diff --git a/sklearn/linear_model/tests/test_sgd.py b/sklearn/linear_model/tests/test_sgd.py index aba043024fea3..f943592c02005 100644 --- a/sklearn/linear_model/tests/test_sgd.py +++ b/sklearn/linear_model/tests/test_sgd.py @@ -9,14 +9,16 @@ from sklearn.utils._testing import assert_array_equal from sklearn.utils._t...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex ceebfc337352a..45195dcedec64 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
1.00
81102146e35c81d7aab16d448f1c2b66d8a67ed9
[]
[ "sklearn/linear_model/tests/test_sgd.py::test_elasticnet_convergence[SGDRegressor]", "sklearn/linear_model/tests/test_sgd.py::test_multi_thread_multi_class_and_early_stopping", "sklearn/linear_model/tests/test_sgd.py::test_warm_start[optimal-SGDClassifier]", "sklearn/linear_model/tests/test_sgd.py::test_equal...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "benchmarks/bench_online_ocsvm.py" }, { "type": "file", "name": "examples/linea...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex ceebfc337352a..45195dcedec64 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index ceebfc337352a..45195dcedec64 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -762,6 +762,7 @@ Linear classifiers linear_model.RidgeClassifier linear_model.RidgeClassifierCV linear_model.SGDClassifier + linear_model....
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21330
https://github.com/scikit-learn/scikit-learn/pull/21330
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 542636b1642f7..208c950c6e43d 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -162,6 +162,15 @@ Changelog ndarray with `np.nan` when passed a `Float32` or `Float64` pandas extension array with `pd.NA`. :pr:`21278` by `Thomas Fan...
diff --git a/sklearn/tests/test_common.py b/sklearn/tests/test_common.py index a476ba7dc8da5..c3eade24be412 100644 --- a/sklearn/tests/test_common.py +++ b/sklearn/tests/test_common.py @@ -371,7 +371,6 @@ def test_pandas_column_name_consistency(estimator): "manifold", "neighbors", "neural_network", - ...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 542636b1642f7..208c950c6e43d 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -16...
1.01
8cfbc38ab8864b68f9a504f96857bb2e527c9bbb
[ "sklearn/tests/test_random_projection.py::test_johnson_lindenstrauss_min_dim", "sklearn/tests/test_random_projection.py::test_sparse_random_projection_transformer_invalid_density[0]", "sklearn/tests/test_random_projection.py::test_sparse_random_projection_transformer_invalid_density[1.1]", "sklearn/tests/test...
[ "sklearn/tests/test_random_projection.py::test_random_projection_feature_names_out[GaussianRandomProjection]", "sklearn/tests/test_random_projection.py::test_random_projection_feature_names_out[SparseRandomProjection]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 542636b1642f7..208c950c6e43d 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -16...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 542636b1642f7..208c950c6e43d 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -162,6 +162,15 @@ Changelog ndarray with `np.nan` when passed a `Float32` or `Float64` pandas extension array with `pd.NA`. :pr:`<PRID>` by `<NAME>`_....
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22218
https://github.com/scikit-learn/scikit-learn/pull/22218
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 39f8e405ebf7c..2b53301c40b99 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -617,6 +617,9 @@ Changelog left corner of the HTML representation to show how the elements are clickable. :pr:`21298` by `Thomas Fan`_. +- |Enhancem...
diff --git a/sklearn/cluster/tests/test_birch.py b/sklearn/cluster/tests/test_birch.py index 4e64524e2cb11..e0051704653ae 100644 --- a/sklearn/cluster/tests/test_birch.py +++ b/sklearn/cluster/tests/test_birch.py @@ -195,16 +195,14 @@ def test_birch_fit_attributes_deprecated(attribute): ( {"branch...
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 39f8e405ebf7c..2b53301c40b99 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -61...
1.01
39c341ad91b545c895ede9c6240a04659b82defb
[ "sklearn/linear_model/tests/test_coordinate_descent.py::test_linear_model_sample_weights_normalize_in_pipeline[False-True-Lasso-params0]", "sklearn/linear_model/tests/test_ridge.py::test_ridgecv_store_cv_values[neg_mean_squared_error]", "sklearn/linear_model/tests/test_ridge.py::test_solver_consistency[seed2-Tr...
[ "sklearn/ensemble/tests/test_gradient_boosting.py::test_gbdt_parameter_checks[GradientBoostingRegressor-X0-y0-params1-TypeError-learning_r]", "sklearn/linear_model/_glm/tests/test_glm.py::test_glm_scalar_argument[params10-TypeError-tol must be an instance of float, not str-GammaRegressor]", "sklearn/tree/tests/...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.1.rst", "old_path": "a/doc/whats_new/v1.1.rst", "new_path": "b/doc/whats_new/v1.1.rst", "metadata": "diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst\nindex 39f8e405ebf7c..2b53301c40b99 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -61...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 39f8e405ebf7c..2b53301c40b99 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -617,6 +617,9 @@ Changelog left corner of the HTML representation to show how the elements are clickable. :pr:`<PRID>` by `<NAME>`_. +- |Enhancement...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20155
https://github.com/scikit-learn/scikit-learn/pull/20155
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 7255fe82ff628..525f3439860ef 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -344,6 +344,10 @@ Changelog is now faster. This is especially noticeable on large sparse input. :pr:`19734` by :user:`Fred Robinson <frrad>`. +- |En...
diff --git a/sklearn/linear_model/tests/test_least_angle.py b/sklearn/linear_model/tests/test_least_angle.py index 4321c39b45e92..656b7e3fef718 100644 --- a/sklearn/linear_model/tests/test_least_angle.py +++ b/sklearn/linear_model/tests/test_least_angle.py @@ -14,7 +14,7 @@ from sklearn import linear_model, datasets ...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 7255fe82ff628..525f3439860ef 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -34...
1.00
eea26e7e81bc4120ed00d8bb39f58100747cecdc
[ "sklearn/linear_model/tests/test_least_angle.py::test_collinearity", "sklearn/linear_model/tests/test_least_angle.py::test_lars_cv", "sklearn/linear_model/tests/test_least_angle.py::test_lars_numeric_consistency[LassoLarsIC-False-args2]", "sklearn/linear_model/tests/test_least_angle.py::test_lasso_lars_copyX_...
[ "sklearn/linear_model/tests/test_least_angle.py::test_lars_dtype_match[float32-LassoLarsCV-True-args4]", "sklearn/linear_model/tests/test_least_angle.py::test_lars_dtype_match[float32-LassoLars-True-args1]", "sklearn/linear_model/tests/test_least_angle.py::test_lars_dtype_match[float32-Lars-True-args0]", "skl...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 7255fe82ff628..525f3439860ef 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -34...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 7255fe82ff628..525f3439860ef 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -344,6 +344,10 @@ Changelog is now faster. This is especially noticeable on large sparse input. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| `fi...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19415
https://github.com/scikit-learn/scikit-learn/pull/19415
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 65d555f978df0..c658bc6b12452 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -991,6 +991,7 @@ details. metrics.mean_poisson_deviance metrics.mean_gamma_deviance metrics.mean_tweedie_deviance + metrics.mean_pinball_l...
diff --git a/sklearn/ensemble/tests/test_gradient_boosting_loss_functions.py b/sklearn/ensemble/tests/test_gradient_boosting_loss_functions.py index d0300ddc371c7..4d7ea9bfe9bb3 100644 --- a/sklearn/ensemble/tests/test_gradient_boosting_loss_functions.py +++ b/sklearn/ensemble/tests/test_gradient_boosting_loss_function...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 65d555f978df0..c658bc6b12452 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
1.00
5403e9fdaee6d4982c887ce2ae9a62ccd3955fbb
[]
[ "sklearn/metrics/tests/test_common.py::test_classification_inf_nan_input[y_true0-y_score0-metric18]", "sklearn/metrics/tests/test_common.py::test_symmetric_metric[unnormalized_accuracy_score]", "sklearn/metrics/tests/test_common.py::test_single_sample_multioutput[macro_f2_score]", "sklearn/metrics/tests/test_...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 65d555f978df0..c658bc6b12452 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 65d555f978df0..c658bc6b12452 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -991,6 +991,7 @@ details. metrics.mean_poisson_deviance metrics.mean_gamma_deviance metrics.mean_tweedie_deviance + metrics.mean_pinball_l...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20231
https://github.com/scikit-learn/scikit-learn/pull/20231
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 9689cd8789a7a..4f952758691f7 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -405,6 +405,12 @@ Changelog :user:`Oliver Grisel <ogrisel>` and :user:`Christian Lorentzen <lorentzenchr>`. +- |Feature| Added new solver `lbfgs` (a...
diff --git a/sklearn/linear_model/tests/test_ridge.py b/sklearn/linear_model/tests/test_ridge.py index b933cf54964c9..bfc6722737bd8 100644 --- a/sklearn/linear_model/tests/test_ridge.py +++ b/sklearn/linear_model/tests/test_ridge.py @@ -29,6 +29,8 @@ from sklearn.linear_model import RidgeClassifierCV from sklearn.lin...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 9689cd8789a7a..4f952758691f7 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -40...
1.00
e4ef854d031854932b7165d55bfd04a400af6b85
[]
[ "sklearn/linear_model/tests/test_ridge.py::test_ridge_positive_regression_test[1.0-True-lbfgs]", "sklearn/linear_model/tests/test_ridge.py::test_ridge_gcv_vs_ridge_loo_cv[y_shape1-False-30.0-True-X_shape0-asarray-svd]", "sklearn/linear_model/tests/test_ridge.py::test_solver_consistency[seed2-False-20-float64-0....
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 9689cd8789a7a..4f952758691f7 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -40...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 9689cd8789a7a..4f952758691f7 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -405,6 +405,12 @@ Changelog :user:`<NAME>` and :user:`<NAME>`. +- |Feature| Added new solver `lbfgs` (available with `solver="lbfgs") + and `positi...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19643
https://github.com/scikit-learn/scikit-learn/pull/19643
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 3e36438dda095..06764d2be6003 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -165,6 +165,11 @@ Changelog class methods and will be removed in 1.2. :pr:`18543` by `Guillaume Lemaitre`_. +- |Enhancement| A fix to raise an error...
diff --git a/sklearn/metrics/tests/test_classification.py b/sklearn/metrics/tests/test_classification.py index c32e9c89ada47..7b634e88f2275 100644 --- a/sklearn/metrics/tests/test_classification.py +++ b/sklearn/metrics/tests/test_classification.py @@ -4,6 +4,7 @@ from itertools import chain from itertools import per...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 3e36438dda095..06764d2be6003 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -16...
1.00
42e90e9ba28fb37c2c9bd3e8aed1ac2387f1d5d5
[ "sklearn/metrics/tests/test_classification.py::test_classification_report_multiclass_balanced", "sklearn/metrics/tests/test_classification.py::test_fscore_warnings[1]", "sklearn/metrics/tests/test_classification.py::test_matthews_corrcoef_overflow[10000]", "sklearn/metrics/tests/test_classification.py::test_m...
[ "sklearn/metrics/tests/test_classification.py::test_hinge_loss_multiclass_no_consistent_pred_decision_shape" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 3e36438dda095..06764d2be6003 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -16...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 3e36438dda095..06764d2be6003 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -165,6 +165,11 @@ Changelog class methods and will be removed in 1.2. :pr:`<PRID>` by `<NAME>`_. +- |Enhancement| A fix to raise an error in :func:`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17036
https://github.com/scikit-learn/scikit-learn/pull/17036
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 3edd8adee8191..d56c7b5d8eafe 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -994,6 +994,7 @@ details. metrics.mean_poisson_deviance metrics.mean_gamma_deviance metrics.mean_tweedie_deviance + metrics.d2_tweedie_sco...
diff --git a/sklearn/metrics/tests/test_common.py b/sklearn/metrics/tests/test_common.py index 939371b01fc27..47e6bec38388f 100644 --- a/sklearn/metrics/tests/test_common.py +++ b/sklearn/metrics/tests/test_common.py @@ -29,6 +29,7 @@ from sklearn.metrics import cohen_kappa_score from sklearn.metrics import confusion...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 3edd8adee8191..d56c7b5d8eafe 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
1.00
03245ee3afe5ee9e2ff626e2290f02748d95e497
[]
[ "sklearn/metrics/tests/test_common.py::test_classification_inf_nan_input[y_true0-y_score0-metric18]", "sklearn/metrics/tests/test_common.py::test_symmetric_metric[unnormalized_accuracy_score]", "sklearn/metrics/tests/test_common.py::test_single_sample_multioutput[macro_f2_score]", "sklearn/metrics/tests/test_...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 3edd8adee8191..d56c7b5d8eafe 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 3edd8adee8191..d56c7b5d8eafe 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -994,6 +994,7 @@ details. metrics.mean_poisson_deviance metrics.mean_gamma_deviance metrics.mean_tweedie_deviance + metrics.d2_tweedie_sco...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18649
https://github.com/scikit-learn/scikit-learn/pull/18649
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index c658bc6b12452..d019af3cfb1ff 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1176,6 +1176,7 @@ Splitter Classes model_selection.ShuffleSplit model_selection.StratifiedKFold model_selection.StratifiedShuffleSplit + ...
diff --git a/sklearn/model_selection/tests/test_split.py b/sklearn/model_selection/tests/test_split.py index 80c19c7f2e08c..c66d8e1836ac9 100644 --- a/sklearn/model_selection/tests/test_split.py +++ b/sklearn/model_selection/tests/test_split.py @@ -35,6 +35,7 @@ from sklearn.model_selection import GridSearchCV from s...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex c658bc6b12452..d019af3cfb1ff 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
1.00
fe897c0ba0f00171333dcbdb483ca0d0346fed95
[]
[ "sklearn/model_selection/tests/test_split.py::test_train_test_split_mock_pandas", "sklearn/model_selection/tests/test_split.py::test_stratified_kfold_ratios[StratifiedGroupKFold-5-False]", "sklearn/model_selection/tests/test_split.py::test_yields_constant_splits[cv25-False]", "sklearn/model_selection/tests/te...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex c658bc6b12452..d019af3cfb1ff 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index c658bc6b12452..d019af3cfb1ff 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1176,6 +1176,7 @@ Splitter Classes model_selection.ShuffleSplit model_selection.StratifiedKFold model_selection.StratifiedShuffleSplit + ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18368
https://github.com/scikit-learn/scikit-learn/pull/18368
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 84f8097cbbe9d..65d555f978df0 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1414,6 +1414,7 @@ details. preprocessing.PowerTransformer preprocessing.QuantileTransformer preprocessing.RobustScaler + preprocessing.Sp...
diff --git a/sklearn/preprocessing/tests/test_data.py b/sklearn/preprocessing/tests/test_data.py index b0fbee8db9455..974dad31258eb 100644 --- a/sklearn/preprocessing/tests/test_data.py +++ b/sklearn/preprocessing/tests/test_data.py @@ -28,26 +28,27 @@ from sklearn.utils._testing import _convert_container from skle...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 84f8097cbbe9d..65d555f978df0 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
1.00
8c6a045e46abe94e43a971d4f8042728addfd6a7
[ "sklearn/preprocessing/tests/test_data.py::test_polynomial_features_csr_X_dim_edges[2-2-True]", "sklearn/preprocessing/tests/test_data.py::test_polynomial_features_csr_X_floats[3-False-False-float64]", "sklearn/preprocessing/tests/test_data.py::test_robust_scaler_equivalence_dense_sparse[positive-0]", "sklear...
[ "sklearn/preprocessing/tests/test_polynomial.py::test_spline_transformer_unity_decomposition[uniform-3-1]", "sklearn/utils/tests/test_fixes.py::test_object_dtype_isnan[object-1]", "sklearn/preprocessing/tests/test_polynomial.py::test_spline_transformer_input_validation[params12-knots must be sorted without dupl...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "sklearn/preprocessing/_polynomial.py" } ] }
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 84f8097cbbe9d..65d555f978df0 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 84f8097cbbe9d..65d555f978df0 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1414,6 +1414,7 @@ details. preprocessing.PowerTransformer preprocessing.QuantileTransformer preprocessing.RobustScaler + preprocessing.Sp...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19069
https://github.com/scikit-learn/scikit-learn/pull/19069
diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index e1b4c5599c3b5..b87971ec4ae5a 100644 --- a/doc/modules/preprocessing.rst +++ b/doc/modules/preprocessing.rst @@ -482,6 +482,17 @@ scikit-learn estimators, as these expect continuous input, and would interpret the categories as being ordere...
diff --git a/sklearn/preprocessing/tests/test_encoders.py b/sklearn/preprocessing/tests/test_encoders.py index fd28d8c40b46c..b1eff0cad21e0 100644 --- a/sklearn/preprocessing/tests/test_encoders.py +++ b/sklearn/preprocessing/tests/test_encoders.py @@ -574,24 +574,6 @@ def test_ordinal_encoder_inverse(): enc.i...
[ { "path": "doc/modules/preprocessing.rst", "old_path": "a/doc/modules/preprocessing.rst", "new_path": "b/doc/modules/preprocessing.rst", "metadata": "diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst\nindex e1b4c5599c3b5..b87971ec4ae5a 100644\n--- a/doc/modules/preprocessing...
1.00
5c246225ddf130f1eee398e889e4c2a19b5f1791
[ "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_feature_names_unicode", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder[mixed-float-nan]", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_inverse_if_binary", "sklearn/preprocessing/tests/test_encoders....
[ "sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_missing_value_support_pandas_categorical[np.nan]", "sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_specified_categories_missing_passthrough[object-None-missing-value]", "sklearn/preprocessing/tests/test_encoders.py::test_ord...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/preprocessing.rst", "old_path": "a/doc/modules/preprocessing.rst", "new_path": "b/doc/modules/preprocessing.rst", "metadata": "diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst\nindex e1b4c5599c3b5..b87971ec4ae5a 100644\n--- a/doc/modules/preprocessing...
diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index e1b4c5599c3b5..b87971ec4ae5a 100644 --- a/doc/modules/preprocessing.rst +++ b/doc/modules/preprocessing.rst @@ -482,6 +482,17 @@ scikit-learn estimators, as these expect continuous input, and would interpret the categories as being ordere...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19041
https://github.com/scikit-learn/scikit-learn/pull/19041
diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index b87971ec4ae5a..cdde7479b1a4f 100644 --- a/doc/modules/preprocessing.rst +++ b/doc/modules/preprocessing.rst @@ -560,9 +560,7 @@ parameter allows the user to specify a category for each feature to be dropped. This is useful to avoid co-lin...
diff --git a/sklearn/preprocessing/tests/test_encoders.py b/sklearn/preprocessing/tests/test_encoders.py index b1eff0cad21e0..eb776c4c25267 100644 --- a/sklearn/preprocessing/tests/test_encoders.py +++ b/sklearn/preprocessing/tests/test_encoders.py @@ -775,8 +775,6 @@ def test_one_hot_encoder_drop_manual(missing_value)...
[ { "path": "doc/modules/preprocessing.rst", "old_path": "a/doc/modules/preprocessing.rst", "new_path": "b/doc/modules/preprocessing.rst", "metadata": "diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst\nindex b87971ec4ae5a..cdde7479b1a4f 100644\n--- a/doc/modules/preprocessing...
1.00
57d3668f2a1fea69dafc2e68208576a56812cd45
[ "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_feature_names_unicode", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder[mixed-float-nan]", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_inverse_if_binary", "sklearn/preprocessing/tests/test_encoders....
[ "sklearn/preprocessing/tests/test_encoders.py::test_ohe_drop_if_binary_handle_unknown_ignore_warns", "sklearn/preprocessing/tests/test_encoders.py::test_ohe_drop_first_explicit_categories", "sklearn/preprocessing/tests/test_encoders.py::test_ohe_drop_first_handle_unknown_ignore_warns" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/preprocessing.rst", "old_path": "a/doc/modules/preprocessing.rst", "new_path": "b/doc/modules/preprocessing.rst", "metadata": "diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst\nindex b87971ec4ae5a..cdde7479b1a4f 100644\n--- a/doc/modules/preprocessing...
diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index b87971ec4ae5a..cdde7479b1a4f 100644 --- a/doc/modules/preprocessing.rst +++ b/doc/modules/preprocessing.rst @@ -560,9 +560,7 @@ parameter allows the user to specify a category for each feature to be dropped. This is useful to avoid co-lin...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18959
https://github.com/scikit-learn/scikit-learn/pull/18959
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 0372dcdd1fd4e..f056f3a9be2d3 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -44,6 +44,13 @@ Changelog :pr:`123456` by :user:`Joe Bloggs <joeongithub>`. where 123456 is the *pull request* number, not the issue number. +:m...
diff --git a/sklearn/tree/tests/test_export.py b/sklearn/tree/tests/test_export.py index a1b04e171e59a..6a7bf33b2143f 100644 --- a/sklearn/tree/tests/test_export.py +++ b/sklearn/tree/tests/test_export.py @@ -33,7 +33,8 @@ def test_graphviz_toy(): # Test export code contents1 = export_graphviz(clf, out_file=N...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 0372dcdd1fd4e..f056f3a9be2d3 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -44...
1.00
6b4f82433dc2f219dbff7fe8fa42c10b72379be6
[ "sklearn/tree/tests/test_export.py::test_export_text", "sklearn/tree/tests/test_export.py::test_not_fitted_tree", "sklearn/tree/tests/test_export.py::test_friedman_mse_in_graphviz", "sklearn/tree/tests/test_export.py::test_precision", "sklearn/tree/tests/test_export.py::test_plot_tree_rotate_deprecation", ...
[ "sklearn/tree/tests/test_export.py::test_graphviz_toy" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 0372dcdd1fd4e..f056f3a9be2d3 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -44...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 0372dcdd1fd4e..f056f3a9be2d3 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -44,6 +44,13 @@ Changelog :pr:`<PRID>` by :user:`<NAME>`. where <PRID> is the *pull request* number, not the issue number. +:mod:`sklearn.tree` ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20250
https://github.com/scikit-learn/scikit-learn/pull/20250
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index e4bff3c124dc5..536e61985a50c 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -540,6 +540,10 @@ Changelog :class:`preprocessing.KBinsDiscretizer` from ``auto`` to ``full``. :pr:`19934` by :user:`Gleb Levitskiy <GLevV>`. +- |Fe...
diff --git a/sklearn/preprocessing/tests/test_polynomial.py b/sklearn/preprocessing/tests/test_polynomial.py index 746a1caacc718..97fc539d3e419 100644 --- a/sklearn/preprocessing/tests/test_polynomial.py +++ b/sklearn/preprocessing/tests/test_polynomial.py @@ -32,9 +32,9 @@ def is_c_contiguous(a): @pytest.mark.paramet...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex e4bff3c124dc5..536e61985a50c 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -54...
1.00
7b715111bff01e836fcd3413851381c6a1057ca4
[ "sklearn/preprocessing/tests/test_polynomial.py::test_spline_transformer_periodic_splines_smoothness[5]", "sklearn/preprocessing/tests/test_polynomial.py::test_polynomial_features_csr_X[1-True-False-int]", "sklearn/preprocessing/tests/test_polynomial.py::test_polynomial_features_csr_X_dim_edges[3-2-False]", "...
[ "sklearn/preprocessing/tests/test_polynomial.py::test_num_combinations[True-True-0-4-1]", "sklearn/preprocessing/tests/test_polynomial.py::test_polynomial_features_two_features[False-degree17-False-False-indices17]", "sklearn/preprocessing/tests/test_polynomial.py::test_polynomial_features_two_features[csc_matr...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex e4bff3c124dc5..536e61985a50c 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -54...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index e4bff3c124dc5..536e61985a50c 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -540,6 +540,10 @@ Changelog :class:`preprocessing.KBinsDiscretizer` from ``auto`` to ``full``. :pr:`<PRID>` by :user:`<NAME>`. +- |Feature| :class:`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-12069
https://github.com/scikit-learn/scikit-learn/pull/12069
diff --git a/benchmarks/bench_kernel_pca_solvers_time_vs_n_components.py b/benchmarks/bench_kernel_pca_solvers_time_vs_n_components.py new file mode 100644 index 0000000000000..d871967ad1327 --- /dev/null +++ b/benchmarks/bench_kernel_pca_solvers_time_vs_n_components.py @@ -0,0 +1,148 @@ +""" +=========================...
diff --git a/sklearn/decomposition/tests/test_kernel_pca.py b/sklearn/decomposition/tests/test_kernel_pca.py index adf68f1db1a6c..5c8d052a7aa14 100644 --- a/sklearn/decomposition/tests/test_kernel_pca.py +++ b/sklearn/decomposition/tests/test_kernel_pca.py @@ -3,11 +3,13 @@ import pytest from sklearn.utils._testing...
[ { "path": "doc/modules/decomposition.rst", "old_path": "a/doc/modules/decomposition.rst", "new_path": "b/doc/modules/decomposition.rst", "metadata": "diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst\nindex e971d784c63d6..fd51f60d8bfc6 100644\n--- a/doc/modules/decomposition...
1.00
2641baf16d9de5191316745ec46120cc8b57a666
[ "sklearn/decomposition/tests/test_kernel_pca.py::test_kernel_pca_deterministic_output", "sklearn/decomposition/tests/test_kernel_pca.py::test_kernel_pca_inverse_transform_reconstruction", "sklearn/decomposition/tests/test_kernel_pca.py::test_kernel_pca_linear_kernel[4-auto]", "sklearn/decomposition/tests/test...
[ "sklearn/utils/tests/test_extmath.py::test_randomized_svd_sign_flip_with_transpose", "sklearn/utils/tests/test_extmath.py::test_incremental_weighted_mean_and_variance[10000000.0-1-1e-08-0]", "sklearn/utils/tests/test_extmath.py::test_uniform_weights", "sklearn/utils/tests/test_extmath.py::test_randomized_eigs...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "benchmarks/bench_kernel_pca_solvers_time_vs_n_samples.py" }, { "type": "file", ...
[ { "path": "doc/modules/decomposition.rst", "old_path": "a/doc/modules/decomposition.rst", "new_path": "b/doc/modules/decomposition.rst", "metadata": "diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst\nindex e971d784c63d6..fd51f60d8bfc6 100644\n--- a/doc/modules/decomposition...
diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst index e971d784c63d6..fd51f60d8bfc6 100644 --- a/doc/modules/decomposition.rst +++ b/doc/modules/decomposition.rst @@ -166,32 +166,16 @@ Note: the implementation of ``inverse_transform`` in :class:`PCA` with .. topic:: References: - * `"F...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19948
https://github.com/scikit-learn/scikit-learn/pull/19948
diff --git a/doc/glossary.rst b/doc/glossary.rst index ba924387bc5eb..21d0c947f3e64 100644 --- a/doc/glossary.rst +++ b/doc/glossary.rst @@ -923,7 +923,7 @@ Class APIs and Estimator Types possible to identify which methods are provided by the underlying estimator until the meta-estimator has been :ter...
diff --git a/sklearn/utils/tests/test_metaestimators.py b/sklearn/utils/tests/test_metaestimators.py index e6c1ca592e94f..35a459e949e29 100644 --- a/sklearn/utils/tests/test_metaestimators.py +++ b/sklearn/utils/tests/test_metaestimators.py @@ -1,4 +1,5 @@ from sklearn.utils.metaestimators import if_delegate_has_metho...
[ { "path": "doc/glossary.rst", "old_path": "a/doc/glossary.rst", "new_path": "b/doc/glossary.rst", "metadata": "diff --git a/doc/glossary.rst b/doc/glossary.rst\nindex ba924387bc5eb..21d0c947f3e64 100644\n--- a/doc/glossary.rst\n+++ b/doc/glossary.rst\n@@ -923,7 +923,7 @@ Class APIs and Estimator Typ...
1.00
c79bed337c6eeea3b181d1e2054308197090b036
[]
[ "sklearn/utils/tests/test_metaestimators.py::test_available_if", "sklearn/utils/tests/test_metaestimators.py::test_if_delegate_has_method", "sklearn/utils/tests/test_metaestimators.py::test_delegated_docstring", "sklearn/utils/tests/test_metaestimators.py::test_available_if_docstring" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/glossary.rst", "old_path": "a/doc/glossary.rst", "new_path": "b/doc/glossary.rst", "metadata": "diff --git a/doc/glossary.rst b/doc/glossary.rst\nindex ba924387bc5eb..21d0c947f3e64 100644\n--- a/doc/glossary.rst\n+++ b/doc/glossary.rst\n@@ -923,7 +923,7 @@ Class APIs and Estimator Typ...
diff --git a/doc/glossary.rst b/doc/glossary.rst index ba924387bc5eb..21d0c947f3e64 100644 --- a/doc/glossary.rst +++ b/doc/glossary.rst @@ -923,7 +923,7 @@ Class APIs and Estimator Types possible to identify which methods are provided by the underlying estimator until the meta-estimator has been :ter...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19004
https://github.com/scikit-learn/scikit-learn/pull/19004
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 0372dcdd1fd4e..ecdb38440bf0b 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -62,6 +62,9 @@ Changelog - |Fix| :meth:`ElasticNet.fit` no longer modifies `sample_weight` in place. :pr:`19055` by `Thomas Fan`_. +- |Enhancement| Va...
diff --git a/sklearn/linear_model/tests/test_coordinate_descent.py b/sklearn/linear_model/tests/test_coordinate_descent.py index f0095b235ac2b..232a59e846ff7 100644 --- a/sklearn/linear_model/tests/test_coordinate_descent.py +++ b/sklearn/linear_model/tests/test_coordinate_descent.py @@ -743,6 +743,45 @@ def test_preco...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 0372dcdd1fd4e..ecdb38440bf0b 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -62...
1.00
6b4f82433dc2f219dbff7fe8fa42c10b72379be6
[ "sklearn/linear_model/tests/test_coordinate_descent.py::test_enet_positive_constraint", "sklearn/linear_model/tests/test_coordinate_descent.py::test_lasso_zero", "sklearn/linear_model/tests/test_coordinate_descent.py::test_multitask_enet_and_lasso_cv", "sklearn/linear_model/tests/test_coordinate_descent.py::t...
[ "sklearn/linear_model/tests/test_coordinate_descent.py::test_elasticnet_precompute_incorrect_gram" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "examples/linear_model/plot_elastic_net_precomputed_gram_matrix_with_weighted_samples.py" } ]...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 0372dcdd1fd4e..ecdb38440bf0b 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -62...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 0372dcdd1fd4e..ecdb38440bf0b 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -62,6 +62,9 @@ Changelog - |Fix| :meth:`ElasticNet.fit` no longer modifies `sample_weight` in place. :pr:`<PRID>` by `<NAME>`_. +- |Enhancement| Valid...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20297
https://github.com/scikit-learn/scikit-learn/pull/20297
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index ecb4b5972a669..f3885f852591a 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -231,6 +231,13 @@ Changelog installing on Windows and its default 260 character limit on file names. :pr:`20209` by `Thomas Fan`_. +- |Enhancement| ...
diff --git a/sklearn/datasets/tests/data/__init__.py b/sklearn/datasets/tests/data/__init__.py new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/sklearn/datasets/tests/data/openml/__init__.py b/sklearn/datasets/tests/data/openml/__init__.py new file mode 100644 index 0000000000000..e69de29bb2d1d diff...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex ecb4b5972a669..f3885f852591a 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -23...
1.00
238451d55ed57c3d16bc42f6a74f5f0126a7c700
[ "sklearn/datasets/tests/test_openml.py::test_fetch_openml_cpu[False]", "sklearn/datasets/tests/test_openml.py::test_open_openml_url_unlinks_local_path[False-True]", "sklearn/datasets/tests/test_openml.py::test_fetch_openml_with_ignored_feature[False]", "sklearn/datasets/tests/test_svmlight_format.py::test_loa...
[ "sklearn/datasets/tests/test_base.py::test_toy_dataset_frame_dtype[load_breast_cancer-float64-int]", "sklearn/datasets/tests/test_base.py::test_loader[load_breast_cancer-data_shape0-target_shape0-2-True-filenames0]", "sklearn/datasets/tests/test_base.py::test_loads_dumps_bunch", "sklearn/datasets/tests/test_b...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "sklearn/datasets/data/__init__.py" }, { "type": "file", "name": "sklearn/datas...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex ecb4b5972a669..f3885f852591a 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -23...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index ecb4b5972a669..f3885f852591a 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -231,6 +231,13 @@ Changelog installing on Windows and its default 260 character limit on file names. :pr:`<PRID>` by `<NAME>`_. +- |Enhancement| Rep...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17856
https://github.com/scikit-learn/scikit-learn/pull/17856
diff --git a/doc/modules/calibration.rst b/doc/modules/calibration.rst index cb157a9d78c93..146601d70765e 100644 --- a/doc/modules/calibration.rst +++ b/doc/modules/calibration.rst @@ -96,9 +96,9 @@ in [0, 1]. Denoting the output of the classifier for a given sample by :math:`f_ the calibrator tries to predict :math:`...
diff --git a/sklearn/tests/test_calibration.py b/sklearn/tests/test_calibration.py index f4e6f6d62d938..3d2931d0c65f9 100644 --- a/sklearn/tests/test_calibration.py +++ b/sklearn/tests/test_calibration.py @@ -13,27 +13,38 @@ assert_almost_equal, ...
[ { "path": "doc/modules/calibration.rst", "old_path": "a/doc/modules/calibration.rst", "new_path": "b/doc/modules/calibration.rst", "metadata": "diff --git a/doc/modules/calibration.rst b/doc/modules/calibration.rst\nindex cb157a9d78c93..146601d70765e 100644\n--- a/doc/modules/calibration.rst\n+++ b/...
0.24
8d10285ffc2d64eb6f2107dc248bdbbc41ad1b50
[ "sklearn/tests/test_calibration.py::test_calibration_attributes[clf0-2]", "sklearn/tests/test_calibration.py::test_sigmoid_calibration", "sklearn/tests/test_calibration.py::test_calibration_accepts_ndarray[X0]", "sklearn/tests/test_calibration.py::test_calibration_attributes[clf1-prefit]", "sklearn/tests/te...
[ "sklearn/tests/test_calibration.py::test_calibration[True-isotonic]", "sklearn/tests/test_calibration.py::test_parallel_execution[False-isotonic]", "sklearn/tests/test_calibration.py::test_calibration_ensemble_false[isotonic]", "sklearn/tests/test_calibration.py::test_calibration_nan_imputer[False]", "sklea...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/calibration.rst", "old_path": "a/doc/modules/calibration.rst", "new_path": "b/doc/modules/calibration.rst", "metadata": "diff --git a/doc/modules/calibration.rst b/doc/modules/calibration.rst\nindex cb157a9d78c93..146601d70765e 100644\n--- a/doc/modules/calibration.rst\n+++ b/...
diff --git a/doc/modules/calibration.rst b/doc/modules/calibration.rst index cb157a9d78c93..146601d70765e 100644 --- a/doc/modules/calibration.rst +++ b/doc/modules/calibration.rst @@ -96,9 +96,9 @@ in [0, 1]. Denoting the output of the classifier for a given sample by :math:`f_ the calibrator tries to predict :math:`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17984
https://github.com/scikit-learn/scikit-learn/pull/17984
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 03ba05d08e2c8..c33f896071d15 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -70,9 +70,20 @@ Changelog `init_size_`, are deprecated and will be removed in 0.26. :pr:`17864` by :user:`Jérémie du Boisberranger <jeremiedbb>`. ...
diff --git a/sklearn/cluster/tests/test_hierarchical.py b/sklearn/cluster/tests/test_hierarchical.py index 9e7796c219a83..26f30dcd87847 100644 --- a/sklearn/cluster/tests/test_hierarchical.py +++ b/sklearn/cluster/tests/test_hierarchical.py @@ -143,6 +143,37 @@ def test_zero_cosine_linkage_tree(): assert_raise_mes...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 03ba05d08e2c8..c33f896071d15 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
3cb3d4109e7acc497ad1e306013547e5f72ee5f4
[ "sklearn/cluster/tests/test_hierarchical.py::test_vector_scikit_single_vs_scipy_single[1]", "sklearn/cluster/tests/test_hierarchical.py::test_agglomerative_clustering_with_distance_threshold_edge_case[1.5-y_true2-average]", "sklearn/cluster/tests/test_hierarchical.py::test_invalid_shape_precomputed_dist_matrix"...
[ "sklearn/cluster/tests/test_hierarchical.py::test_agglomerative_clustering_distances[complete-False-10-None]", "sklearn/cluster/tests/test_hierarchical.py::test_agglomerative_clustering_distances[average-False-10-None]", "sklearn/cluster/tests/test_hierarchical.py::test_agglomerative_clustering_distances[single...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 03ba05d08e2c8..c33f896071d15 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 03ba05d08e2c8..c33f896071d15 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -70,9 +70,20 @@ Changelog `init_size_`, are deprecated and will be removed in 0.26. :pr:`<PRID>` by :user:`<NAME>`. +- |Fix| :class:`cluster.Agg...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18052
https://github.com/scikit-learn/scikit-learn/pull/18052
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 8843a7bc1ca19..2682902a20983 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -72,6 +72,11 @@ Changelog :user:`Emilie Delattre <EmilieDel>`, and :user:`Francesco Casalegno <FrancescoCasalegno>`. +- |Enhancement| :class:`cl...
diff --git a/sklearn/cluster/tests/test_spectral.py b/sklearn/cluster/tests/test_spectral.py index 1df7dcf103532..42e285d70a66f 100644 --- a/sklearn/cluster/tests/test_spectral.py +++ b/sklearn/cluster/tests/test_spectral.py @@ -1,4 +1,5 @@ """Testing for Spectral Clustering methods""" +import re import numpy as np...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 8843a7bc1ca19..2682902a20983 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
61ce18fcb748ec76082ec1a83dc026d64f842a51
[ "sklearn/cluster/tests/test_spectral.py::test_n_components", "sklearn/cluster/tests/test_spectral.py::test_discretize[100]", "sklearn/cluster/tests/test_spectral.py::test_discretize[150]", "sklearn/cluster/tests/test_spectral.py::test_spectral_clustering_with_arpack_amg_solvers", "sklearn/cluster/tests/test...
[ "sklearn/cluster/tests/test_spectral.py::test_verbose[discretize]", "sklearn/cluster/tests/test_spectral.py::test_verbose[kmeans]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 8843a7bc1ca19..2682902a20983 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 8843a7bc1ca19..2682902a20983 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -72,6 +72,11 @@ Changelog :user:`<NAME>`, and :user:`<NAME>`. +- |Enhancement| :class:`cluster.SpectralClustering` and + :func:`cluster.spectra...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17396
https://github.com/scikit-learn/scikit-learn/pull/17396
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 927812d9fd6dd..ea27d7579ae4d 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -44,6 +44,14 @@ Changelog :pr:`123456` by :user:`Joe Bloggs <joeongithub>`. where 123456 is the *pull request* number, not the issue number. ...
diff --git a/sklearn/datasets/tests/test_openml.py b/sklearn/datasets/tests/test_openml.py index 44fe392e42e74..950c208444b7d 100644 --- a/sklearn/datasets/tests/test_openml.py +++ b/sklearn/datasets/tests/test_openml.py @@ -489,6 +489,20 @@ def test_fetch_openml_australian_pandas_error_sparse(monkeypatch): fe...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 927812d9fd6dd..ea27d7579ae4d 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
3fb9e758a57455fc16847cc8d9452147f25d43a0
[ "sklearn/datasets/tests/test_openml.py::test_fetch_openml_cpu[False]", "sklearn/datasets/tests/test_openml.py::test_open_openml_url_unlinks_local_path[False-True]", "sklearn/datasets/tests/test_openml.py::test_fetch_openml_with_ignored_feature[False]", "sklearn/datasets/tests/test_openml.py::test_warn_ignore_...
[ "sklearn/datasets/tests/test_openml.py::test_fetch_openml_as_frame_auto" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 927812d9fd6dd..ea27d7579ae4d 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 927812d9fd6dd..ea27d7579ae4d 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -44,6 +44,14 @@ Changelog :pr:`<PRID>` by :user:`<NAME>`. where <PRID> is the *pull request* number, not the issue number. +:mod:`sklearn.da...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17937
https://github.com/scikit-learn/scikit-learn/pull/17937
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 6dbab18d94a0c..b58821710a125 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -124,6 +124,7 @@ Functions cluster.dbscan cluster.estimate_bandwidth cluster.k_means + cluster.kmeans_plusplus cluster.mean_shift ...
diff --git a/sklearn/cluster/tests/test_k_means.py b/sklearn/cluster/tests/test_k_means.py index 2110c08f09974..06a682eec17c7 100644 --- a/sklearn/cluster/tests/test_k_means.py +++ b/sklearn/cluster/tests/test_k_means.py @@ -20,7 +20,7 @@ from sklearn.metrics import pairwise_distances from sklearn.metrics import pair...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 6dbab18d94a0c..b58821710a125 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
0.24
74f18faffa90c143f42feeb48c524cff3a0e8270
[]
[ "sklearn/cluster/tests/test_k_means.py::test_predict[KMeans-full-random-float64-dense]", "sklearn/cluster/tests/test_k_means.py::test_float_precision[KMeans-sparse]", "sklearn/cluster/tests/test_k_means.py::test_centers_not_mutated[KMeans-float32]", "sklearn/cluster/tests/test_k_means.py::test_warning_n_init_...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "examples/cluster/plot_kmeans_plusplus.py" } ] }
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 6dbab18d94a0c..b58821710a125 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 6dbab18d94a0c..b58821710a125 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -124,6 +124,7 @@ Functions cluster.dbscan cluster.estimate_bandwidth cluster.k_means + cluster.kmeans_plusplus cluster.mean_shift ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18280
https://github.com/scikit-learn/scikit-learn/pull/18280
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index c6ef6e5994cdf..9294bab242432 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -112,7 +112,15 @@ Changelog - |Enhancement| :func:`datasets.fetch_covtype` now now supports the optional argument `as_frame`; when it is set to True...
diff --git a/sklearn/datasets/tests/test_kddcup99.py b/sklearn/datasets/tests/test_kddcup99.py index 414c1bab1acd5..11adaacfaae20 100644 --- a/sklearn/datasets/tests/test_kddcup99.py +++ b/sklearn/datasets/tests/test_kddcup99.py @@ -6,41 +6,56 @@ is too big to use in unit-testing. """ -from sklearn.datasets.tests.t...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex c6ef6e5994cdf..9294bab242432 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
138dd7b88f1634447f838bc58088e594ffaf5549
[]
[ "sklearn/datasets/tests/test_kddcup99.py::test_pandas_dependency_message" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex c6ef6e5994cdf..9294bab242432 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index c6ef6e5994cdf..9294bab242432 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -112,7 +112,15 @@ Changelog - |Enhancement| :func:`datasets.fetch_covtype` now now supports the optional argument `as_frame`; when it is set to True...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-11064
https://github.com/scikit-learn/scikit-learn/pull/11064
diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst index f6296e25250db..6d441004f8ae6 100644 --- a/doc/modules/decomposition.rst +++ b/doc/modules/decomposition.rst @@ -622,11 +622,18 @@ of heteroscedastic noise: :align: center :scale: 75% +Factor Analysis is often followed by a rota...
diff --git a/sklearn/decomposition/tests/test_factor_analysis.py b/sklearn/decomposition/tests/test_factor_analysis.py index 128c1d04fb405..f889e49ea4a3a 100644 --- a/sklearn/decomposition/tests/test_factor_analysis.py +++ b/sklearn/decomposition/tests/test_factor_analysis.py @@ -2,15 +2,19 @@ # Alexandre Gram...
[ { "path": "doc/modules/decomposition.rst", "old_path": "a/doc/modules/decomposition.rst", "new_path": "b/doc/modules/decomposition.rst", "metadata": "diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst\nindex f6296e25250db..6d441004f8ae6 100644\n--- a/doc/modules/decomposition...
0.24
52cd1104ee7c5de25e5e16e100c0d74bda8e92c1
[]
[ "sklearn/decomposition/tests/test_factor_analysis.py::test_factor_analysis" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "examples/decomposition/plot_varimax_fa.py" } ] }
[ { "path": "doc/modules/decomposition.rst", "old_path": "a/doc/modules/decomposition.rst", "new_path": "b/doc/modules/decomposition.rst", "metadata": "diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst\nindex f6296e25250db..6d441004f8ae6 100644\n--- a/doc/modules/decomposition...
diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst index f6296e25250db..6d441004f8ae6 100644 --- a/doc/modules/decomposition.rst +++ b/doc/modules/decomposition.rst @@ -622,11 +622,18 @@ of heteroscedastic noise: :align: center :scale: 75% +Factor Analysis is often followed by a rota...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-14446
https://github.com/scikit-learn/scikit-learn/pull/14446
diff --git a/doc/modules/lda_qda.rst b/doc/modules/lda_qda.rst index c3ac94dedefa9..e8f25d2c66930 100644 --- a/doc/modules/lda_qda.rst +++ b/doc/modules/lda_qda.rst @@ -163,8 +163,8 @@ transformed class means :math:`\mu^*_k`). This :math:`L` corresponds to the :func:`~discriminant_analysis.LinearDiscriminantAnalysis.t...
diff --git a/sklearn/tests/test_discriminant_analysis.py b/sklearn/tests/test_discriminant_analysis.py index fec9df61f79a0..18364ce156f87 100644 --- a/sklearn/tests/test_discriminant_analysis.py +++ b/sklearn/tests/test_discriminant_analysis.py @@ -18,7 +18,13 @@ from sklearn.discriminant_analysis import LinearDiscrim...
[ { "path": "doc/modules/lda_qda.rst", "old_path": "a/doc/modules/lda_qda.rst", "new_path": "b/doc/modules/lda_qda.rst", "metadata": "diff --git a/doc/modules/lda_qda.rst b/doc/modules/lda_qda.rst\nindex c3ac94dedefa9..e8f25d2c66930 100644\n--- a/doc/modules/lda_qda.rst\n+++ b/doc/modules/lda_qda.rst\...
0.24
ab3dc9fdf31f35854b390168ac68fb304951305f
[ "sklearn/tests/test_discriminant_analysis.py::test_lda_orthogonality", "sklearn/tests/test_discriminant_analysis.py::test_raises_value_error_on_same_number_of_classes_and_samples[svd, lsqr]", "sklearn/tests/test_discriminant_analysis.py::test_lda_dimension_warning[3-5]", "sklearn/tests/test_discriminant_analy...
[ "sklearn/tests/test_discriminant_analysis.py::test_lda_shrinkage[7]", "sklearn/tests/test_discriminant_analysis.py::test_lda_predict", "sklearn/tests/test_discriminant_analysis.py::test_lda_shrinkage[1]", "sklearn/tests/test_discriminant_analysis.py::test_lda_ledoitwolf", "sklearn/tests/test_discriminant_an...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "error_msg", "name": "shrinkage must be a float or a string" } ] }
[ { "path": "doc/modules/lda_qda.rst", "old_path": "a/doc/modules/lda_qda.rst", "new_path": "b/doc/modules/lda_qda.rst", "metadata": "diff --git a/doc/modules/lda_qda.rst b/doc/modules/lda_qda.rst\nindex c3ac94dedefa9..e8f25d2c66930 100644\n--- a/doc/modules/lda_qda.rst\n+++ b/doc/modules/lda_qda.rst\...
diff --git a/doc/modules/lda_qda.rst b/doc/modules/lda_qda.rst index c3ac94dedefa9..e8f25d2c66930 100644 --- a/doc/modules/lda_qda.rst +++ b/doc/modules/lda_qda.rst @@ -163,8 +163,8 @@ transformed class means :math:`\mu^*_k`). This :math:`L` corresponds to the :func:`~discriminant_analysis.LinearDiscriminantAnalysis.t...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17414
https://github.com/scikit-learn/scikit-learn/pull/17414
diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst index 6d441004f8ae6..7e8e79d9d8bdd 100644 --- a/doc/modules/decomposition.rst +++ b/doc/modules/decomposition.rst @@ -759,9 +759,9 @@ and the regularized objective function is: + \frac{\alpha(1-\rho)}{2} ||W||_{\mathrm{Fro}} ^ 2 + \fra...
diff --git a/sklearn/decomposition/tests/test_nmf.py b/sklearn/decomposition/tests/test_nmf.py index 439ad0697031f..ea48be660a734 100644 --- a/sklearn/decomposition/tests/test_nmf.py +++ b/sklearn/decomposition/tests/test_nmf.py @@ -20,12 +20,14 @@ @pytest.mark.parametrize('solver', ['cd', 'mu']) -def test_converg...
[ { "path": "doc/modules/decomposition.rst", "old_path": "a/doc/modules/decomposition.rst", "new_path": "b/doc/modules/decomposition.rst", "metadata": "diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst\nindex 6d441004f8ae6..7e8e79d9d8bdd 100644\n--- a/doc/modules/decomposition...
0.24
b2a7d3646d406b50dd46bab0cc685971601a3de3
[ "sklearn/decomposition/tests/test_nmf.py::test_special_sparse_dot", "sklearn/decomposition/tests/test_nmf.py::test_beta_divergence", "sklearn/decomposition/tests/test_nmf.py::test_nmf_multiplicative_update_sparse", "sklearn/decomposition/tests/test_nmf.py::test_nmf_negative_beta_loss", "sklearn/decompositio...
[ "sklearn/decomposition/tests/test_nmf.py::test_parameter_checking", "sklearn/decomposition/tests/test_nmf.py::test_nmf_sparse_input[both-mu]", "sklearn/decomposition/tests/test_nmf.py::test_nmf_inverse_transform[components-mu]", "sklearn/decomposition/tests/test_nmf.py::test_non_negative_factorization_consist...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/decomposition.rst", "old_path": "a/doc/modules/decomposition.rst", "new_path": "b/doc/modules/decomposition.rst", "metadata": "diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst\nindex 6d441004f8ae6..7e8e79d9d8bdd 100644\n--- a/doc/modules/decomposition...
diff --git a/doc/modules/decomposition.rst b/doc/modules/decomposition.rst index 6d441004f8ae6..7e8e79d9d8bdd 100644 --- a/doc/modules/decomposition.rst +++ b/doc/modules/decomposition.rst @@ -759,9 +759,9 @@ and the regularized objective function is: + \frac{\alpha(1-\rho)}{2} ||W||_{\mathrm{Fro}} ^ 2 + \fra...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20619
https://github.com/scikit-learn/scikit-learn/pull/20619
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 2f7e7590a1c6b..6685ca582428a 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -488,6 +488,9 @@ Changelog :pr:`18649` by :user:`Leandro Hermida <hermidalc>` and :user:`Rodion Martynov <marrodion>`. +- |Enhancement| warn only on...
diff --git a/sklearn/model_selection/tests/test_search.py b/sklearn/model_selection/tests/test_search.py index e878eca519467..5c9048658faba 100644 --- a/sklearn/model_selection/tests/test_search.py +++ b/sklearn/model_selection/tests/test_search.py @@ -1565,9 +1565,13 @@ def test_grid_search_failing_classifier(): ...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 2f7e7590a1c6b..6685ca582428a 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -48...
1.00
39f37bb63d395dd2b97be7f8231ddd2113825c42
[ "sklearn/model_selection/tests/test_search.py::test_callable_multimetric_same_as_list_of_strings", "sklearn/model_selection/tests/test_validation.py::test_cross_val_predict_predict_proba_shape", "sklearn/model_selection/tests/test_search.py::test_SearchCV_with_fit_params[RandomizedSearchCV]", "sklearn/model_s...
[ "sklearn/model_selection/tests/test_validation.py::test_cross_validate_failing_fits_warnings[nan]", "sklearn/model_selection/tests/test_search.py::test_callable_multimetric_clf_all_fails", "sklearn/model_selection/tests/test_search.py::test_grid_search_failing_classifier", "sklearn/model_selection/tests/test_...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 2f7e7590a1c6b..6685ca582428a 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -48...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 2f7e7590a1c6b..6685ca582428a 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -488,6 +488,9 @@ Changelog :pr:`<PRID>` by :user:`<NAME>` and :user:`<NAME>`. +- |Enhancement| warn only once in the main process for per-split fit ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17367
https://github.com/scikit-learn/scikit-learn/pull/17367
diff --git a/doc/modules/feature_extraction.rst b/doc/modules/feature_extraction.rst index cedc43c23c16c..5091930ec0348 100644 --- a/doc/modules/feature_extraction.rst +++ b/doc/modules/feature_extraction.rst @@ -56,6 +56,27 @@ is a traditional numerical feature:: >>> vec.get_feature_names() ['city=Dubai', 'city=...
diff --git a/sklearn/feature_extraction/tests/test_dict_vectorizer.py b/sklearn/feature_extraction/tests/test_dict_vectorizer.py index 22a7402908cf1..519201b580598 100644 --- a/sklearn/feature_extraction/tests/test_dict_vectorizer.py +++ b/sklearn/feature_extraction/tests/test_dict_vectorizer.py @@ -76,6 +76,52 @@ def ...
[ { "path": "doc/modules/feature_extraction.rst", "old_path": "a/doc/modules/feature_extraction.rst", "new_path": "b/doc/modules/feature_extraction.rst", "metadata": "diff --git a/doc/modules/feature_extraction.rst b/doc/modules/feature_extraction.rst\nindex cedc43c23c16c..5091930ec0348 100644\n--- a/...
0.24
e087f8a395f9db97145654c2429b7bdd107fd440
[ "sklearn/feature_extraction/tests/test_dict_vectorizer.py::test_dictvectorizer[True-True-int16-False]", "sklearn/feature_extraction/tests/test_dict_vectorizer.py::test_dictvectorizer[False-False-int-False]", "sklearn/feature_extraction/tests/test_dict_vectorizer.py::test_dictvectorizer[False-True-float32-False]...
[ "sklearn/feature_extraction/tests/test_dict_vectorizer.py::test_mapping_error", "sklearn/feature_extraction/tests/test_dict_vectorizer.py::test_iterable_not_string_error", "sklearn/feature_extraction/tests/test_dict_vectorizer.py::test_iterable_value" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/feature_extraction.rst", "old_path": "a/doc/modules/feature_extraction.rst", "new_path": "b/doc/modules/feature_extraction.rst", "metadata": "diff --git a/doc/modules/feature_extraction.rst b/doc/modules/feature_extraction.rst\nindex cedc43c23c16c..5091930ec0348 100644\n--- a/...
diff --git a/doc/modules/feature_extraction.rst b/doc/modules/feature_extraction.rst index cedc43c23c16c..5091930ec0348 100644 --- a/doc/modules/feature_extraction.rst +++ b/doc/modules/feature_extraction.rst @@ -56,6 +56,27 @@ is a traditional numerical feature:: >>> vec.get_feature_names() ['city=Dubai', 'city=...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17379
https://github.com/scikit-learn/scikit-learn/pull/17379
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 9e31762d62c29..b5d0145af4822 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -158,6 +158,9 @@ Changelog :pr:`16289` by :user:`Masashi Kishimoto <kishimoto-banana>` and :user:`Olivier Grisel <ogrisel>`. +- |Enhancement| :c...
diff --git a/sklearn/tests/test_isotonic.py b/sklearn/tests/test_isotonic.py index 3da76c1f0bb88..66892370f06f0 100644 --- a/sklearn/tests/test_isotonic.py +++ b/sklearn/tests/test_isotonic.py @@ -9,7 +9,8 @@ IsotonicRegression, _make_unique) from sklearn.utils.validation import check_...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 9e31762d62c29..b5d0145af4822 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
3a49e5f209f08c00f73d8895cf27d228fbae25f1
[ "sklearn/tests/test_isotonic.py::test_isotonic_regression_oob_bad", "sklearn/tests/test_isotonic.py::test_check_increasing_down_extreme", "sklearn/tests/test_isotonic.py::test_isotonic_thresholds[True]", "sklearn/tests/test_isotonic.py::test_isotonic_sample_weight_parameter_default_value", "sklearn/tests/te...
[ "sklearn/tests/test_isotonic.py::test_input_shape_validation", "sklearn/tests/test_isotonic.py::test_isotonic_2darray_more_than_1_feature" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 9e31762d62c29..b5d0145af4822 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 9e31762d62c29..b5d0145af4822 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -158,6 +158,9 @@ Changelog :pr:`<PRID>` by :user:`<NAME>` and :user:`<NAME>`. +- |Enhancement| :class:`isotonic.IsotonicRegression` now accepts ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16906
https://github.com/scikit-learn/scikit-learn/pull/16906
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index fcdd2b77c3c8c..07b59a7bed715 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -174,6 +174,10 @@ Changelog ``kind`` parameter. :pr:`16619` by :user:`Madhura Jayratne <madhuracj>`. +- |Feature| Add `sample_weight` parameter ...
diff --git a/sklearn/inspection/tests/test_permutation_importance.py b/sklearn/inspection/tests/test_permutation_importance.py index 2b381e9a20b1a..99a1d09f4a7bf 100644 --- a/sklearn/inspection/tests/test_permutation_importance.py +++ b/sklearn/inspection/tests/test_permutation_importance.py @@ -351,3 +351,87 @@ def te...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex fcdd2b77c3c8c..07b59a7bed715 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
b4678ca8aa0687575e1e1d2809355aa6c6975b16
[ "sklearn/inspection/tests/test_permutation_importance.py::test_permutation_importance_no_weights_scoring_function", "sklearn/inspection/tests/test_permutation_importance.py::test_permutation_importance_correlated_feature_regression_pandas[1]", "sklearn/inspection/tests/test_permutation_importance.py::test_permu...
[ "sklearn/inspection/tests/test_permutation_importance.py::test_permutation_importance_sample_weight" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex fcdd2b77c3c8c..07b59a7bed715 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index fcdd2b77c3c8c..07b59a7bed715 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -174,6 +174,10 @@ Changelog ``kind`` parameter. :pr:`<PRID>` by :user:`<NAME>`. +- |Feature| Add `sample_weight` parameter to + :func:`inspecti...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17578
https://github.com/scikit-learn/scikit-learn/pull/17578
diff --git a/doc/modules/linear_model.rst b/doc/modules/linear_model.rst index c4767d0cb2d64..0120f0f69fafd 100644 --- a/doc/modules/linear_model.rst +++ b/doc/modules/linear_model.rst @@ -43,6 +43,8 @@ and will store the coefficients :math:`w` of the linear model in its >>> from sklearn import linear_model ...
diff --git a/sklearn/linear_model/tests/test_base.py b/sklearn/linear_model/tests/test_base.py index af76826715241..c7990bfde8bd9 100644 --- a/sklearn/linear_model/tests/test_base.py +++ b/sklearn/linear_model/tests/test_base.py @@ -13,13 +13,13 @@ from sklearn.utils._testing import assert_array_equal from sklearn.ut...
[ { "path": "doc/modules/linear_model.rst", "old_path": "a/doc/modules/linear_model.rst", "new_path": "b/doc/modules/linear_model.rst", "metadata": "diff --git a/doc/modules/linear_model.rst b/doc/modules/linear_model.rst\nindex c4767d0cb2d64..0120f0f69fafd 100644\n--- a/doc/modules/linear_model.rst\n...
0.24
febdd191f554555c3dfc9728e40766f178296ee5
[ "sklearn/linear_model/tests/test_base.py::test_linear_regression_multiple_outcome", "sklearn/linear_model/tests/test_base.py::test_preprocess_copy_data_no_checks[True-False]", "sklearn/linear_model/tests/test_base.py::test_preprocess_data", "sklearn/linear_model/tests/test_base.py::test_preprocess_copy_data_n...
[ "sklearn/linear_model/tests/test_base.py::test_raises_value_error_if_positive_and_sparse", "sklearn/linear_model/tests/test_base.py::test_linear_regression_positive_multiple_outcome", "sklearn/linear_model/tests/test_base.py::test_linear_regression_positive", "sklearn/linear_model/tests/test_base.py::test_lin...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "examples/linear_model/plot_nnls.py" } ] }
[ { "path": "doc/modules/linear_model.rst", "old_path": "a/doc/modules/linear_model.rst", "new_path": "b/doc/modules/linear_model.rst", "metadata": "diff --git a/doc/modules/linear_model.rst b/doc/modules/linear_model.rst\nindex c4767d0cb2d64..0120f0f69fafd 100644\n--- a/doc/modules/linear_model.rst\n...
diff --git a/doc/modules/linear_model.rst b/doc/modules/linear_model.rst index c4767d0cb2d64..0120f0f69fafd 100644 --- a/doc/modules/linear_model.rst +++ b/doc/modules/linear_model.rst @@ -43,6 +43,8 @@ and will store the coefficients :math:`w` of the linear model in its >>> from sklearn import linear_model ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-6624
https://github.com/scikit-learn/scikit-learn/pull/6624
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index b67004f1e8b00..94328dafdeaa2 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -211,6 +211,12 @@ Changelog :pr:`17578` by :user:`Joseph Knox <jknox13>`, :user:`Nelle Varoquaux <NelleV>` and :user:`Chiara Marmo <cmarmo>`. +-...
diff --git a/sklearn/linear_model/tests/test_ridge.py b/sklearn/linear_model/tests/test_ridge.py index 0a10e5f23f562..7d52de903aee5 100644 --- a/sklearn/linear_model/tests/test_ridge.py +++ b/sklearn/linear_model/tests/test_ridge.py @@ -37,7 +37,10 @@ from sklearn.datasets import make_classification from sklearn.mo...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex b67004f1e8b00..94328dafdeaa2 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
075d4245681110386cb4312cbdbd0c82776290ac
[ "sklearn/linear_model/tests/test_ridge.py::test_ridge_gcv_vs_ridge_loo_cv[y_shape1-False-30.0-True-X_shape0-asarray-svd]", "sklearn/linear_model/tests/test_ridge.py::test_class_weights", "sklearn/linear_model/tests/test_ridge.py::test_ridge_gcv_vs_ridge_loo_cv[y_shape1-False-30.0-False-X_shape0-csr_matrix-eigen...
[ "sklearn/linear_model/tests/test_ridge.py::test_ridge_cv_individual_penalties" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex b67004f1e8b00..94328dafdeaa2 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index b67004f1e8b00..94328dafdeaa2 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -211,6 +211,12 @@ Changelog :pr:`<PRID>` by :user:`<NAME>`, :user:`<NAME>` and :user:`<NAME>`. +- |Enhancement| :class:`linear_model.RidgeCV` no...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-13003
https://github.com/scikit-learn/scikit-learn/pull/13003
diff --git a/benchmarks/bench_plot_polynomial_kernel_approximation.py b/benchmarks/bench_plot_polynomial_kernel_approximation.py new file mode 100644 index 0000000000000..2b7556f37320e --- /dev/null +++ b/benchmarks/bench_plot_polynomial_kernel_approximation.py @@ -0,0 +1,156 @@ +""" +==================================...
diff --git a/sklearn/tests/test_kernel_approximation.py b/sklearn/tests/test_kernel_approximation.py index 8d37ce218f227..0cee04f9f2d0a 100644 --- a/sklearn/tests/test_kernel_approximation.py +++ b/sklearn/tests/test_kernel_approximation.py @@ -10,6 +10,7 @@ from sklearn.kernel_approximation import AdditiveChi2Sampler...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 2e54d000a13aa..70a5174629f37 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
0.24
57bd85ed6a613028c2abb5e27dcf30263f0daa4b
[]
[ "sklearn/tests/test_kernel_approximation.py::test_polynomial_count_sketch[1-1-2.5-Y0-X0]", "sklearn/tests/test_kernel_approximation.py::test_polynomial_count_sketch[0-3-1-Y1-X1]", "sklearn/tests/test_kernel_approximation.py::test_polynomial_count_sketch[2.5-1-0.1-Y1-X0]", "sklearn/tests/test_kernel_approximat...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "benchmarks/bench_plot_polynomial_kernel_approximation.py" }, { "type": "file", ...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 2e54d000a13aa..70a5174629f37 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 2e54d000a13aa..70a5174629f37 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -706,6 +706,7 @@ Plotting kernel_approximation.AdditiveChi2Sampler kernel_approximation.Nystroem + kernel_approximation.PolynomialCountSketc...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-10591
https://github.com/scikit-learn/scikit-learn/pull/10591
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 2e54d000a13aa..2fd1366e18434 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -946,6 +946,7 @@ details. metrics.cohen_kappa_score metrics.confusion_matrix metrics.dcg_score + metrics.detection_error_tradeoff_curve ...
diff --git a/sklearn/metrics/tests/test_common.py b/sklearn/metrics/tests/test_common.py index 3f2ba83b474c7..24f01d46610a7 100644 --- a/sklearn/metrics/tests/test_common.py +++ b/sklearn/metrics/tests/test_common.py @@ -29,6 +29,7 @@ from sklearn.metrics import cohen_kappa_score from sklearn.metrics import confusion...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 2e54d000a13aa..2fd1366e18434 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
0.24
0550793bd61b84beb60d3a92c3eb90cc788a27a8
[]
[ "sklearn/metrics/tests/test_common.py::test_single_sample[accuracy_score]", "sklearn/metrics/tests/test_common.py::test_single_sample_multioutput[samples_f2_score]", "sklearn/metrics/tests/test_ranking.py::test_roc_auc_score_multiclass_labels_error[ovr-Number of given labels, 2, not equal to the number of colum...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "examples/model_selection/plot_det.py" } ] }
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex 2e54d000a13aa..2fd1366e18434 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 2e54d000a13aa..2fd1366e18434 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -946,6 +946,7 @@ details. metrics.cohen_kappa_score metrics.confusion_matrix metrics.dcg_score + metrics.detection_error_tradeoff_curve ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16625
https://github.com/scikit-learn/scikit-learn/pull/16625
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index e05d08781181f..6dbab18d94a0c 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -966,6 +966,7 @@ details. metrics.recall_score metrics.roc_auc_score metrics.roc_curve + metrics.top_k_accuracy_score metrics.zero_one...
diff --git a/sklearn/metrics/tests/test_common.py b/sklearn/metrics/tests/test_common.py index e503a64a47769..6688ddc2aa834 100644 --- a/sklearn/metrics/tests/test_common.py +++ b/sklearn/metrics/tests/test_common.py @@ -59,6 +59,7 @@ from sklearn.metrics import zero_one_loss from sklearn.metrics import ndcg_score f...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex e05d08781181f..6dbab18d94a0c 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
0.24
6ca9eab67e1054a1f9508dfa286e0542c8bab5e3
[ "sklearn/metrics/tests/test_score_objects.py::test_scorer_memmap_input[completeness_score]", "sklearn/metrics/tests/test_score_objects.py::test_check_scoring_and_check_multimetric_scoring[multi_tuple]", "sklearn/metrics/tests/test_score_objects.py::test_check_scoring_and_check_multimetric_scoring[single_tuple]"...
[ "sklearn/metrics/tests/test_common.py::test_single_sample[accuracy_score]", "sklearn/metrics/tests/test_common.py::test_single_sample_multioutput[samples_f2_score]", "sklearn/metrics/tests/test_ranking.py::test_roc_auc_score_multiclass_labels_error[ovr-Number of given labels, 2, not equal to the number of colum...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex e05d08781181f..6dbab18d94a0c 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index e05d08781181f..6dbab18d94a0c 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -966,6 +966,7 @@ details. metrics.recall_score metrics.roc_auc_score metrics.roc_curve + metrics.top_k_accuracy_score metrics.zero_one...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18176
https://github.com/scikit-learn/scikit-learn/pull/18176
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index f5a0e71e07d1c..2ec617df85cc0 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -947,7 +947,7 @@ details. metrics.cohen_kappa_score metrics.confusion_matrix metrics.dcg_score - metrics.detection_error_tradeoff_curve + ...
diff --git a/sklearn/metrics/_plot/tests/test_plot_curve_common.py b/sklearn/metrics/_plot/tests/test_plot_curve_common.py new file mode 100644 index 0000000000000..c3b56f1724372 --- /dev/null +++ b/sklearn/metrics/_plot/tests/test_plot_curve_common.py @@ -0,0 +1,103 @@ +import pytest + +from sklearn.base import Classi...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex f5a0e71e07d1c..2ec617df85cc0 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
0.24
bf4714f40113ac4e6045d34d89905f146c5274b3
[ "sklearn/metrics/_plot/tests/test_plot_roc_curve.py::test_plot_roc_curve[True-False-True-predict_proba]", "sklearn/metrics/_plot/tests/test_plot_roc_curve.py::test_plot_roc_curve[False-True-False-decision_function]", "sklearn/metrics/_plot/tests/test_plot_roc_curve.py::test_plot_roc_curve[True-False-True-decisi...
[ "sklearn/metrics/tests/test_common.py::test_single_sample[accuracy_score]", "sklearn/metrics/tests/test_common.py::test_single_sample_multioutput[samples_f2_score]", "sklearn/metrics/tests/test_ranking.py::test_roc_auc_score_multiclass_labels_error[ovr-Number of given labels, 2, not equal to the number of colum...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "field", "name": "fpr" }, { "type": "field", "name": "response_method" }, { "type...
[ { "path": "doc/modules/classes.rst", "old_path": "a/doc/modules/classes.rst", "new_path": "b/doc/modules/classes.rst", "metadata": "diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst\nindex f5a0e71e07d1c..2ec617df85cc0 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index f5a0e71e07d1c..2ec617df85cc0 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -947,7 +947,7 @@ details. metrics.cohen_kappa_score metrics.confusion_matrix metrics.dcg_score - metrics.detection_error_tradeoff_curve + ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20657
https://github.com/scikit-learn/scikit-learn/pull/20657
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 9cf628dfda5f5..5f50465f5aef3 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -723,6 +723,12 @@ Changelog unavailable on the basis of state, in a more readable way. :pr:`19948` by `Joel Nothman`_. +_ |Enhancement| :func:`utils...
diff --git a/sklearn/tests/test_pipeline.py b/sklearn/tests/test_pipeline.py index 4176e1a65f4b2..4ec5c7f081a15 100644 --- a/sklearn/tests/test_pipeline.py +++ b/sklearn/tests/test_pipeline.py @@ -21,7 +21,8 @@ MinimalRegressor, MinimalTransformer, ) - +from sklearn.exceptions import NotFittedError +from skl...
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 9cf628dfda5f5..5f50465f5aef3 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -72...
1.00
ec941a86c01e98dc0b41c406631f86b1caf3f2e0
[ "sklearn/utils/tests/test_validation.py::test_check_symmetric", "sklearn/utils/tests/test_validation.py::test_ordering", "sklearn/utils/tests/test_validation.py::test_num_features_errors_1d_containers[array-int]", "sklearn/utils/tests/test_validation.py::test_check_psd_eigenvalues_valid[True-insignificant pos...
[ "sklearn/tests/test_pipeline.py::test_pipeline_check_if_fitted", "sklearn/utils/tests/test_validation.py::test_check_is_fitted_with_is_fitted" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v1.0.rst", "old_path": "a/doc/whats_new/v1.0.rst", "new_path": "b/doc/whats_new/v1.0.rst", "metadata": "diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst\nindex 9cf628dfda5f5..5f50465f5aef3 100644\n--- a/doc/whats_new/v1.0.rst\n+++ b/doc/whats_new/v1.0.rst\n@@ -72...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 9cf628dfda5f5..5f50465f5aef3 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -723,6 +723,12 @@ Changelog unavailable on the basis of state, in a more readable way. :pr:`<PRID>` by `<NAME>`_. +_ |Enhancement| :func:`utils.vali...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17526
https://github.com/scikit-learn/scikit-learn/pull/17526
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 848b415890452..9cd8902f0643f 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -61,6 +61,10 @@ Changelog change since `None` was defaulting to these values already. :pr:`16493` by :user:`Darshan N <DarshanGowda0>`. +- |Feat...
diff --git a/sklearn/impute/tests/test_impute.py b/sklearn/impute/tests/test_impute.py index 960f671915e6a..53580f32c34ca 100644 --- a/sklearn/impute/tests/test_impute.py +++ b/sklearn/impute/tests/test_impute.py @@ -1342,6 +1342,25 @@ def test_simple_imputation_add_indicator_sparse_matrix(arr_type): assert_allclo...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 848b415890452..9cd8902f0643f 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
53befd82e389da5fa1c96156759bd1bc908a8658
[ "sklearn/impute/tests/test_impute.py::test_missing_indicator_new[all-3-features_indices1-0-int32-array]", "sklearn/impute/tests/test_impute.py::test_missing_indicator_new[all-3-features_indices1-nan-float64-csc_matrix]", "sklearn/impute/tests/test_impute.py::test_iterative_imputer_min_max_array_like[lists]", ...
[ "sklearn/impute/tests/test_impute.py::test_simple_imputation_string_list[constant-missing_value]", "sklearn/impute/tests/test_impute.py::test_simple_imputation_string_list[most_frequent-b]" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 848b415890452..9cd8902f0643f 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 848b415890452..9cd8902f0643f 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -61,6 +61,10 @@ Changelog change since `None` was defaulting to these values already. :pr:`<PRID>` by :user:`<NAME>`. +- |Feature| :class:`imput...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-17225
https://github.com/scikit-learn/scikit-learn/pull/17225
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index db6959fcc164f..76ec91d93e264 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -76,7 +76,13 @@ Changelog attribute name/path or a `callable` for extracting feature importance from the estimator. :pr:`15361` by :user:`Venkata...
diff --git a/sklearn/ensemble/tests/test_gradient_boosting_loss_functions.py b/sklearn/ensemble/tests/test_gradient_boosting_loss_functions.py index 6b24f90d0239d..b5bc17eeeb14c 100644 --- a/sklearn/ensemble/tests/test_gradient_boosting_loss_functions.py +++ b/sklearn/ensemble/tests/test_gradient_boosting_loss_function...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex db6959fcc164f..76ec91d93e264 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
2f26540ee99cb4519d7471933359913c7be36ac9
[ "sklearn/metrics/tests/test_score_objects.py::test_scorer_memmap_input[precision_macro]", "sklearn/metrics/tests/test_score_objects.py::test_scorer_memmap_input[recall]", "sklearn/ensemble/tests/test_gradient_boosting_loss_functions.py::test_lad_equals_quantile_50[0]", "sklearn/metrics/tests/test_score_object...
[ "sklearn/utils/tests/test_stats.py::test_weighted_percentile_2d" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex db6959fcc164f..76ec91d93e264 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index db6959fcc164f..76ec91d93e264 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -76,7 +76,13 @@ Changelog attribute name/path or a `callable` for extracting feature importance from the estimator. :pr:`<PRID>` by :user:`<NAME>...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-13900
https://github.com/scikit-learn/scikit-learn/pull/13900
diff --git a/doc/conf.py b/doc/conf.py index ccf5dcd068131..b09c5a15b133d 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -356,6 +356,7 @@ def __call__(self, directory): # discovered properly by sphinx from sklearn.experimental import enable_hist_gradient_boosting # noqa from sklearn.experimental import enable_iterat...
diff --git a/doc/conftest.py b/doc/conftest.py index eacd469f2e52f..96d42fd96066d 100644 --- a/doc/conftest.py +++ b/doc/conftest.py @@ -57,6 +57,13 @@ def setup_impute(): raise SkipTest("Skipping impute.rst, pandas not installed") +def setup_grid_search(): + try: + import pandas # noqa + exc...
[ { "path": "doc/conf.py", "old_path": "a/doc/conf.py", "new_path": "b/doc/conf.py", "metadata": "diff --git a/doc/conf.py b/doc/conf.py\nindex ccf5dcd068131..b09c5a15b133d 100644\n--- a/doc/conf.py\n+++ b/doc/conf.py\n@@ -356,6 +356,7 @@ def __call__(self, directory):\n # discovered properly by sphin...
0.24
5b29166fe975dd7f21eec137d8e54c0e926d6b8f
[]
[ "sklearn/model_selection/tests/test_split.py::test_random_state_shuffle_false[KFold]", "sklearn/model_selection/tests/test_successive_halving.py::test_min_max_resources[exhaust-auto-2-2-expected_n_resources3-HalvingGridSearchCV]", "sklearn/model_selection/tests/test_successive_halving.py::test_input_errors[para...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [ { "type": "file", "name": "examples/model_selection/plot_successive_halving_iterations.py" }, { "type": "file",...
[ { "path": "doc/conf.py", "old_path": "a/doc/conf.py", "new_path": "b/doc/conf.py", "metadata": "diff --git a/doc/conf.py b/doc/conf.py\nindex ccf5dcd068131..b09c5a15b133d 100644\n--- a/doc/conf.py\n+++ b/doc/conf.py\n@@ -356,6 +356,7 @@ def __call__(self, directory):\n # discovered properly by sphin...
diff --git a/doc/conf.py b/doc/conf.py index ccf5dcd068131..b09c5a15b133d 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -356,6 +356,7 @@ def __call__(self, directory): # discovered properly by sphinx from sklearn.experimental import enable_hist_gradient_boosting # noqa from sklearn.experimental import enable_iterat...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-13204
https://github.com/scikit-learn/scikit-learn/pull/13204
diff --git a/doc/modules/cross_validation.rst b/doc/modules/cross_validation.rst index ed014cea6f2ff..61ea8c7ef4248 100644 --- a/doc/modules/cross_validation.rst +++ b/doc/modules/cross_validation.rst @@ -782,7 +782,7 @@ Example of 3-split time series cross-validation on a dataset with 6 samples:: >>> y = np.array([...
diff --git a/sklearn/model_selection/tests/test_split.py b/sklearn/model_selection/tests/test_split.py index 3b984745420f1..b89571ba085dd 100644 --- a/sklearn/model_selection/tests/test_split.py +++ b/sklearn/model_selection/tests/test_split.py @@ -1440,6 +1440,100 @@ def test_time_series_max_train_size(): _check_...
[ { "path": "doc/modules/cross_validation.rst", "old_path": "a/doc/modules/cross_validation.rst", "new_path": "b/doc/modules/cross_validation.rst", "metadata": "diff --git a/doc/modules/cross_validation.rst b/doc/modules/cross_validation.rst\nindex ed014cea6f2ff..61ea8c7ef4248 100644\n--- a/doc/module...
0.24
192109af3d65559d1e26887d35a21aa396af920f
[ "sklearn/model_selection/tests/test_split.py::test_train_test_split_mock_pandas", "sklearn/model_selection/tests/test_split.py::test_stratified_shuffle_split_multilabel_many_labels", "sklearn/model_selection/tests/test_split.py::test_stratified_kfold_label_invariance[7-False]", "sklearn/model_selection/tests/...
[ "sklearn/model_selection/tests/test_split.py::test_time_series_test_size", "sklearn/model_selection/tests/test_split.py::test_time_series_gap" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/modules/cross_validation.rst", "old_path": "a/doc/modules/cross_validation.rst", "new_path": "b/doc/modules/cross_validation.rst", "metadata": "diff --git a/doc/modules/cross_validation.rst b/doc/modules/cross_validation.rst\nindex ed014cea6f2ff..61ea8c7ef4248 100644\n--- a/doc/module...
diff --git a/doc/modules/cross_validation.rst b/doc/modules/cross_validation.rst index ed014cea6f2ff..61ea8c7ef4248 100644 --- a/doc/modules/cross_validation.rst +++ b/doc/modules/cross_validation.rst @@ -782,7 +782,7 @@ Example of 3-split time series cross-validation on a dataset with 6 samples:: >>> y = np.array([...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18527
https://github.com/scikit-learn/scikit-learn/pull/18527
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 424178e77c4b2..1b8b94ef5c87f 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -450,6 +450,12 @@ Changelog :pr:`18266` by :user:`Subrat Sahu <subrat93>`, :user:`Nirvan <Nirvan101>` and :user:`Arthur Book <ArthurBook>`. +- |...
diff --git a/sklearn/model_selection/tests/test_validation.py b/sklearn/model_selection/tests/test_validation.py index 9283aeee0f012..510811dfc4474 100644 --- a/sklearn/model_selection/tests/test_validation.py +++ b/sklearn/model_selection/tests/test_validation.py @@ -754,6 +754,23 @@ def test_permutation_test_score_al...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 424178e77c4b2..1b8b94ef5c87f 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
06c710ade0a800aeae6ad5f37418edbdeb618ade
[ "sklearn/model_selection/tests/test_validation.py::test_cross_val_predict_predict_proba_shape", "sklearn/model_selection/tests/test_validation.py::test_score_memmap", "sklearn/model_selection/tests/test_validation.py::test_validation_curve_clone_estimator", "sklearn/model_selection/tests/test_validation.py::t...
[ "sklearn/model_selection/tests/test_validation.py::test_validation_curve_fit_params", "sklearn/model_selection/tests/test_validation.py::test_permutation_test_score_fit_params" ]
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex 424178e77c4b2..1b8b94ef5c87f 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index 424178e77c4b2..1b8b94ef5c87f 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -450,6 +450,12 @@ Changelog :pr:`<PRID>` by :user:`<NAME>`, :user:`<NAME>` and :user:`<NAME>`. +- |Enhancement| :func:`model_selection.permutati...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18343
https://github.com/scikit-learn/scikit-learn/pull/18343
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index c57f097ec3218..c44ba08f2f57b 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -422,6 +422,14 @@ Changelog :pr:`18266` by :user:`Subrat Sahu <subrat93>`, :user:`Nirvan <Nirvan101>` and :user:`Arthur Book <ArthurBook>`. +- |...
diff --git a/sklearn/model_selection/tests/test_validation.py b/sklearn/model_selection/tests/test_validation.py index 82cd0159d305a..46fcec2941aba 100644 --- a/sklearn/model_selection/tests/test_validation.py +++ b/sklearn/model_selection/tests/test_validation.py @@ -1,10 +1,10 @@ """Test the validation module""" - -...
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex c57f097ec3218..c44ba08f2f57b 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
0.24
5a73abc3e93627b3ec0b55a9393faa9751cefd2b
[ "sklearn/model_selection/tests/test_validation.py::test_cross_validate_failing_scorer[True-False-raise]", "sklearn/model_selection/tests/test_validation.py::test_learning_curve_incremental_learning", "sklearn/model_selection/tests/test_validation.py::test_cross_val_predict_predict_proba_shape", "sklearn/model...
[ "sklearn/model_selection/tests/test_validation.py::test_score", "sklearn/model_selection/tests/test_validation.py::test_cross_validate_invalid_scoring_param", "sklearn/model_selection/tests/test_validation.py::test_cross_validate_failing_scorer[True-False-0]", "sklearn/model_selection/tests/test_validation.py...
{ "header": "If completing this task requires creating new files, classes, fields, or error messages, you may consider using the following suggested entity names:", "data": [] }
[ { "path": "doc/whats_new/v0.24.rst", "old_path": "a/doc/whats_new/v0.24.rst", "new_path": "b/doc/whats_new/v0.24.rst", "metadata": "diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst\nindex c57f097ec3218..c44ba08f2f57b 100644\n--- a/doc/whats_new/v0.24.rst\n+++ b/doc/whats_new/v0.24.rst\...
diff --git a/doc/whats_new/v0.24.rst b/doc/whats_new/v0.24.rst index c57f097ec3218..c44ba08f2f57b 100644 --- a/doc/whats_new/v0.24.rst +++ b/doc/whats_new/v0.24.rst @@ -422,6 +422,14 @@ Changelog :pr:`<PRID>` by :user:`<NAME>`, :user:`<NAME>` and :user:`<NAME>`. +- |Enhancement| :func:`model_selection.cross_val...