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
pylint-dev/pylint
pylint-dev__pylint-8520
https://github.com/pylint-dev/pylint/pull/8520
diff --git a/doc/whatsnew/fragments/8476.feature b/doc/whatsnew/fragments/8476.feature new file mode 100644 index 0000000000..56c0be2019 --- /dev/null +++ b/doc/whatsnew/fragments/8476.feature @@ -0,0 +1,3 @@ +Add Pyreverse option to exclude standalone nodes from diagrams with `--no-standalone`. + +Closes #8476 diff --...
diff --git a/pylint/testutils/pyreverse.py b/pylint/testutils/pyreverse.py index ba79ebf8bc..24fddad770 100644 --- a/pylint/testutils/pyreverse.py +++ b/pylint/testutils/pyreverse.py @@ -37,6 +37,7 @@ def __init__( all_ancestors: bool | None = None, show_associated: int | None = None, all_ass...
[ { "path": "doc/whatsnew/fragments/8476.feature", "old_path": "/dev/null", "new_path": "b/doc/whatsnew/fragments/8476.feature", "metadata": "diff --git a/doc/whatsnew/fragments/8476.feature b/doc/whatsnew/fragments/8476.feature\nnew file mode 100644\nindex 0000000000..56c0be2019\n--- /dev/null\n+++ b...
3.0
e9894d304faa9561aeb00c47bef103ec2c510342
[ "tests/pyreverse/test_writer.py::test_puml_files[classes_No_Name.puml]", "tests/pyreverse/test_writer.py::test_mmd_files[packages_No_Name.mmd]", "tests/pyreverse/test_writer.py::test_html_files[classes_No_Name.html]", "tests/pyreverse/test_writer.py::test_color_for_stdlib_module", "tests/pyreverse/test_writ...
[ "tests/pyreverse/test_writer.py::test_no_standalone_dot_files[packages_no_standalone.dot]", "tests/pyreverse/test_writer.py::test_no_standalone_dot_files[classes_no_standalone.dot]" ]
{ "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": "no_standalone" } ] }
[ { "path": "doc/whatsnew/fragments/<PRID>.feature", "old_path": "/dev/null", "new_path": "b/doc/whatsnew/fragments/<PRID>.feature", "metadata": "diff --git a/doc/whatsnew/fragments/<PRID>.feature b/doc/whatsnew/fragments/<PRID>.feature\nnew file mode 100644\nindex 0000000000..56c0be2019\n--- /dev/nul...
diff --git a/doc/whatsnew/fragments/<PRID>.feature b/doc/whatsnew/fragments/<PRID>.feature new file mode 100644 index 0000000000..56c0be2019 --- /dev/null +++ b/doc/whatsnew/fragments/<PRID>.feature @@ -0,0 +1,3 @@ +Add Pyreverse option to exclude standalone nodes from diagrams with `--no-standalone`. + +Closes #<PRID>...
pylint-dev/pylint
pylint-dev__pylint-8312
https://github.com/pylint-dev/pylint/pull/8312
diff --git a/.pyenchant_pylint_custom_dict.txt b/.pyenchant_pylint_custom_dict.txt index d3cce63e24..5969ff6396 100644 --- a/.pyenchant_pylint_custom_dict.txt +++ b/.pyenchant_pylint_custom_dict.txt @@ -128,6 +128,7 @@ functools genexpr getattr globals +globbing GPL graphname graphviz diff --git a/doc/user_guide/...
diff --git a/tests/lint/unittest_lint.py b/tests/lint/unittest_lint.py index 23cde49674..6c21d43135 100644 --- a/tests/lint/unittest_lint.py +++ b/tests/lint/unittest_lint.py @@ -1220,8 +1220,6 @@ def test_recursive_implicit_namespace() -> None: ], exit=False, ) - run.linter.set_reporter(testu...
[ { "path": "doc/user_guide/usage/run.rst", "old_path": "a/doc/user_guide/usage/run.rst", "new_path": "b/doc/user_guide/usage/run.rst", "metadata": "diff --git a/doc/user_guide/usage/run.rst b/doc/user_guide/usage/run.rst\nindex 006327f402..b9dfedc886 100644\n--- a/doc/user_guide/usage/run.rst\n+++ b/...
2.17
7893fd205809380fcfdcaf4f82ec81968528875a
[ "tests/lint/unittest_lint.py::test_pylintrc_parentdir_no_package", "tests/lint/unittest_lint.py::test_disable_similar", "tests/lint/unittest_lint.py::test_pylintrc", "tests/lint/unittest_lint.py::test_list_msgs_enabled", "tests/lint/unittest_lint.py::test_recursive_ignore[--ignore-patterns-ignored_*]", "t...
[ "tests/lint/unittest_lint.py::test_globbing", "tests/test_self.py::TestRunTC::test_recursive_globbing" ]
{ "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/user_guide/usage/run.rst", "old_path": "a/doc/user_guide/usage/run.rst", "new_path": "b/doc/user_guide/usage/run.rst", "metadata": "diff --git a/doc/user_guide/usage/run.rst b/doc/user_guide/usage/run.rst\nindex 006327f402..b9dfedc886 100644\n--- a/doc/user_guide/usage/run.rst\n+++ b/...
diff --git a/doc/user_guide/usage/run.rst b/doc/user_guide/usage/run.rst index 006327f402..b9dfedc886 100644 --- a/doc/user_guide/usage/run.rst +++ b/doc/user_guide/usage/run.rst @@ -52,6 +52,13 @@ If the analyzed sources use implicit namespace packages (PEP 420), the source ro be specified using the ``--source-roots`...
pylint-dev/pylint
pylint-dev__pylint-4860
https://github.com/pylint-dev/pylint/pull/4860
diff --git a/ChangeLog b/ChangeLog index 6bd08a2d12..f702b02b27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -69,6 +69,10 @@ Release date: TBA Closes #4365 +* Added optional extension ``while_used``: Emitted whenever a ``while`` loop is used. + + Closes # 4367 + * Added ``forgotten-debug-statement``: Emitted when...
diff --git a/tests/extensions/test_while_used.py b/tests/extensions/test_while_used.py new file mode 100644 index 0000000000..23fe95f07c --- /dev/null +++ b/tests/extensions/test_while_used.py @@ -0,0 +1,25 @@ +"""Tests for the pylint checker in :mod:`pylint.extensions.while +""" + +import astroid + +from pylint.extens...
[ { "path": "ChangeLog", "old_path": "a/ChangeLog", "new_path": "b/ChangeLog", "metadata": "diff --git a/ChangeLog b/ChangeLog\nindex 6bd08a2d12..f702b02b27 100644\n--- a/ChangeLog\n+++ b/ChangeLog\n@@ -69,6 +69,10 @@ Release date: TBA\n \n Closes #4365\n \n+* Added optional extension ``while_used``...
2.10
f78a35afb76c38f4141714130bbd1a35ee430ea1
[]
[ "tests/extensions/test_while_used.py::TestWhileUsed::test_while_used" ]
{ "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": "class", "name": "WhileChecker" }, { "type": "field", "name": "WhileChecker" }, { ...
[ { "path": "ChangeLog", "old_path": "a/ChangeLog", "new_path": "b/ChangeLog", "metadata": "diff --git a/ChangeLog b/ChangeLog\nindex 6bd08a2d12..f702b02b27 100644\n--- a/ChangeLog\n+++ b/ChangeLog\n@@ -69,6 +69,10 @@ Release date: TBA\n \n Closes #<PRID>\n \n+* Added optional extension ``while_used...
diff --git a/ChangeLog b/ChangeLog index 6bd08a2d12..f702b02b27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -69,6 +69,10 @@ Release date: TBA Closes #<PRID> +* Added optional extension ``while_used``: Emitted whenever a ``while`` loop is used. + + Closes # 4367 + * Added ``forgotten-debug-statement``: Emitted wh...
pylint-dev/pylint
pylint-dev__pylint-5298
https://github.com/pylint-dev/pylint/pull/5298
diff --git a/ChangeLog b/ChangeLog index 96773582ca..a4998baf8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -162,6 +162,12 @@ Release date: TBA Closes #4580 +* Moved ``misplaced-comparison-constant`` to its own extension ``comparison_placement``. + This checker was opinionated and now no longer a default. It can ...
diff --git a/tests/checkers/unittest_base.py b/tests/checkers/unittest_base.py index 9f0d5fd4fe..46a9913a4e 100644 --- a/tests/checkers/unittest_base.py +++ b/tests/checkers/unittest_base.py @@ -547,9 +547,6 @@ def test_comparison(self) -> None: node = astroid.extract_node("True == foo") messages = ...
[ { "path": "ChangeLog", "old_path": "a/ChangeLog", "new_path": "b/ChangeLog", "metadata": "diff --git a/ChangeLog b/ChangeLog\nindex 96773582ca..a4998baf8d 100644\n--- a/ChangeLog\n+++ b/ChangeLog\n@@ -162,6 +162,12 @@ Release date: TBA\n \n Closes #4580\n \n+* Moved ``misplaced-comparison-constant...
2.11
18c1bd2c50e5b0454275750376ef6bf4da0f2360
[ "tests/checkers/unittest_base.py::TestNamePresets::test_upper_case", "tests/functional/u/use/using_constant_test.py::test", "tests/checkers/unittest_base.py::TestDocstring::test_class_no_docstring", "tests/checkers/unittest_base.py::TestDocstring::test_long_function_nested_statements_no_docstring", "tests/c...
[ "tests/checkers/unittest_base.py::TestComparison::test_comparison" ]
{ "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": "pylint/extensions/comparison_placement.py" } ] }
[ { "path": "ChangeLog", "old_path": "a/ChangeLog", "new_path": "b/ChangeLog", "metadata": "diff --git a/ChangeLog b/ChangeLog\nindex 96773582ca..a4998baf8d 100644\n--- a/ChangeLog\n+++ b/ChangeLog\n@@ -162,6 +162,12 @@ Release date: TBA\n \n Closes #<PRID>\n \n+* Moved ``misplaced-comparison-consta...
diff --git a/ChangeLog b/ChangeLog index 96773582ca..a4998baf8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -162,6 +162,12 @@ Release date: TBA Closes #<PRID> +* Moved ``misplaced-comparison-constant`` to its own extension ``comparison_placement``. + This checker was opinionated and now no longer a default. It ca...
pytest-dev/pytest
pytest-dev__pytest-3776
https://github.com/pytest-dev/pytest/pull/3776
diff --git a/.gitignore b/.gitignore index f5cd0145cce..e2d59502cb4 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ coverage.xml .pydevproject .project .settings +.vscode diff --git a/AUTHORS b/AUTHORS index 777eda324ea..f5ba603c2ae 100644 --- a/AUTHORS +++ b/AUTHORS @@ -11,6 +11,7 @@ Alan Velasco Alexan...
diff --git a/testing/example_scripts/dataclasses/test_compare_dataclasses.py b/testing/example_scripts/dataclasses/test_compare_dataclasses.py new file mode 100644 index 00000000000..3bbebe2aa26 --- /dev/null +++ b/testing/example_scripts/dataclasses/test_compare_dataclasses.py @@ -0,0 +1,14 @@ +from dataclasses import...
[ { "path": "changelog/3632.feature.rst", "old_path": "/dev/null", "new_path": "b/changelog/3632.feature.rst", "metadata": "diff --git a/changelog/3632.feature.rst b/changelog/3632.feature.rst\nnew file mode 100644\nindex 00000000000..cb1d93750c6\n--- /dev/null\n+++ b/changelog/3632.feature.rst\n@@ -0...
4.1
b1312147e0a6cef77e97cb80aeb9f0962115a401
[ "testing/test_assertion.py::TestAssert_reprcompare::test_dict_omitting", "testing/test_assertion.py::TestTruncateExplanation::test_truncates_at_8_lines_when_given_list_of_empty_strings", "testing/test_assertion.py::test_assert_with_unicode", "testing/test_assertion.py::test_assert_indirect_tuple_no_warning", ...
[ "testing/test_assertion.py::TestAssert_reprcompare_attrsclass::test_attrs", "testing/test_assertion.py::TestAssert_reprcompare_dataclass::test_dataclasses_verbose", "testing/test_assertion.py::TestAssert_reprcompare_attrsclass::test_attrs_with_attribute_comparison_off", "testing/test_assertion.py::TestAssert_...
{ "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": "cmp" }, { "type": "field", "name": "compare" }, { "type": "fiel...
[ { "path": "changelog/<PRID>.feature.rst", "old_path": "/dev/null", "new_path": "b/changelog/<PRID>.feature.rst", "metadata": "diff --git a/changelog/<PRID>.feature.rst b/changelog/<PRID>.feature.rst\nnew file mode 100644\nindex 00000000000..cb1d93750c6\n--- /dev/null\n+++ b/changelog/<PRID>.feature....
diff --git a/changelog/<PRID>.feature.rst b/changelog/<PRID>.feature.rst new file mode 100644 index 00000000000..cb1d93750c6 --- /dev/null +++ b/changelog/<PRID>.feature.rst @@ -0,0 +1,1 @@ +Richer equality comparison introspection on ``AssertionError`` for objects created using `attrs <http://www.attrs.org/en/stable/>...
pytest-dev/pytest
pytest-dev__pytest-3576
https://github.com/pytest-dev/pytest/pull/3576
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index adecd91ea1f..c005c2fb254 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -162,11 +162,11 @@ Preparing Pull Requests Short version ~~~~~~~~~~~~~ -#. Fork the repository; -#. enable and install pre-commit https://pre-commit.com/ to ensure styleguides and ...
diff --git a/testing/python/integration.py b/testing/python/integration.py index 2705bdc4955..f348fdc29fd 100644 --- a/testing/python/integration.py +++ b/testing/python/integration.py @@ -108,6 +108,9 @@ def f(x): values = getfuncargnames(f) assert values == ("x",) + @pytest.mark.xfail( + ...
[ { "path": "changelog/3555.bugfix.rst", "old_path": "/dev/null", "new_path": "b/changelog/3555.bugfix.rst", "metadata": "diff --git a/changelog/3555.bugfix.rst b/changelog/3555.bugfix.rst\nnew file mode 100644\nindex 00000000000..b86012c6b60\n--- /dev/null\n+++ b/changelog/3555.bugfix.rst\n@@ -0,0 +1...
3.7
e0a1da4eb9a836770daef437afde3944402a6983
[ "testing/test_mark.py::TestFunctional::test_mark_closest", "testing/python/integration.py::TestMockDecoration::test_unittest_mock_and_pypi_mock", "testing/test_mark.py::test_keyword_option_custom[spec1]", "testing/test_mark.py::TestKeywordSelection::test_keyword_extra", "testing/test_mark.py::test_mark_opti...
[ "testing/test_mark.py::test_addmarker_order" ]
{ "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": "changelog/<PRID>.bugfix.rst", "old_path": "/dev/null", "new_path": "b/changelog/<PRID>.bugfix.rst", "metadata": "diff --git a/changelog/<PRID>.bugfix.rst b/changelog/<PRID>.bugfix.rst\nnew file mode 100644\nindex 00000000000..b86012c6b60\n--- /dev/null\n+++ b/changelog/<PRID>.bugfix.rst\n...
diff --git a/changelog/<PRID>.bugfix.rst b/changelog/<PRID>.bugfix.rst new file mode 100644 index 00000000000..b86012c6b60 --- /dev/null +++ b/changelog/<PRID>.bugfix.rst @@ -0,0 +1,1 @@ +Fix regression in ``Node.add_marker`` by extracting the mark object of a ``MarkDecorator``. diff --git a/changelog/<PRID>.feature.r...
pytest-dev/pytest
pytest-dev__pytest-3041
https://github.com/pytest-dev/pytest/pull/3041
diff --git a/AUTHORS b/AUTHORS index 44ae6aa43ab..0492a1659b9 100644 --- a/AUTHORS +++ b/AUTHORS @@ -74,6 +74,7 @@ Grig Gheorghiu Grigorii Eremeev (budulianin) Guido Wesdorp Harald Armin Massa +Henk-Jaap Wagenaar Hugo van Kemenade Hui Wang (coldnight) Ian Bicking diff --git a/_pytest/assertion/rewrite.py b/_pytes...
diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py index b4277e46dbc..4480fc2cf45 100644 --- a/testing/acceptance_test.py +++ b/testing/acceptance_test.py @@ -3,6 +3,8 @@ import os import sys +import six + import _pytest._code import py import pytest @@ -645,6 +647,69 @@ def join_pythonpath(*di...
[ { "path": "changelog/2981.bugfix", "old_path": "/dev/null", "new_path": "b/changelog/2981.bugfix", "metadata": "diff --git a/changelog/2981.bugfix b/changelog/2981.bugfix\nnew file mode 100644\nindex 00000000000..fd6dde37a6c\n--- /dev/null\n+++ b/changelog/2981.bugfix\n@@ -0,0 +1,1 @@\n+Fix **memory...
3.4
f8f1a52ea0f844226b25364c3d764e52f10c605a
[ "testing/acceptance_test.py::TestInvocationVariants::test_import_star_py_dot_test", "testing/test_terminal.py::TestCollectonly::test_collectonly_basic", "testing/acceptance_test.py::TestInvocationVariants::test_invoke_with_path", "testing/acceptance_test.py::TestGeneralUsage::test_multiple_items_per_collector...
[ "testing/acceptance_test.py::test_fixture_values_leak", "testing/test_assertrewrite.py::TestAssertionRewrite::test_dont_rewrite_plugin" ]
{ "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": "PY2" } ] }
[ { "path": "changelog/<PRID>.bugfix", "old_path": "/dev/null", "new_path": "b/changelog/<PRID>.bugfix", "metadata": "diff --git a/changelog/<PRID>.bugfix b/changelog/<PRID>.bugfix\nnew file mode 100644\nindex 00000000000..fd6dde37a6c\n--- /dev/null\n+++ b/changelog/<PRID>.bugfix\n@@ -0,0 +1,1 @@\n+Fi...
diff --git a/changelog/<PRID>.bugfix b/changelog/<PRID>.bugfix new file mode 100644 index 00000000000..fd6dde37a6c --- /dev/null +++ b/changelog/<PRID>.bugfix @@ -0,0 +1,1 @@ +Fix **memory leak** where objects returned by fixtures were never destructed by the garbage collector. diff --git a/changelog/<PRID>.bugfix b/c...
pytest-dev/pytest
pytest-dev__pytest-2794
https://github.com/pytest-dev/pytest/pull/2794
diff --git a/AUTHORS b/AUTHORS index cf31e038961..2fd2ab15e5d 100644 --- a/AUTHORS +++ b/AUTHORS @@ -166,6 +166,7 @@ Tarcisio Fischer Tareq Alayan Ted Xiao Thomas Grainger +Thomas Hisch Tom Viner Trevor Bekolay Tyler Goodlet diff --git a/_pytest/config.py b/_pytest/config.py index 690f9858774..0d77cfbbf04 100644 ...
diff --git a/testing/logging/test_fixture.py b/testing/logging/test_fixture.py new file mode 100644 index 00000000000..b5bee4233a5 --- /dev/null +++ b/testing/logging/test_fixture.py @@ -0,0 +1,70 @@ +# -*- coding: utf-8 -*- +import logging + + +logger = logging.getLogger(__name__) +sublogger = logging.getLogger(__name...
[ { "path": "changelog/2794.feature", "old_path": "/dev/null", "new_path": "b/changelog/2794.feature", "metadata": "diff --git a/changelog/2794.feature b/changelog/2794.feature\nnew file mode 100644\nindex 00000000000..9cff1c4bb6c\n--- /dev/null\n+++ b/changelog/2794.feature\n@@ -0,0 +1,3 @@\n+Pytest ...
3.3
1480aed78122016f5b98d3bb2de3cfe272e0e148
[ "testing/test_capture.py::TestCaptureFixture::test_stdfd_functional", "testing/test_capture.py::test_capture_early_option_parsing", "testing/test_capture.py::TestPerTestCapturing::test_capture_and_fixtures", "testing/test_capture.py::test_setup_failure_does_not_kill_capturing", "testing/test_capture.py::Tes...
[ "testing/logging/test_reporting.py::test_disable_log_capturing", "testing/logging/test_fixture.py::test_record_tuples", "testing/logging/test_fixture.py::test_clear", "testing/logging/test_fixture.py::test_fixture_help", "testing/logging/test_fixture.py::test_with_statement", "testing/logging/test_reporti...
{ "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": "_pytest/logging.py" }, { "type": "field", "name": "ret" } ] }
[ { "path": "changelog/<PRID>.feature", "old_path": "/dev/null", "new_path": "b/changelog/<PRID>.feature", "metadata": "diff --git a/changelog/<PRID>.feature b/changelog/<PRID>.feature\nnew file mode 100644\nindex 00000000000..9cff1c4bb6c\n--- /dev/null\n+++ b/changelog/<PRID>.feature\n@@ -0,0 +1,3 @@...
diff --git a/changelog/<PRID>.feature b/changelog/<PRID>.feature new file mode 100644 index 00000000000..9cff1c4bb6c --- /dev/null +++ b/changelog/<PRID>.feature @@ -0,0 +1,3 @@ +Pytest now captures and displays output from the standard `logging` module. The user can control the logging level to be captured by specifyi...
psf/requests
psf__requests-6095
https://github.com/psf/requests/pull/6095
diff --git a/.coveragerc b/.coveragerc index e9b51ab174..b5008b2b2f 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,2 +1,2 @@ [run] -omit = requests/packages/* \ No newline at end of file +omit = requests/packages/* diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index e23f4c70ce..060d9262a5 100644...
diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 13fa000028..0000000000 --- a/pytest.ini +++ /dev/null @@ -1,3 +0,0 @@ -[pytest] -addopts = -p no:warnings --doctest-modules -doctest_optionflags= NORMALIZE_WHITESPACE ELLIPSIS \ No newline at end of file diff --git a/tests/__init__.py b/tests/__init__....
[ { "path": "docs/dev/contributing.rst", "old_path": "a/docs/dev/contributing.rst", "new_path": "b/docs/dev/contributing.rst", "metadata": "diff --git a/docs/dev/contributing.rst b/docs/dev/contributing.rst\nindex 63bfdfdbf2..961f7c3aba 100644\n--- a/docs/dev/contributing.rst\n+++ b/docs/dev/contribut...
2.27
2d5517682b3b38547634d153cea43d48fbc8cdb5
[ "tests/test_utils.py::TestSuperLen::test_io_streams[StringIO-Test]", "tests/test_utils.py::TestGetEnvironProxies::test_bypass_no_proxy_keyword[no_proxy-http://www.requests.com/]", "tests/test_structures.py::TestCaseInsensitiveDict::test_getitem[ACCEPT]", "tests/test_utils.py::test_parse_header_links[<http:/.....
[ "tests/test_packages.py::test_can_access_chardet_attribute", "tests/test_packages.py::test_can_access_urllib3_attribute", "tests/test_packages.py::test_can_access_idna_attribute" ]
{ "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": "OSError" }, { "type": "field", "name": "OSError" } ] }
[ { "path": "docs/dev/contributing.rst", "old_path": "a/docs/dev/contributing.rst", "new_path": "b/docs/dev/contributing.rst", "metadata": "diff --git a/docs/dev/contributing.rst b/docs/dev/contributing.rst\nindex 63bfdfdbf2..961f7c3aba 100644\n--- a/docs/dev/contributing.rst\n+++ b/docs/dev/contribut...
diff --git a/docs/dev/contributing.rst b/docs/dev/contributing.rst index 63bfdfdbf2..961f7c3aba 100644 --- a/docs/dev/contributing.rst +++ b/docs/dev/contributing.rst @@ -93,6 +93,21 @@ event that you object to the code review feedback, you should make your case clearly and calmly. If, after doing so, the feedback is ...
psf/requests
psf__requests-5856
https://github.com/psf/requests/pull/5856
diff --git a/HISTORY.md b/HISTORY.md index 59e4a9f707..ccf4e17400 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,7 +4,12 @@ Release History dev --- -- \[Short description of non-trivial change.\] +- \[Short description of non-trivial change.\] + +- Added a `requests.exceptions.JSONDecodeError` to decrease inconsi...
diff --git a/tests/test_requests.py b/tests/test_requests.py index b77cba007d..b6d97dd9f4 100644 --- a/tests/test_requests.py +++ b/tests/test_requests.py @@ -2570,4 +2570,9 @@ def test_parameters_for_nonstandard_schemes(self, input, params, expected): def test_post_json_nan(self, httpbin): data = {"foo":...
[ { "path": "docs/user/quickstart.rst", "old_path": "a/docs/user/quickstart.rst", "new_path": "b/docs/user/quickstart.rst", "metadata": "diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst\nindex b4649f00d5..73d0b2931a 100644\n--- a/docs/user/quickstart.rst\n+++ b/docs/user/quickstart.rst...
2.26
a1a6a549a0143d9b32717dbe3d75cd543ae5a4f6
[ "tests/test_requests.py::TestRequests::test_invalid_url[InvalidSchema-localhost.localdomain:3128/]", "tests/test_requests.py::TestRequests::test_params_bytes_are_encoded", "tests/test_requests.py::TestTimeout::test_invalid_timeout[foo-must be an int, float or None]", "tests/test_requests.py::TestRequests::tes...
[ "tests/test_requests.py::TestPreparingURLs::test_json_decode_compatibility" ]
{ "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": "docs/user/quickstart.rst", "old_path": "a/docs/user/quickstart.rst", "new_path": "b/docs/user/quickstart.rst", "metadata": "diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst\nindex b4649f00d5..73d0b2931a 100644\n--- a/docs/user/quickstart.rst\n+++ b/docs/user/quickstart.rst...
diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index b4649f00d5..73d0b2931a 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -153,9 +153,9 @@ There's also a builtin JSON decoder, in case you're dealing with JSON data:: In case the JSON decoding fails, ``r.json()`` raises an e...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-26464
https://github.com/scikit-learn/scikit-learn/pull/26464
diff --git a/build_tools/update_environments_and_lock_files.py b/build_tools/update_environments_and_lock_files.py index 960c01d4383b8..2da91b72f071a 100644 --- a/build_tools/update_environments_and_lock_files.py +++ b/build_tools/update_environments_and_lock_files.py @@ -93,6 +93,8 @@ def remove_from(alist, to_remove)...
diff --git a/build_tools/azure/pylatest_conda_forge_mkl_linux-64_conda.lock b/build_tools/azure/pylatest_conda_forge_mkl_linux-64_conda.lock index 673981be3e05e..b407d35dbf6e6 100644 --- a/build_tools/azure/pylatest_conda_forge_mkl_linux-64_conda.lock +++ b/build_tools/azure/pylatest_conda_forge_mkl_linux-64_conda.lock...
[ { "path": "doc/whats_new/v1.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 94046c25c6e38..4946576d83056 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -33...
1.04
5a213d64cc8d94d57c8099b8f177a8ada37f6696
[ "sklearn/tests/test_base.py::test_pickle_version_warning_is_issued_upon_different_version", "sklearn/tests/test_base.py::test_n_features_in_no_validation", "sklearn/tests/test_base.py::test_estimator_empty_instance_dict[estimator0]", "sklearn/tests/test_base.py::test_clone_pandas_dataframe", "sklearn/tests/...
[ "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_che...
{ "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.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 94046c25c6e38..4946576d83056 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -33...
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 94046c25c6e38..4946576d83056 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -33,6 +33,16 @@ Changelog :pr:`<PRID>` by :user:`<NAME>`. where <PRID> is the *pull request* number, not the issue number. +Changes impacting al...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-26789
https://github.com/scikit-learn/scikit-learn/pull/26789
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 4ba357c52d136..7c42e4d3920bc 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -78,6 +78,13 @@ Changelog - |Fix| :func:`feature_selection.mutual_info_regression` now correctly computes the result when `X` is of integer dtype. :pr:`...
diff --git a/sklearn/conftest.py b/sklearn/conftest.py index c3db0453918f8..d9a26e4928d26 100644 --- a/sklearn/conftest.py +++ b/sklearn/conftest.py @@ -12,6 +12,7 @@ from _pytest.doctest import DoctestItem from threadpoolctl import threadpool_limits +from sklearn import config_context from sklearn._min_dependenci...
[ { "path": "doc/whats_new/v1.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 4ba357c52d136..7c42e4d3920bc 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -78...
1.04
06812956d3d212fa5ccdbf09749d3c25ac72d7b5
[ "sklearn/tests/test_pipeline.py::test_feature_union_getitem_error[key1]", "sklearn/tests/test_pipeline.py::test_fit_predict_with_intermediate_fit_params", "sklearn/tests/test_pipeline.py::test_feature_union_check_if_fitted", "sklearn/tests/test_pipeline.py::test_pipeline_feature_names_out_error_without_defini...
[ "sklearn/tests/test_pipeline.py::test_routing_passed_metadata_not_supported[decision_function]", "sklearn/tests/test_pipeline.py::test_metadata_routing_for_pipeline", "sklearn/tests/test_pipeline.py::test_routing_passed_metadata_not_supported[inverse_transform]", "sklearn/tests/test_pipeline.py::test_routing_...
{ "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.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 4ba357c52d136..7c42e4d3920bc 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -78...
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 4ba357c52d136..7c42e4d3920bc 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -78,6 +78,13 @@ Changelog - |Fix| :func:`feature_selection.mutual_info_regression` now correctly computes the result when `X` is of integer dtype. :pr:`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-26525
https://github.com/scikit-learn/scikit-learn/pull/26525
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 7c42e4d3920bc..c61901a89a9ba 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -78,6 +78,16 @@ Changelog - |Fix| :func:`feature_selection.mutual_info_regression` now correctly computes the result when `X` is of integer dtype. :pr:`...
diff --git a/sklearn/linear_model/tests/test_logistic.py b/sklearn/linear_model/tests/test_logistic.py index 85f5c2d52b745..e3942098b848e 100644 --- a/sklearn/linear_model/tests/test_logistic.py +++ b/sklearn/linear_model/tests/test_logistic.py @@ -13,6 +13,7 @@ ) from scipy import sparse +from sklearn import confi...
[ { "path": "doc/whats_new/v1.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 7c42e4d3920bc..c61901a89a9ba 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -78...
1.04
4bcd6ea976a485f479ab4a329f8ea06f3615dca3
[ "sklearn/linear_model/tests/test_logistic.py::test_elastic_net_l1_l2_equivalence[l2-0-10]", "sklearn/linear_model/tests/test_logistic.py::test_warm_start[ovr-False-False-newton-cholesky]", "sklearn/linear_model/tests/test_logistic.py::test_liblinear_not_stuck", "sklearn/tests/test_metadata_routing.py::test_in...
[ "sklearn/utils/tests/test_validation.py::test_check_array_links_to_imputer_doc_only_for_X[asarray-y]", "sklearn/utils/tests/test_validation.py::test_check_array_force_all_finite_object", "sklearn/utils/tests/test_validation.py::test_num_features_errors_1d_containers[series-dict]", "sklearn/utils/tests/test_va...
{ "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.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 7c42e4d3920bc..c61901a89a9ba 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -78...
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 7c42e4d3920bc..c61901a89a9ba 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -78,6 +78,16 @@ Changelog - |Fix| :func:`feature_selection.mutual_info_regression` now correctly computes the result when `X` is of integer dtype. :pr:`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-26506
https://github.com/scikit-learn/scikit-learn/pull/26506
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 7c5b5fdef6a0e..94046c25c6e38 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -40,3 +40,11 @@ Thanks to everyone who has contributed to the maintenance and improvement of the project since version 1.3, including: TODO: update at t...
diff --git a/sklearn/tests/test_metadata_routing.py b/sklearn/tests/test_metadata_routing.py index a6e74c12f6e45..d7fab7c9289e1 100644 --- a/sklearn/tests/test_metadata_routing.py +++ b/sklearn/tests/test_metadata_routing.py @@ -24,9 +24,10 @@ from sklearn.utils.metadata_routing import MetadataRouter from sklearn.uti...
[ { "path": "doc/whats_new/v1.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 7c5b5fdef6a0e..94046c25c6e38 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -40...
1.04
cb233674ddffeb1f75f63309f94e4f90d0a2bdf8
[]
[ "sklearn/tests/test_metadata_routing.py::test_nested_routing", "sklearn/tests/test_metadata_routing.py::test_string_representations[obj1-{}]", "sklearn/tests/test_metadata_routing.py::test_request_type_is_valid[False-True]", "sklearn/tests/test_metadata_routing.py::test_default_requests", "sklearn/tests/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.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 7c5b5fdef6a0e..94046c25c6e38 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -40...
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 7c5b5fdef6a0e..94046c25c6e38 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -40,3 +40,11 @@ Thanks to everyone who has contributed to the maintenance and improvement of the project since version 1.3, including: TODO: update at t...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-26831
https://github.com/scikit-learn/scikit-learn/pull/26831
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index b1c675b7175da..e6a57bd551317 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -41,7 +41,7 @@ Changelog or *Miscellaneous*. Entries should end with: :pr:`123456` by :user:`Joe Bloggs <joeongithub>`. - where 123456 is ...
diff --git a/sklearn/tests/test_base.py b/sklearn/tests/test_base.py index 8ec46e1fe9425..ae32cfb9b4408 100644 --- a/sklearn/tests/test_base.py +++ b/sklearn/tests/test_base.py @@ -12,7 +12,13 @@ import sklearn from sklearn import config_context, datasets -from sklearn.base import BaseEstimator, TransformerMixin, c...
[ { "path": "doc/whats_new/v1.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex b1c675b7175da..e6a57bd551317 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -41...
1.04
702316c2718d07b7f51d1cf8ce96d5270a2db1e4
[ "sklearn/tests/test_base.py::test_repr_mimebundle_", "sklearn/tests/test_base.py::test_set_params_updates_valid_params", "sklearn/tests/test_metadata_routing.py::test_invalid_metadata", "sklearn/tests/test_base.py::test_set_params", "sklearn/tests/test_metadata_routing.py::test_request_type_is_alias[None-Fa...
[ "sklearn/tests/test_metadata_routing.py::test_metadata_router_consumes_method", "sklearn/tests/test_base.py::test_outlier_mixin_fit_predict_with_metadata_in_predict", "sklearn/tests/test_base.py::test_transformer_fit_transform_with_metadata_in_transform", "sklearn/tests/test_metadata_routing.py::test_metadata...
{ "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.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex b1c675b7175da..e6a57bd551317 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -41...
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index b1c675b7175da..e6a57bd551317 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -41,7 +41,7 @@ Changelog or *Miscellaneous*. Entries should end with: :pr:`<PRID>` by :user:`<NAME>`. - where <PRID> is the *pull request*...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-26786
https://github.com/scikit-learn/scikit-learn/pull/26786
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 7c42e4d3920bc..c0aaa7f839e9e 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -51,6 +51,9 @@ Changelog passed to the ``fit`` method of the the estimator. :pr:`26506` by `Adrin Jalali`_. +- |Enhancement| :func:`base.clone` now ...
diff --git a/sklearn/model_selection/tests/test_search.py b/sklearn/model_selection/tests/test_search.py index 1bafcf3e76a4a..6ea52049f3ced 100644 --- a/sklearn/model_selection/tests/test_search.py +++ b/sklearn/model_selection/tests/test_search.py @@ -22,6 +22,7 @@ make_multilabel_classification, ) from sklearn...
[ { "path": "doc/whats_new/v1.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 7c42e4d3920bc..c0aaa7f839e9e 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -51...
1.04
ea4a88169f6827f801d83fe2e5680d50bdd861bc
[ "sklearn/model_selection/tests/test_search.py::test__custom_fit_no_run_search", "sklearn/tests/test_base.py::test_pickle_version_warning_is_issued_upon_different_version", "sklearn/model_selection/tests/test_search.py::test_validate_parameter_input[input2-TypeError-Parameter (grid|distribution) for parameter 'f...
[ "sklearn/tests/test_base.py::test_clone_dict", "sklearn/model_selection/tests/test_search.py::test_search_estimator_param[HalvingGridSearchCV-param_grid]", "sklearn/model_selection/tests/test_search.py::test_search_estimator_param[GridSearchCV-param_grid]", "sklearn/model_selection/tests/test_search.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.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 7c42e4d3920bc..c0aaa7f839e9e 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -51...
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 7c42e4d3920bc..c0aaa7f839e9e 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -51,6 +51,9 @@ Changelog passed to the ``fit`` method of the the estimator. :pr:`<PRID>` by `<NAME>`_. +- |Enhancement| :func:`base.clone` now supports...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-26634
https://github.com/scikit-learn/scikit-learn/pull/26634
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 4946576d83056..54aacb3988e81 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -58,3 +58,13 @@ TODO: update at the time of the release. :meth:`base.OutlierMixin.fit_predict` now accept ``**kwargs`` which are passed to the ``fit``...
diff --git a/sklearn/decomposition/tests/test_nmf.py b/sklearn/decomposition/tests/test_nmf.py index 2cd027f90cdd6..45379f403bce9 100644 --- a/sklearn/decomposition/tests/test_nmf.py +++ b/sklearn/decomposition/tests/test_nmf.py @@ -45,9 +45,11 @@ def test_initialize_nn_output(): assert not ((W < 0).any() or (...
[ { "path": "doc/whats_new/v1.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 4946576d83056..54aacb3988e81 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -58...
1.04
9cbcc1f205e8be4dad1f383239e98381abb28bd0
[ "sklearn/decomposition/tests/test_nmf.py::test_parameter_checking", "sklearn/decomposition/tests/test_nmf.py::test_nmf_fit_nn_output[1.0-0.0-nndsvdar-NMF-solver0]", "sklearn/decomposition/tests/test_nmf.py::test_nmf_sparse_input[same-1.0-NMF-solver0]", "sklearn/decomposition/tests/test_nmf.py::test_nmf_fit_nn...
[ "sklearn/decomposition/tests/test_nmf.py::test_nmf_custom_init_shape_error", "sklearn/decomposition/tests/test_nmf.py::test_nmf_n_components_auto[MiniBatchNMF]", "sklearn/decomposition/tests/test_nmf.py::test_nmf_n_components_auto[NMF]", "sklearn/decomposition/tests/test_nmf.py::test_nmf_w_h_not_used_warning"...
{ "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.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 4946576d83056..54aacb3988e81 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -58...
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 4946576d83056..54aacb3988e81 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -58,3 +58,13 @@ TODO: update at the time of the release. :meth:`base.OutlierMixin.fit_predict` now accept ``**kwargs`` which are passed to the ``fit``...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-26391
https://github.com/scikit-learn/scikit-learn/pull/26391
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 7dd916f8c06ad..f0e5b0e1ae3c2 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -92,6 +92,12 @@ Changelog :mod:`sklearn.ensemble` ....................... +- |MajorFeature| :class:`ensemble.RandomForestClassifier` and + :class:`ense...
diff --git a/sklearn/ensemble/tests/test_forest.py b/sklearn/ensemble/tests/test_forest.py index 15d2999b5ef4d..72111c9bb481c 100644 --- a/sklearn/ensemble/tests/test_forest.py +++ b/sklearn/ensemble/tests/test_forest.py @@ -1809,3 +1809,91 @@ def test_round_samples_to_one_when_samples_too_low(class_weight): n...
[ { "path": "doc/whats_new/v1.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 7dd916f8c06ad..f0e5b0e1ae3c2 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -92...
1.04
8f63882bb43db78d3b1684276329512f89ab18bc
[ "sklearn/ensemble/tests/test_forest.py::test_forest_classifier_oob[True-X2-y2-0.65-sparse_csc-RandomForestClassifier]", "sklearn/ensemble/tests/test_forest.py::test_forest_oob_warning[ExtraTreesClassifier]", "sklearn/ensemble/tests/test_forest.py::test_forest_classifier_oob[True-X3-y3-0.18-sparse_csc-ExtraTrees...
[ "sklearn/ensemble/tests/test_forest.py::test_missing_value_is_predictive[RandomForestRegressor]", "sklearn/ensemble/tests/test_forest.py::test_missing_values_is_resilient[make_classification-RandomForestClassifier]", "sklearn/ensemble/tests/test_forest.py::test_missing_value_is_predictive[RandomForestClassifier...
{ "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.4.rst", "old_path": "a/doc/whats_new/v1.4.rst", "new_path": "b/doc/whats_new/v1.4.rst", "metadata": "diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst\nindex 7dd916f8c06ad..f0e5b0e1ae3c2 100644\n--- a/doc/whats_new/v1.4.rst\n+++ b/doc/whats_new/v1.4.rst\n@@ -92...
diff --git a/doc/whats_new/v1.4.rst b/doc/whats_new/v1.4.rst index 7dd916f8c06ad..f0e5b0e1ae3c2 100644 --- a/doc/whats_new/v1.4.rst +++ b/doc/whats_new/v1.4.rst @@ -92,6 +92,12 @@ Changelog :mod:`sklearn.ensemble` ....................... +- |MajorFeature| :class:`ensemble.RandomForestClassifier` and + :class:`ense...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25120
https://github.com/scikit-learn/scikit-learn/pull/25120
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index 4961fb0fec366..204c300b1a9b8 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1247,6 +1247,7 @@ Visualization :template: display_only_from_estimator.rst model_selection.LearningCurveDisplay + model_selection.Validatio...
diff --git a/sklearn/model_selection/tests/test_plot.py b/sklearn/model_selection/tests/test_plot.py index 762af8fe08336..e1e5003bc8a6b 100644 --- a/sklearn/model_selection/tests/test_plot.py +++ b/sklearn/model_selection/tests/test_plot.py @@ -1,3 +1,4 @@ +import numpy as np import pytest from sklearn.datasets imp...
[ { "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 4961fb0fec366..204c300b1a9b8 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
1.03
4f89e717570e76650ca6f73e25c5151f8902dad5
[]
[ "sklearn/utils/tests/test_plotting.py::test_validate_score_name[None-None-False-Score]", "sklearn/model_selection/tests/test_plot.py::test_curve_display_std_display_style[ValidationCurveDisplay-specific_params0]", "sklearn/utils/tests/test_plotting.py::test_validate_score_name[None-metric-True-Negative metric]"...
{ "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 4961fb0fec366..204c300b1a9b8 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 4961fb0fec366..204c300b1a9b8 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1247,6 +1247,7 @@ Visualization :template: display_only_from_estimator.rst model_selection.LearningCurveDisplay + model_selection.Validatio...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24568
https://github.com/scikit-learn/scikit-learn/pull/24568
diff --git a/doc/developers/develop.rst b/doc/developers/develop.rst index 3476e00d98fd5..38531f66f9447 100644 --- a/doc/developers/develop.rst +++ b/doc/developers/develop.rst @@ -425,6 +425,31 @@ Objects that do not provide this method will be deep-copied (using the Python standard function ``copy.deepcopy``) if ``...
diff --git a/sklearn/tests/test_base.py b/sklearn/tests/test_base.py index 2a66df294b554..5e0768066b52f 100644 --- a/sklearn/tests/test_base.py +++ b/sklearn/tests/test_base.py @@ -6,6 +6,7 @@ import scipy.sparse as sp import pytest import warnings +from numpy.testing import assert_allclose import sklearn from s...
[ { "path": "doc/developers/develop.rst", "old_path": "a/doc/developers/develop.rst", "new_path": "b/doc/developers/develop.rst", "metadata": "diff --git a/doc/developers/develop.rst b/doc/developers/develop.rst\nindex 3476e00d98fd5..38531f66f9447 100644\n--- a/doc/developers/develop.rst\n+++ b/doc/de...
1.03
55eaa4ba5c3843b1ffb7180b4a95f387c2ebf49f
[ "sklearn/tests/test_base.py::test_estimator_empty_instance_dict[estimator0]", "sklearn/tests/test_base.py::test_clone_sparse_matrices", "sklearn/tests/test_base.py::test_str", "sklearn/tests/test_base.py::test_n_features_in_no_validation", "sklearn/tests/test_base.py::test_pickling_when_getstate_is_overwrit...
[ "sklearn/tests/test_base.py::test_clone_protocol" ]
{ "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/developers/develop.rst", "old_path": "a/doc/developers/develop.rst", "new_path": "b/doc/developers/develop.rst", "metadata": "diff --git a/doc/developers/develop.rst b/doc/developers/develop.rst\nindex 3476e00d98fd5..38531f66f9447 100644\n--- a/doc/developers/develop.rst\n+++ b/doc/de...
diff --git a/doc/developers/develop.rst b/doc/developers/develop.rst index 3476e00d98fd5..38531f66f9447 100644 --- a/doc/developers/develop.rst +++ b/doc/developers/develop.rst @@ -425,6 +425,31 @@ Objects that do not provide this method will be deep-copied (using the Python standard function ``copy.deepcopy``) if ``...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25815
https://github.com/scikit-learn/scikit-learn/pull/25815
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index bb245aa466152..130c80ea5590a 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -151,6 +151,16 @@ Changelog :pr:`123456` by :user:`Joe Bloggs <joeongithub>`. where 123456 is the *pull request* number, not the issue number. +...
diff --git a/sklearn/tests/test_config.py b/sklearn/tests/test_config.py index 73356e92119a1..9e19ddba43142 100644 --- a/sklearn/tests/test_config.py +++ b/sklearn/tests/test_config.py @@ -19,6 +19,7 @@ def test_config_context(): "pairwise_dist_chunk_size": 256, "enable_cython_pairwise_dist": True, ...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex bb245aa466152..130c80ea5590a 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -15...
1.03
c2f9d9a9331e12d1853e06ee1fe39c7e475d2a74
[ "sklearn/utils/tests/test_param_validation.py::test_is_satisfied_by[random_state-0]", "sklearn/utils/tests/test_param_validation.py::test_make_constraint[int-_InstancesOf]", "sklearn/utils/tests/test_param_validation.py::test_make_constraint[array-like-_ArrayLikes]", "sklearn/utils/tests/test_param_validation...
[ "sklearn/utils/tests/test_param_validation.py::test_skip_param_validation", "sklearn/tests/test_config.py::test_config_context", "sklearn/utils/tests/test_param_validation.py::test_skip_nested_validation_and_config_context[True-False-True]", "sklearn/utils/tests/test_param_validation.py::test_skip_nested_vali...
{ "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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex bb245aa466152..130c80ea5590a 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -15...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index bb245aa466152..130c80ea5590a 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -151,6 +151,16 @@ Changelog :pr:`<PRID>` by :user:`<NAME>`. where <PRID> is the *pull request* number, not the issue number. +:mod:`sklearn` +.....
scikit-learn/scikit-learn
scikit-learn__scikit-learn-26433
https://github.com/scikit-learn/scikit-learn/pull/26433
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 38bf60ab4cd64..a4d8de42c514b 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -238,6 +238,11 @@ Changelog - |Fix| :func:`datasets.fetch_openml` returns improved data types when `as_frame=True` and `parser="liac-arff"`. :pr:`26386`...
diff --git a/sklearn/datasets/tests/test_openml.py b/sklearn/datasets/tests/test_openml.py index fef03a5fd4d40..6f2ba36ff808a 100644 --- a/sklearn/datasets/tests/test_openml.py +++ b/sklearn/datasets/tests/test_openml.py @@ -1354,6 +1354,34 @@ def test_dataset_with_openml_warning(monkeypatch, gzip_response): f...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 38bf60ab4cd64..a4d8de42c514b 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -23...
1.03
4ccf41beeb9618129ddf89200e6d9540ada7f96c
[ "sklearn/datasets/tests/test_openml.py::test_fetch_openml_forcing_targets[petalwidth-liac-arff]", "sklearn/datasets/tests/test_openml.py::test_fetch_openml_error[pandas-61-params1-ValueError-Can only handle homogeneous multi-target datasets-True]", "sklearn/datasets/tests/test_openml.py::test_fetch_openml_equiv...
[ "sklearn/datasets/tests/test_openml.py::test_fetch_openml_overwrite_default_params_read_csv" ]
{ "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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 38bf60ab4cd64..a4d8de42c514b 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -23...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 38bf60ab4cd64..a4d8de42c514b 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -238,6 +238,11 @@ Changelog - |Fix| :func:`datasets.fetch_openml` returns improved data types when `as_frame=True` and `parser="liac-arff"`. :pr:`<PRID>...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25956
https://github.com/scikit-learn/scikit-learn/pull/25956
diff --git a/build_tools/update_environments_and_lock_files.py b/build_tools/update_environments_and_lock_files.py index 3d7ea2ae82464..c175ceed6f662 100644 --- a/build_tools/update_environments_and_lock_files.py +++ b/build_tools/update_environments_and_lock_files.py @@ -88,9 +88,15 @@ def remove_from(alist, to_remove...
diff --git a/build_tools/azure/pylatest_conda_forge_mkl_linux-64_conda.lock b/build_tools/azure/pylatest_conda_forge_mkl_linux-64_conda.lock index f3b23884d3746..ca6884ffd605e 100644 --- a/build_tools/azure/pylatest_conda_forge_mkl_linux-64_conda.lock +++ b/build_tools/azure/pylatest_conda_forge_mkl_linux-64_conda.lock...
[ { "path": "doc/modules/array_api.rst", "old_path": "a/doc/modules/array_api.rst", "new_path": "b/doc/modules/array_api.rst", "metadata": "diff --git a/doc/modules/array_api.rst b/doc/modules/array_api.rst\nindex 0d89ec2ef5879..f9a6e1058c473 100644\n--- a/doc/modules/array_api.rst\n+++ b/doc/modules/...
1.03
3450c4a36dc08877838dac1fbd468abb0a4c7b66
[ "sklearn/tests/test_config.py::test_config_threadsafe_joblib[multiprocessing]", "sklearn/tests/test_config.py::test_config_context_exception", "sklearn/tests/test_config.py::test_set_config", "sklearn/tests/test_config.py::test_config_threadsafe", "sklearn/tests/test_config.py::test_config_context", "skle...
[ "sklearn/tests/test_discriminant_analysis.py::test_lda_orthogonality", "sklearn/utils/tests/test_validation.py::test_num_features_errors_1d_containers[tuple-float]", "sklearn/utils/tests/test_validation.py::test_check_non_negative[bsr_matrix]", "sklearn/utils/tests/test_validation.py::test_check_array_force_a...
{ "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/array_api.rst", "old_path": "a/doc/modules/array_api.rst", "new_path": "b/doc/modules/array_api.rst", "metadata": "diff --git a/doc/modules/array_api.rst b/doc/modules/array_api.rst\nindex 0d89ec2ef5879..f9a6e1058c473 100644\n--- a/doc/modules/array_api.rst\n+++ b/doc/modules/...
diff --git a/doc/modules/array_api.rst b/doc/modules/array_api.rst index 0d89ec2ef5879..f9a6e1058c473 100644 --- a/doc/modules/array_api.rst +++ b/doc/modules/array_api.rst @@ -12,6 +12,8 @@ Array API support (experimental) The `Array API <https://data-apis.org/array-api/latest/>`_ specification defines a standard ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25297
https://github.com/scikit-learn/scikit-learn/pull/25297
diff --git a/doc/model_persistence.rst b/doc/model_persistence.rst index 8f71042b09bb2..9d3d6e941cdc5 100644 --- a/doc/model_persistence.rst +++ b/doc/model_persistence.rst @@ -55,6 +55,19 @@ with:: available `here <https://joblib.readthedocs.io/en/latest/persistence.html>`_. +When an estimator is unpickled w...
diff --git a/sklearn/tests/test_base.py b/sklearn/tests/test_base.py index 226f1fd735322..2a66df294b554 100644 --- a/sklearn/tests/test_base.py +++ b/sklearn/tests/test_base.py @@ -22,6 +22,7 @@ from sklearn.tree import DecisionTreeClassifier from sklearn.tree import DecisionTreeRegressor from sklearn import dataset...
[ { "path": "doc/model_persistence.rst", "old_path": "a/doc/model_persistence.rst", "new_path": "b/doc/model_persistence.rst", "metadata": "diff --git a/doc/model_persistence.rst b/doc/model_persistence.rst\nindex 8f71042b09bb2..9d3d6e941cdc5 100644\n--- a/doc/model_persistence.rst\n+++ b/doc/model_pe...
1.03
c676917697984d57070e4c6291e2b993e496e332
[]
[ "sklearn/tests/test_base.py::test_estimator_empty_instance_dict[estimator0]", "sklearn/tests/test_base.py::test_clone_sparse_matrices", "sklearn/tests/test_base.py::test_str", "sklearn/tests/test_base.py::test_n_features_in_no_validation", "sklearn/tests/test_base.py::test_pickling_when_getstate_is_overwrit...
{ "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/model_persistence.rst", "old_path": "a/doc/model_persistence.rst", "new_path": "b/doc/model_persistence.rst", "metadata": "diff --git a/doc/model_persistence.rst b/doc/model_persistence.rst\nindex 8f71042b09bb2..9d3d6e941cdc5 100644\n--- a/doc/model_persistence.rst\n+++ b/doc/model_pe...
diff --git a/doc/model_persistence.rst b/doc/model_persistence.rst index 8f71042b09bb2..9d3d6e941cdc5 100644 --- a/doc/model_persistence.rst +++ b/doc/model_persistence.rst @@ -55,6 +55,19 @@ with:: available `here <https://joblib.readthedocs.io/en/latest/persistence.html>`_. +When an estimator is unpickled w...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25506
https://github.com/scikit-learn/scikit-learn/pull/25506
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 3ef8a7653b5f7..31ebe9e2d21d6 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -136,6 +136,10 @@ Changelog scikit-learn 1.3: retraining with scikit-learn 1.3 is required. :pr:`25186` by :user:`Felipe Breve Siola <fsiola>`. +- |...
diff --git a/sklearn/ensemble/tests/test_bagging.py b/sklearn/ensemble/tests/test_bagging.py index 330287cefef37..ebe21a594e8eb 100644 --- a/sklearn/ensemble/tests/test_bagging.py +++ b/sklearn/ensemble/tests/test_bagging.py @@ -25,6 +25,8 @@ from sklearn.pipeline import make_pipeline from sklearn.feature_selection i...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 3ef8a7653b5f7..31ebe9e2d21d6 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -13...
1.03
defff702af235be53f61c595702c25da1f26e9e6
[ "sklearn/ensemble/tests/test_bagging.py::test_sparse_classification[csc_matrix-params13-predict_proba]", "sklearn/ensemble/tests/test_bagging.py::test_sparse_classification[csc_matrix-params5-predict_proba]", "sklearn/ensemble/tests/test_bagging.py::test_classification", "sklearn/ensemble/tests/test_bagging.p...
[ "sklearn/ensemble/tests/test_bagging.py::test_bagging_allow_nan_tag[bagging0-True]", "sklearn/ensemble/tests/test_bagging.py::test_bagging_allow_nan_tag[bagging1-True]" ]
{ "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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 3ef8a7653b5f7..31ebe9e2d21d6 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -13...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 3ef8a7653b5f7..31ebe9e2d21d6 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -136,6 +136,10 @@ Changelog scikit-learn 1.3: retraining with scikit-learn 1.3 is required. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :class:...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25102
https://github.com/scikit-learn/scikit-learn/pull/25102
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 08ebf4abc92c3..2b209ee91c027 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -90,6 +90,12 @@ Changelog :pr:`123456` by :user:`Joe Bloggs <joeongithub>`. where 123456 is the *pull request* number, not the issue number. +:m...
diff --git a/sklearn/feature_selection/tests/test_base.py b/sklearn/feature_selection/tests/test_base.py index 9df0749427976..9869a1c03e677 100644 --- a/sklearn/feature_selection/tests/test_base.py +++ b/sklearn/feature_selection/tests/test_base.py @@ -6,23 +6,25 @@ from sklearn.base import BaseEstimator from sklea...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 08ebf4abc92c3..2b209ee91c027 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -90...
1.03
f9a1cf072da9d7375d6c2163f68a6038b13b310f
[ "sklearn/feature_selection/tests/test_feature_select.py::test_r_regression_force_finite[X3-y3-expected_corr_coef3-False]", "sklearn/feature_selection/tests/test_feature_select.py::test_r_regression[True]", "sklearn/feature_selection/tests/test_feature_select.py::test_r_regression_force_finite[X0-y0-expected_cor...
[ "sklearn/feature_selection/tests/test_base.py::test_output_dataframe", "sklearn/feature_selection/tests/test_feature_select.py::test_dataframe_output_dtypes" ]
{ "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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 08ebf4abc92c3..2b209ee91c027 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -90...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 08ebf4abc92c3..2b209ee91c027 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -90,6 +90,12 @@ Changelog :pr:`<PRID>` by :user:`<NAME>`. where <PRID> is the *pull request* number, not the issue number. +:mod:`sklearn.featur...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25587
https://github.com/scikit-learn/scikit-learn/pull/25587
diff --git a/.gitignore b/.gitignore index 47ec8fa2faf79..f6250b4d5f580 100644 --- a/.gitignore +++ b/.gitignore @@ -85,6 +85,7 @@ sklearn/utils/_seq_dataset.pxd sklearn/utils/_weight_vector.pyx sklearn/utils/_weight_vector.pxd sklearn/linear_model/_sag_fast.pyx +sklearn/linear_model/_sgd_fast.pyx sklearn/metrics/_...
diff --git a/sklearn/linear_model/tests/test_sgd.py b/sklearn/linear_model/tests/test_sgd.py index a3944b0497d97..c5f0d4507227e 100644 --- a/sklearn/linear_model/tests/test_sgd.py +++ b/sklearn/linear_model/tests/test_sgd.py @@ -2168,3 +2168,50 @@ def test_sgd_error_on_zero_validation_weight(): def test_sgd_verbose(Es...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex ce579874f886c..57f404854b1dd 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -15...
1.03
e6b46675318950fd5138aaf29ba76f6ce2fd91b8
[ "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_set_i...
[ "sklearn/linear_model/tests/test_sgd.py::test_sgd_dtype_match[float32-SGDOneClassSVM]", "sklearn/linear_model/tests/test_sgd.py::test_sgd_dtype_match[float32-SparseSGDOneClassSVM]", "sklearn/linear_model/tests/test_sgd.py::test_sgd_dtype_match[float32-SparseSGDRegressor]", "sklearn/linear_model/tests/test_sgd...
{ "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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex ce579874f886c..57f404854b1dd 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -15...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index ce579874f886c..57f404854b1dd 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -159,6 +159,13 @@ Changelog - |Enhancement| Added the parameter `fill_value` to :class:`impute.IterativeImputer`. :pr:`<PRID>` by :user:`<NAME>`. +:mo...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25697
https://github.com/scikit-learn/scikit-learn/pull/25697
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 458f3929f6ccf..4fede62e61b34 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -273,9 +273,21 @@ Changelog :mod:`sklearn.linear_model` ........................... -- |Enhancement| :class:`SGDClassifier`, :class:`SGDRegressor` and -...
diff --git a/sklearn/linear_model/tests/test_bayes.py b/sklearn/linear_model/tests/test_bayes.py index 5bb6ae210c5cf..b33e656335e1a 100644 --- a/sklearn/linear_model/tests/test_bayes.py +++ b/sklearn/linear_model/tests/test_bayes.py @@ -73,7 +73,7 @@ def test_bayesian_ridge_score_values(): alpha_2=alpha_2, ...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 458f3929f6ccf..4fede62e61b34 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -27...
1.03
097c3683a73c5805a84e6eada71e4928cb35496e
[ "sklearn/linear_model/tests/test_bayes.py::test_update_sigma[42]", "sklearn/linear_model/tests/test_bayes.py::test_ard_accuracy_on_easy_problem[42-10-100]", "sklearn/linear_model/tests/test_bayes.py::test_ard_accuracy_on_easy_problem[42-100-10]", "sklearn/linear_model/tests/test_bayes.py::test_dtype_match[ARD...
[ "sklearn/linear_model/tests/test_bayes.py::test_update_of_sigma_in_ard", "sklearn/linear_model/tests/test_bayes.py::test_bayesian_ridge_score_values", "sklearn/linear_model/tests/test_bayes.py::test_bayesian_ridge_ard_max_iter_and_n_iter_both_set[BayesianRidge]", "sklearn/linear_model/tests/test_bayes.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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 458f3929f6ccf..4fede62e61b34 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -27...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 458f3929f6ccf..4fede62e61b34 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -273,9 +273,21 @@ Changelog :mod:`sklearn.linear_model` ........................... -- |Enhancement| :class:`SGDClassifier`, :class:`SGDRegressor` and -...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25232
https://github.com/scikit-learn/scikit-learn/pull/25232
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index fa6d3461d3c78..41fec4980aa99 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -107,6 +107,12 @@ Changelog inconsistent with the sckit-learn verion the estimator was pickled with. :pr:`25297` by `Thomas Fan`_. +:mod:`sklearn.im...
diff --git a/sklearn/impute/tests/test_impute.py b/sklearn/impute/tests/test_impute.py index 86553effafcbf..8851d10b0f14c 100644 --- a/sklearn/impute/tests/test_impute.py +++ b/sklearn/impute/tests/test_impute.py @@ -1524,6 +1524,21 @@ def test_iterative_imputer_keep_empty_features(initial_strategy): assert_allclo...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex fa6d3461d3c78..41fec4980aa99 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -10...
1.03
f7eea978097085a6781a0e92fc14ba7712a52d75
[ "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_impute.py::test_iterative_imputer_constant_fill_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/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex fa6d3461d3c78..41fec4980aa99 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -10...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index fa6d3461d3c78..41fec4980aa99 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -107,6 +107,12 @@ Changelog inconsistent with the sckit-learn verion the estimator was pickled with. :pr:`<PRID>` by `<NAME>`_. +:mod:`sklearn.imput...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25531
https://github.com/scikit-learn/scikit-learn/pull/25531
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 477ce9ac9063a..dac97146be221 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -163,7 +163,7 @@ Changelog - |API| The `sample_weight` parameter in `predict` for :meth:`cluster.KMeans.predict` and :meth:`cluster.MiniBatchKMeans.pr...
diff --git a/sklearn/metrics/tests/test_classification.py b/sklearn/metrics/tests/test_classification.py index fcb0e447bb8ba..74a85448a6b11 100644 --- a/sklearn/metrics/tests/test_classification.py +++ b/sklearn/metrics/tests/test_classification.py @@ -47,6 +47,7 @@ from sklearn.metrics._classification import _check...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 477ce9ac9063a..dac97146be221 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -16...
1.03
3043ea6cf96571da0787252401abdb62ee04612f
[]
[ "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...
{ "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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 477ce9ac9063a..dac97146be221 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -16...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 477ce9ac9063a..dac97146be221 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -163,7 +163,7 @@ Changelog - |API| The `sample_weight` parameter in `predict` for :meth:`cluster.KMeans.predict` and :meth:`cluster.MiniBatchKMeans.pr...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24668
https://github.com/scikit-learn/scikit-learn/pull/24668
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index c50672a712f93..c2e9113ef2f33 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -306,6 +306,14 @@ Changelog :pr:`18723` by :user:`Sahil Gupta <sahilgupta2105>` and :pr:`24677` by :user:`Ashwin Mathur <awinml>`. +- |Enhancement| ...
diff --git a/sklearn/metrics/_plot/tests/test_precision_recall_display.py b/sklearn/metrics/_plot/tests/test_precision_recall_display.py index 4d514fa1f32b3..8cad8d70a7071 100644 --- a/sklearn/metrics/_plot/tests/test_precision_recall_display.py +++ b/sklearn/metrics/_plot/tests/test_precision_recall_display.py @@ -65,...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex c50672a712f93..c2e9113ef2f33 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -30...
1.03
c8c51ca719b7c14b65a46029ff492f1057570661
[ "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_ranking_metric_pos_label_types[classes0-average_precision_score]", "sklearn/metrics...
[ "sklearn/metrics/tests/test_ranking.py::test_precision_recall_curve_drop_intermediate", "sklearn/metrics/tests/test_ranking.py::test_precision_recall_curve[True]", "sklearn/metrics/_plot/tests/test_precision_recall_display.py::test_precision_recall_display_plotting[False-predict_proba-from_estimator]", "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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex c50672a712f93..c2e9113ef2f33 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -30...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index c50672a712f93..c2e9113ef2f33 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -306,6 +306,14 @@ Changelog :pr:`<PRID>` by :user:`<NAME>` and :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| A new parameter `drop_intermediate` ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25987
https://github.com/scikit-learn/scikit-learn/pull/25987
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 51b4214145216..74c97d70c9962 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -318,6 +318,12 @@ Changelog curves. :pr:`24668` by :user:`dberenbaum`. +- |Enhancement| :meth:`metrics.RocCurveDisplay.from_estimator` and + :meth:...
diff --git a/sklearn/metrics/_plot/tests/test_roc_curve_display.py b/sklearn/metrics/_plot/tests/test_roc_curve_display.py index 7ba5b35f705f6..672003cbb6326 100644 --- a/sklearn/metrics/_plot/tests/test_roc_curve_display.py +++ b/sklearn/metrics/_plot/tests/test_roc_curve_display.py @@ -125,6 +125,74 @@ def test_roc_c...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 51b4214145216..74c97d70c9962 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -31...
1.03
10dbc142bd17ccf7bd38eec2ac04b52ce0d1009e
[ "sklearn/metrics/_plot/tests/test_roc_curve_display.py::test_roc_curve_display_plotting[from_estimator-LogisticRegression-True-True-False-predict_proba]", "sklearn/metrics/_plot/tests/test_roc_curve_display.py::test_roc_curve_display_complex_pipeline[from_predictions-clf2]", "sklearn/metrics/_plot/tests/test_ro...
[ "sklearn/metrics/_plot/tests/test_roc_curve_display.py::test_roc_curve_chance_level_line[from_predictions-chance_level_kw1-True]", "sklearn/metrics/_plot/tests/test_roc_curve_display.py::test_roc_curve_chance_level_line[from_estimator-None-False]", "sklearn/metrics/_plot/tests/test_roc_curve_display.py::test_ro...
{ "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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 51b4214145216..74c97d70c9962 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -31...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 51b4214145216..74c97d70c9962 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -318,6 +318,12 @@ Changelog curves. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :meth:`metrics.RocCurveDisplay.from_estimator` and + :meth:`me...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-26019
https://github.com/scikit-learn/scikit-learn/pull/26019
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 7ba9c8a119836..307ae0a51dd33 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -403,6 +403,12 @@ Changelog level. This line is exposed in the `chance_level_` attribute. :pr:`25987` by :user:`Yao Xiao <Charlie-XIAO>`. +- |Enhanc...
diff --git a/sklearn/metrics/_plot/tests/test_precision_recall_display.py b/sklearn/metrics/_plot/tests/test_precision_recall_display.py index 7d963d8b87f0a..0bb6501dec89a 100644 --- a/sklearn/metrics/_plot/tests/test_precision_recall_display.py +++ b/sklearn/metrics/_plot/tests/test_precision_recall_display.py @@ -1,3...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 7ba9c8a119836..307ae0a51dd33 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -40...
1.03
4a5f954bddb9fccfc6b25ba5e6482114c8303a61
[ "sklearn/metrics/_plot/tests/test_precision_recall_display.py::test_precision_recall_display_name[from_predictions-Classifier (AP = {:.2f})]", "sklearn/metrics/_plot/tests/test_precision_recall_display.py::test_plot_precision_recall_pos_label[decision_function-from_predictions]", "sklearn/metrics/_plot/tests/te...
[ "sklearn/metrics/_plot/tests/test_precision_recall_display.py::test_precision_recall_display_plotting[False-predict_proba-from_predictions]", "sklearn/metrics/_plot/tests/test_precision_recall_display.py::test_precision_recall_chance_level_line[from_estimator-chance_level_kw1]", "sklearn/metrics/_plot/tests/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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 7ba9c8a119836..307ae0a51dd33 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -40...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 7ba9c8a119836..307ae0a51dd33 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -403,6 +403,12 @@ Changelog level. This line is exposed in the `chance_level_` attribute. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :meth:`me...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25659
https://github.com/scikit-learn/scikit-learn/pull/25659
diff --git a/doc/modules/cross_validation.rst b/doc/modules/cross_validation.rst index 48765d3dae5d7..6158e000cb727 100644 --- a/doc/modules/cross_validation.rst +++ b/doc/modules/cross_validation.rst @@ -208,8 +208,8 @@ two ways: - It allows specifying multiple metrics for evaluation. - It returns a dict containin...
diff --git a/sklearn/model_selection/tests/test_validation.py b/sklearn/model_selection/tests/test_validation.py index dcffda71c1f19..863a366eb4410 100644 --- a/sklearn/model_selection/tests/test_validation.py +++ b/sklearn/model_selection/tests/test_validation.py @@ -63,7 +63,7 @@ from sklearn.impute import SimpleI...
[ { "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 48765d3dae5d7..6158e000cb727 100644\n--- a/doc/module...
1.03
63ff30396a062a88387529a28bdb8a1675e9332e
[ "sklearn/model_selection/tests/test_validation.py::test_cross_validate_all_failing_fits_error[nan]", "sklearn/model_selection/tests/test_validation.py::test_cross_val_predict_unbalanced", "sklearn/model_selection/tests/test_validation.py::test_cross_val_score", "sklearn/model_selection/tests/test_validation.p...
[ "sklearn/model_selection/tests/test_validation.py::test_cross_validate_return_indices[42]" ]
{ "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 48765d3dae5d7..6158e000cb727 100644\n--- a/doc/module...
diff --git a/doc/modules/cross_validation.rst b/doc/modules/cross_validation.rst index 48765d3dae5d7..6158e000cb727 100644 --- a/doc/modules/cross_validation.rst +++ b/doc/modules/cross_validation.rst @@ -208,8 +208,8 @@ two ways: - It allows specifying multiple metrics for evaluation. - It returns a dict containin...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25752
https://github.com/scikit-learn/scikit-learn/pull/25752
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 439b348ce2610..caba58cc82538 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -34,6 +34,15 @@ random sampling procedures. :class:`decomposition.MiniBatchNMF` which can produce different results than previous versions. :pr:`25438...
diff --git a/sklearn/cluster/tests/test_bisect_k_means.py b/sklearn/cluster/tests/test_bisect_k_means.py index 5f69ac1353a39..c79cd0bcca3e8 100644 --- a/sklearn/cluster/tests/test_bisect_k_means.py +++ b/sklearn/cluster/tests/test_bisect_k_means.py @@ -4,34 +4,33 @@ from sklearn.utils._testing import assert_array_eq...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 439b348ce2610..caba58cc82538 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -34...
1.03
b397b8f2d952a26344cc062ff912c663f4afa6d5
[]
[ "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/cluster/tests/test_bisect_k_means.py::test_fit_predict[False]", "sklearn/manifold/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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 439b348ce2610..caba58cc82538 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -34...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 439b348ce2610..caba58cc82538 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -34,6 +34,15 @@ random sampling procedures. :class:`decomposition.MiniBatchNMF` which can produce different results than previous versions. :pr:`<PRID...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25334
https://github.com/scikit-learn/scikit-learn/pull/25334
diff --git a/doc/images/target_encoder_cross_validation.svg b/doc/images/target_encoder_cross_validation.svg new file mode 100644 index 0000000000000..769d5a8affb2e --- /dev/null +++ b/doc/images/target_encoder_cross_validation.svg @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE svg PUBLIC "-//W3C//D...
diff --git a/sklearn/preprocessing/tests/test_target_encoder.py b/sklearn/preprocessing/tests/test_target_encoder.py new file mode 100644 index 0000000000000..41dadb8759b90 --- /dev/null +++ b/sklearn/preprocessing/tests/test_target_encoder.py @@ -0,0 +1,549 @@ +import numpy as np +from numpy.testing import assert_allc...
[ { "path": "doc/images/target_encoder_cross_validation.svg", "old_path": "/dev/null", "new_path": "b/doc/images/target_encoder_cross_validation.svg", "metadata": "diff --git a/doc/images/target_encoder_cross_validation.svg b/doc/images/target_encoder_cross_validation.svg\nnew file mode 100644\nindex ...
1.03
30bf6f39a7126a351db8971d24aa865fa5605569
[]
[ "sklearn/preprocessing/tests/test_target_encoder.py::test_encoding[42-binary-auto-categories2-bear]", "sklearn/preprocessing/tests/test_target_encoder.py::test_encoding[42-continuous-5.0-auto-3]", "sklearn/preprocessing/tests/test_target_encoder.py::test_constant_target_and_feature[4.0-binary-string]", "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": [ { "type": "file", "name": "examples/preprocessing/plot_target_encoder.py" }, { "type": "file", "name": "s...
[ { "path": "doc/images/target_encoder_cross_validation.svg", "old_path": "/dev/null", "new_path": "b/doc/images/target_encoder_cross_validation.svg", "metadata": "diff --git a/doc/images/target_encoder_cross_validation.svg b/doc/images/target_encoder_cross_validation.svg\nnew file mode 100644\nindex ...
diff --git a/doc/images/target_encoder_cross_validation.svg b/doc/images/target_encoder_cross_validation.svg new file mode 100644 index 0000000000000..769d5a8affb2e --- /dev/null +++ b/doc/images/target_encoder_cross_validation.svg @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE svg PUBLIC "-//W3C//D...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25677
https://github.com/scikit-learn/scikit-learn/pull/25677
diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index 86f2d29cf4ecf..dc151871874d4 100644 --- a/doc/modules/preprocessing.rst +++ b/doc/modules/preprocessing.rst @@ -729,14 +729,15 @@ separate categories:: See :ref:`dict_feature_extraction` for categorical features that are represented as a...
diff --git a/sklearn/preprocessing/tests/test_encoders.py b/sklearn/preprocessing/tests/test_encoders.py index a4fea0ee92dbc..ffd5eda5195d0 100644 --- a/sklearn/preprocessing/tests/test_encoders.py +++ b/sklearn/preprocessing/tests/test_encoders.py @@ -2051,3 +2051,256 @@ def test_drop_idx_infrequent_categories(): ...
[ { "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 86f2d29cf4ecf..dc151871874d4 100644\n--- a/doc/modules/preprocessing...
1.03
49a937e974190b4ab20c7506052ce8a67c129da1
[ "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder_specified_categories[object-string-ignore]", "sklearn/preprocessing/tests/test_encoders.py::test_encoders_string_categories[array-O-U]", "sklearn/preprocessing/tests/test_encoders.py::test_one_hot_encoder[mixed]", "sklearn/preprocessing/tests...
[ "sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_all_infrequent[kwargs0]", "sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_infrequent_three_levels[kwargs2]", "sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_all_frequent[kwargs0]", "sklearn/preprocessin...
{ "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 86f2d29cf4ecf..dc151871874d4 100644\n--- a/doc/modules/preprocessing...
diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index 86f2d29cf4ecf..dc151871874d4 100644 --- a/doc/modules/preprocessing.rst +++ b/doc/modules/preprocessing.rst @@ -729,14 +729,15 @@ separate categories:: See :ref:`dict_feature_extraction` for categorical features that are represented as a...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24145
https://github.com/scikit-learn/scikit-learn/pull/24145
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 9cab0db995c5d..ec1301844b877 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -487,6 +487,11 @@ Changelog categorical encoding based on target mean conditioned on the value of the category. :pr:`25334` by `Thomas Fan`_. +- |En...
diff --git a/sklearn/preprocessing/tests/test_polynomial.py b/sklearn/preprocessing/tests/test_polynomial.py index 727b31b793b1d..1062a3da820e7 100644 --- a/sklearn/preprocessing/tests/test_polynomial.py +++ b/sklearn/preprocessing/tests/test_polynomial.py @@ -35,6 +35,22 @@ def is_c_contiguous(a): assert np.isfor...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 9cab0db995c5d..ec1301844b877 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -48...
1.03
55af30d981ea2f72346ff93602f0b3b740cfe8d6
[ "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[csc_matrix-degree15-False-True-indices15]", "sklearn/preprocessing/tests/test_polynomial.py::test_polynomial_features_one_feature[csc_m...
[ "sklearn/preprocessing/tests/test_polynomial.py::test_spline_transformer_n_features_out[False-constant-4-False-5]", "sklearn/preprocessing/tests/test_polynomial.py::test_spline_transformer_n_features_out[False-periodic-4-False-5]", "sklearn/preprocessing/tests/test_polynomial.py::test_spline_transformer_n_featu...
{ "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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 9cab0db995c5d..ec1301844b877 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -48...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 9cab0db995c5d..ec1301844b877 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -487,6 +487,11 @@ Changelog categorical encoding based on target mean conditioned on the value of the category. :pr:`<PRID>` by `<NAME>`_. +- |Enhan...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25220
https://github.com/scikit-learn/scikit-learn/pull/25220
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index fa6d3461d3c78..e6911d90a7d77 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -142,6 +142,12 @@ Changelog `feature_union["scalar"]`) to access transformers by name. :pr:`25093` by `Thomas Fan`_. +- |Feature| :class:`pipeline.F...
diff --git a/sklearn/tests/test_pipeline.py b/sklearn/tests/test_pipeline.py index 342dc12b966c9..fa7fa2ad20dcf 100644 --- a/sklearn/tests/test_pipeline.py +++ b/sklearn/tests/test_pipeline.py @@ -1647,3 +1647,35 @@ def test_feature_union_getitem_error(key): msg = "Only string keys are supported" with pytest....
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex fa6d3461d3c78..e6911d90a7d77 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -14...
1.03
9b536c1db91f8ae76706670bc8d187fade86407d
[ "sklearn/tests/test_pipeline.py::test_feature_union_getitem_error[key1]", "sklearn/tests/test_pipeline.py::test_fit_predict_with_intermediate_fit_params", "sklearn/tests/test_pipeline.py::test_feature_union_check_if_fitted", "sklearn/tests/test_pipeline.py::test_pipeline_feature_names_out_error_without_defini...
[ "sklearn/tests/test_pipeline.py::test_feature_union_feature_names_in_" ]
{ "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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex fa6d3461d3c78..e6911d90a7d77 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -14...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index fa6d3461d3c78..e6911d90a7d77 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -142,6 +142,12 @@ Changelog `feature_union["scalar"]`) to access transformers by name. :pr:`<PRID>` by `Thomas Fan`_. +- |Feature| :class:`pipeline....
scikit-learn/scikit-learn
scikit-learn__scikit-learn-25387
https://github.com/scikit-learn/scikit-learn/pull/25387
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index a083d8600fe4b..08ebf4abc92c3 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -206,6 +206,14 @@ Changelog The `sample_interval_` attribute is deprecated and will be removed in 1.5. :pr:`25190` by :user:`Vincent Maladière <Vincen...
diff --git a/sklearn/tree/tests/test_export.py b/sklearn/tree/tests/test_export.py index 657860a435c05..8865cb724a02a 100644 --- a/sklearn/tree/tests/test_export.py +++ b/sklearn/tree/tests/test_export.py @@ -357,6 +357,13 @@ def test_export_text_errors(): err_msg = "feature_names must contain 2 elements, got 1" ...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex a083d8600fe4b..08ebf4abc92c3 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -20...
1.03
7970d78cfc1f8e705a8f417f29bb47b08e1bf0aa
[ "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_graphviz_toy", "sklearn/tree/tests/test_export.py::test_plot_tree_gini", "sklearn/tre...
[ "sklearn/tree/tests/test_export.py::test_export_text", "sklearn/tree/tests/test_export.py::test_export_text_errors" ]
{ "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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex a083d8600fe4b..08ebf4abc92c3 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -20...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index a083d8600fe4b..08ebf4abc92c3 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -206,6 +206,14 @@ Changelog The `sample_interval_` attribute is deprecated and will be removed in 1.5. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklear...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-26424
https://github.com/scikit-learn/scikit-learn/pull/26424
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 2587e605cc5a5..8b3d59c7e8cd3 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -531,6 +531,15 @@ Changelog is enabled by specifying how to select infrequent categories with `min_frequency` or `max_categories`. :pr:`25677` by `Tho...
diff --git a/sklearn/preprocessing/tests/test_discretization.py b/sklearn/preprocessing/tests/test_discretization.py index 89a646d08198e..715ad66ecb6b2 100644 --- a/sklearn/preprocessing/tests/test_discretization.py +++ b/sklearn/preprocessing/tests/test_discretization.py @@ -49,6 +49,8 @@ ), ], ) +# TOD...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 2587e605cc5a5..8b3d59c7e8cd3 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -53...
1.03
42ca7183ce34b69252e831550512c848fcb17a4d
[ "sklearn/preprocessing/tests/test_discretization.py::test_consistent_dtype[ordinal-float32-float32]", "sklearn/preprocessing/tests/test_target_encoder.py::test_custom_categories[auto-X1-categories1]", "sklearn/preprocessing/tests/test_target_encoder.py::test_multiple_features_quick[binary-str-1.0-True]", "skl...
[ "sklearn/preprocessing/tests/test_discretization.py::test_kbd_subsample_warning[kmeans]", "sklearn/preprocessing/tests/test_discretization.py::test_kbd_subsample_warning[uniform]", "sklearn/preprocessing/tests/test_discretization.py::test_kbinsdiscretizer_subsample[42-kmeans]", "sklearn/preprocessing/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/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 2587e605cc5a5..8b3d59c7e8cd3 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -53...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 2587e605cc5a5..8b3d59c7e8cd3 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -531,6 +531,15 @@ Changelog is enabled by specifying how to select infrequent categories with `min_frequency` or `max_categories`. :pr:`<PRID>` by `<N...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19664
https://github.com/scikit-learn/scikit-learn/pull/19664
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 3ef8a7653b5f7..a95a80cb1fd02 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -210,6 +210,13 @@ Changelog during `transform` with no prior call to `fit` or `fit_transform`. :pr:`25190` by :user:`Vincent Maladière <Vincent-Maladi...
diff --git a/sklearn/semi_supervised/tests/test_label_propagation.py b/sklearn/semi_supervised/tests/test_label_propagation.py index bc56ffd309a1f..2610719dd9c53 100644 --- a/sklearn/semi_supervised/tests/test_label_propagation.py +++ b/sklearn/semi_supervised/tests/test_label_propagation.py @@ -15,6 +15,9 @@ asse...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 3ef8a7653b5f7..a95a80cb1fd02 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -21...
1.03
2620a5545a806ee416d9d10e07c2de30cdd9bf20
[ "sklearn/semi_supervised/tests/test_label_propagation.py::test_distribution[float64-LabelSpreading-parameters5]", "sklearn/semi_supervised/tests/test_label_propagation.py::test_label_spreading_closed_form[float64-LabelPropagation-parameters2-0.9]", "sklearn/semi_supervised/tests/test_label_propagation.py::test_...
[ "sklearn/semi_supervised/tests/test_label_propagation.py::test_sparse_input_types[LabelPropagation-parameters2-float32-int32-sparse_csr]", "sklearn/semi_supervised/tests/test_label_propagation.py::test_sparse_input_types[LabelPropagation-parameters2-float64-int32-sparse_csr]", "sklearn/semi_supervised/tests/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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 3ef8a7653b5f7..a95a80cb1fd02 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -21...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 3ef8a7653b5f7..a95a80cb1fd02 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -210,6 +210,13 @@ Changelog during `transform` with no prior call to `fit` or `fit_transform`. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.semi_s...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23595
https://github.com/scikit-learn/scikit-learn/pull/23595
diff --git a/doc/modules/tree.rst b/doc/modules/tree.rst index 789b0bab616ca..f7d43c5a3d7da 100644 --- a/doc/modules/tree.rst +++ b/doc/modules/tree.rst @@ -572,6 +572,65 @@ Mean Absolute Error: Note that it fits much slower than the MSE criterion. +.. _tree_missing_value_support: + +Missing Values Support +======...
diff --git a/sklearn/tree/tests/test_tree.py b/sklearn/tree/tests/test_tree.py index 1f3a9bf394b9b..ea3e40fddb7a5 100644 --- a/sklearn/tree/tests/test_tree.py +++ b/sklearn/tree/tests/test_tree.py @@ -2414,3 +2414,190 @@ def test_min_sample_split_1_error(Tree): ) with pytest.raises(ValueError, match=msg): ...
[ { "path": "doc/modules/tree.rst", "old_path": "a/doc/modules/tree.rst", "new_path": "b/doc/modules/tree.rst", "metadata": "diff --git a/doc/modules/tree.rst b/doc/modules/tree.rst\nindex 789b0bab616ca..f7d43c5a3d7da 100644\n--- a/doc/modules/tree.rst\n+++ b/doc/modules/tree.rst\n@@ -572,6 +572,65 @@...
1.03
ae35ce83679ccef74932fbfe554d1e1ea63ff6fa
[ "sklearn/tree/tests/test_tree.py::test_prune_tree_regression_are_subtrees[DecisionTreeRegressor-sparse-neg-squared_error]", "sklearn/tree/tests/test_tree.py::test_1d_input[ExtraTreeRegressor]", "sklearn/tree/tests/test_tree.py::test_diabetes_overfit[poisson-DecisionTreeRegressor-DecisionTreeRegressor]", "skle...
[ "sklearn/tree/tests/test_tree.py::test_missing_values_best_splitter_to_right[entropy]", "sklearn/tree/tests/test_tree.py::test_missing_values_best_splitter_to_right[gini]", "sklearn/tree/tests/test_tree.py::test_missing_values_missing_both_classes_has_nan[entropy]", "sklearn/tree/tests/test_tree.py::test_miss...
{ "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/tree.rst", "old_path": "a/doc/modules/tree.rst", "new_path": "b/doc/modules/tree.rst", "metadata": "diff --git a/doc/modules/tree.rst b/doc/modules/tree.rst\nindex 789b0bab616ca..f7d43c5a3d7da 100644\n--- a/doc/modules/tree.rst\n+++ b/doc/modules/tree.rst\n@@ -572,6 +572,65 @@...
diff --git a/doc/modules/tree.rst b/doc/modules/tree.rst index 789b0bab616ca..f7d43c5a3d7da 100644 --- a/doc/modules/tree.rst +++ b/doc/modules/tree.rst @@ -572,6 +572,65 @@ Mean Absolute Error: Note that it fits much slower than the MSE criterion. +.. _tree_missing_value_support: + +Missing Values Support +======...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24354
https://github.com/scikit-learn/scikit-learn/pull/24354
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 1427e61c03385..dabdcd90c416c 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -54,6 +54,10 @@ random sampling procedures. scores will all be set to the maximum possible rank. :pr:`24543` by :user:`Guillaume Lemaitre <glemaitre>`...
diff --git a/sklearn/metrics/tests/test_classification.py b/sklearn/metrics/tests/test_classification.py index 3ea0086ddda72..59f53f35bb502 100644 --- a/sklearn/metrics/tests/test_classification.py +++ b/sklearn/metrics/tests/test_classification.py @@ -2542,6 +2542,28 @@ def test_log_loss(): assert_almost_equal(lo...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 1427e61c03385..dabdcd90c416c 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -54...
1.02
3e47fa91b6ed73f358105f2a1c6501e14f633bba
[ "sklearn/metrics/tests/test_common.py::test_single_sample_multioutput[samples_f2_score]", "sklearn/metrics/tests/test_common.py::test_regression_thresholded_inf_nan_input[y_true3-y_score3-metric18]", "sklearn/metrics/tests/test_common.py::test_binary_sample_weight_invariance[top_k_accuracy_score]", "sklearn/m...
[ "sklearn/metrics/tests/test_classification.py::test_log_loss_eps_auto_float16", "sklearn/metrics/tests/test_classification.py::test_log_loss_eps_auto[float64]" ]
{ "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 1427e61c03385..dabdcd90c416c 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -54...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 1427e61c03385..dabdcd90c416c 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -54,6 +54,10 @@ random sampling procedures. scores will all be set to the maximum possible rank. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| Th...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21938
https://github.com/scikit-learn/scikit-learn/pull/21938
diff --git a/asv_benchmarks/benchmarks/datasets.py b/asv_benchmarks/benchmarks/datasets.py index d6ac5a5f33a84..dbe0eac0b822c 100644 --- a/asv_benchmarks/benchmarks/datasets.py +++ b/asv_benchmarks/benchmarks/datasets.py @@ -59,7 +59,9 @@ def _20newsgroups_lowdim_dataset(n_components=100, ngrams=(1, 1), dtype=np.float ...
diff --git a/sklearn/datasets/tests/test_arff_parser.py b/sklearn/datasets/tests/test_arff_parser.py new file mode 100644 index 0000000000000..3a06a3c338394 --- /dev/null +++ b/sklearn/datasets/tests/test_arff_parser.py @@ -0,0 +1,73 @@ +import pytest + +from sklearn.datasets._arff_parser import ( + _post_process_fr...
[ { "path": "doc/datasets/loading_other_datasets.rst", "old_path": "a/doc/datasets/loading_other_datasets.rst", "new_path": "b/doc/datasets/loading_other_datasets.rst", "metadata": "diff --git a/doc/datasets/loading_other_datasets.rst b/doc/datasets/loading_other_datasets.rst\nindex b77bbd120aeb2..ef1...
1.02
70c495250fea7fa3c8c1a4631e6ddcddc9f22451
[ "sklearn/datasets/tests/test_openml.py::test_open_openml_url_cache[True]", "sklearn/datasets/tests/test_openml.py::test_retry_with_clean_cache_http_error", "sklearn/datasets/tests/test_openml.py::test_fetch_openml_raises_illegal_argument[params3-ValueError-Neither name nor data_id are provided. Please provide n...
[ "sklearn/datasets/tests/test_openml.py::test_fetch_openml_forcing_targets[petalwidth-liac-arff]", "sklearn/datasets/tests/test_openml.py::test_fetch_openml_error[pandas-61-params1-ValueError-Can only handle homogeneous multi-target datasets-True]", "sklearn/datasets/tests/test_openml.py::test_fetch_openml_equiv...
{ "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/datasets/loading_other_datasets.rst", "old_path": "a/doc/datasets/loading_other_datasets.rst", "new_path": "b/doc/datasets/loading_other_datasets.rst", "metadata": "diff --git a/doc/datasets/loading_other_datasets.rst b/doc/datasets/loading_other_datasets.rst\nindex b77bbd120aeb2..ef1...
diff --git a/doc/datasets/loading_other_datasets.rst b/doc/datasets/loading_other_datasets.rst index b77bbd120aeb2..ef13777420868 100644 --- a/doc/datasets/loading_other_datasets.rst +++ b/doc/datasets/loading_other_datasets.rst @@ -99,7 +99,7 @@ from the repository using the function For example, to download a datase...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24076
https://github.com/scikit-learn/scikit-learn/pull/24076
diff --git a/.gitignore b/.gitignore index f6250b4d5f580..89600846100a8 100644 --- a/.gitignore +++ b/.gitignore @@ -90,6 +90,7 @@ sklearn/metrics/_dist_metrics.pyx sklearn/metrics/_dist_metrics.pxd sklearn/metrics/_pairwise_distances_reduction/_argkmin.pxd sklearn/metrics/_pairwise_distances_reduction/_argkmin.pyx ...
diff --git a/sklearn/metrics/tests/test_pairwise_distances_reduction.py b/sklearn/metrics/tests/test_pairwise_distances_reduction.py index ad0ddbc60e9bd..7355dfd6ba912 100644 --- a/sklearn/metrics/tests/test_pairwise_distances_reduction.py +++ b/sklearn/metrics/tests/test_pairwise_distances_reduction.py @@ -13,10 +13,1...
[ { "path": "doc/whats_new/v1.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 1fe4289982993..439b348ce2610 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -29...
1.03
30bf6f39a7126a351db8971d24aa865fa5605569
[]
[ "sklearn/metrics/tests/test_pairwise_distances_reduction.py::test_pairwise_distances_argkmin[42-float64-parallel_on_X-minkowski-1000000.0-50]", "sklearn/metrics/tests/test_pairwise_distances_reduction.py::test_strategies_consistency[42-float32-RadiusNeighbors-seuclidean-500-100]", "sklearn/neighbors/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.3.rst", "old_path": "a/doc/whats_new/v1.3.rst", "new_path": "b/doc/whats_new/v1.3.rst", "metadata": "diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst\nindex 1fe4289982993..439b348ce2610 100644\n--- a/doc/whats_new/v1.3.rst\n+++ b/doc/whats_new/v1.3.rst\n@@ -29...
diff --git a/doc/whats_new/v1.3.rst b/doc/whats_new/v1.3.rst index 1fe4289982993..439b348ce2610 100644 --- a/doc/whats_new/v1.3.rst +++ b/doc/whats_new/v1.3.rst @@ -292,6 +292,11 @@ Changelog dissimilarity is not a metric and cannot be supported by the BallTree. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23210
https://github.com/scikit-learn/scikit-learn/pull/23210
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index e4e2a08ea27f0..ede154619526e 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -19,6 +19,12 @@ parameters, may produce different models from the previous version. This often occurs due to changes in the modelling logic (bug fixes or e...
diff --git a/sklearn/manifold/tests/test_spectral_embedding.py b/sklearn/manifold/tests/test_spectral_embedding.py index 38e555643b034..c41ac6662055d 100644 --- a/sklearn/manifold/tests/test_spectral_embedding.py +++ b/sklearn/manifold/tests/test_spectral_embedding.py @@ -1,3 +1,4 @@ +from unittest.mock import Mock im...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex e4e2a08ea27f0..ede154619526e 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -19...
1.02
8ea2997dfcd72126cdd6793a2c5293406407b1dc
[ "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_two_components[float64-...
[ "sklearn/manifold/tests/test_spectral_embedding.py::test_spectral_eigen_tol_auto[arpack]", "sklearn/manifold/tests/test_spectral_embedding.py::test_spectral_eigen_tol_auto[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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex e4e2a08ea27f0..ede154619526e 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -19...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index e4e2a08ea27f0..ede154619526e 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -19,6 +19,12 @@ parameters, may produce different models from the previous version. This often occurs due to changes in the modelling logic (bug fixes or e...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19075
https://github.com/scikit-learn/scikit-learn/pull/19075
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 09beb091cc56f..f6072d1023d7f 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -220,6 +220,11 @@ Changelog - |Enhancement| :func:`datasets.dump_svmlight_file` is now accelerated with a Cython implementation, providing 2-4x speedups...
diff --git a/sklearn/datasets/tests/test_svmlight_format.py b/sklearn/datasets/tests/test_svmlight_format.py index 6a85faf82b8a2..5d27aefea54c3 100644 --- a/sklearn/datasets/tests/test_svmlight_format.py +++ b/sklearn/datasets/tests/test_svmlight_format.py @@ -11,7 +11,7 @@ import pytest from sklearn.utils._testing...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 09beb091cc56f..f6072d1023d7f 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -22...
1.02
288399c39e7c137c575e1f5ce86ba2b27fde92dc
[ "sklearn/datasets/tests/test_svmlight_format.py::test_load_with_offsets[7-13-0.99]", "sklearn/datasets/tests/test_svmlight_format.py::test_load_svmlight_file_multilabel", "sklearn/datasets/tests/test_svmlight_format.py::test_load_with_offsets_error", "sklearn/datasets/tests/test_svmlight_format.py::test_load_...
[ "sklearn/datasets/tests/test_svmlight_format.py::test_load_svmlight_pathlib" ]
{ "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 09beb091cc56f..f6072d1023d7f 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -22...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 09beb091cc56f..f6072d1023d7f 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -220,6 +220,11 @@ Changelog - |Enhancement| :func:`datasets.dump_svmlight_file` is now accelerated with a Cython implementation, providing 2-4x speedups...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22554
https://github.com/scikit-learn/scikit-learn/pull/22554
diff --git a/doc/dispatching.rst b/doc/dispatching.rst new file mode 100644 index 0000000000000..d42fdcc86f9e8 --- /dev/null +++ b/doc/dispatching.rst @@ -0,0 +1,14 @@ +.. Places parent toc into the sidebar + +:parenttoc: True + +.. include:: includes/big_toc_css.rst + +=========== +Dispatching +=========== + +.. toctr...
diff --git a/doc/conftest.py b/doc/conftest.py index 10253efeabf98..ab68b2f4bc7c5 100644 --- a/doc/conftest.py +++ b/doc/conftest.py @@ -107,6 +107,14 @@ def skip_if_matplotlib_not_installed(fname): raise SkipTest(f"Skipping doctests for {basename}, matplotlib not installed") +def skip_if_cupy_not_installe...
[ { "path": "doc/conftest.py", "old_path": "a/doc/conftest.py", "new_path": "b/doc/conftest.py", "metadata": "diff --git a/doc/conftest.py b/doc/conftest.py\nindex 10253efeabf98..ab68b2f4bc7c5 100644\n--- a/doc/conftest.py\n+++ b/doc/conftest.py\n@@ -107,6 +107,14 @@ def skip_if_matplotlib_not_install...
1.02
3a9e51bb58ab4d85ae886265238dcb3aeaf251bb
[ "sklearn/tests/test_config.py::test_config_threadsafe_joblib[loky]", "sklearn/tests/test_config.py::test_config_threadsafe", "sklearn/tests/test_config.py::test_config_threadsafe_joblib[multiprocessing]", "sklearn/tests/test_config.py::test_set_config", "sklearn/tests/test_config.py::test_config_context_exc...
[ "sklearn/tests/test_discriminant_analysis.py::test_qda_prior_type[array]", "sklearn/tests/test_discriminant_analysis.py::test_lda_predict_proba[svd-2]", "sklearn/tests/test_discriminant_analysis.py::test_covariance", "sklearn/tests/test_discriminant_analysis.py::test_lda_dimension_warning[5-3]", "sklearn/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": [ { "type": "file", "name": "sklearn/utils/_array_api.py" } ] }
[ { "path": "doc/conftest.py", "old_path": "a/doc/conftest.py", "new_path": "b/doc/conftest.py", "metadata": "diff --git a/doc/conftest.py b/doc/conftest.py\nindex 10253efeabf98..ab68b2f4bc7c5 100644\n--- a/doc/conftest.py\n+++ b/doc/conftest.py\n@@ -107,6 +107,14 @@ def skip_if_matplotlib_not_install...
diff --git a/doc/conftest.py b/doc/conftest.py index 10253efeabf98..ab68b2f4bc7c5 100644 --- a/doc/conftest.py +++ b/doc/conftest.py @@ -107,6 +107,14 @@ def skip_if_matplotlib_not_installed(fname): raise SkipTest(f"Skipping doctests for {basename}, matplotlib not installed") +def skip_if_cupy_not_installe...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23905
https://github.com/scikit-learn/scikit-learn/pull/23905
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 2e174eb5044b2..109679872cd60 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -125,6 +125,11 @@ Changelog its memory footprint and runtime. :pr:`22268` by :user:`MohamedBsh <Bsh>`. +- |Enhancement| :class:`decomposition.Sparse...
diff --git a/sklearn/decomposition/tests/test_sparse_pca.py b/sklearn/decomposition/tests/test_sparse_pca.py index b1d9e54d651ac..1805a65ede4c5 100644 --- a/sklearn/decomposition/tests/test_sparse_pca.py +++ b/sklearn/decomposition/tests/test_sparse_pca.py @@ -313,3 +313,38 @@ def test_spca_early_stopping(global_random...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 2e174eb5044b2..109679872cd60 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -12...
1.02
8175cd60e3df606905aedf2dd3ba0832e50cd963
[ "sklearn/decomposition/tests/test_sparse_pca.py::test_pca_vs_spca", "sklearn/decomposition/tests/test_sparse_pca.py::test_sparse_pca_dtype_match[float64-float64-lars-SparsePCA]", "sklearn/decomposition/tests/test_sparse_pca.py::test_sparse_pca_dtype_match[int32-float64-cd-SparsePCA]", "sklearn/decomposition/t...
[ "sklearn/decomposition/tests/test_sparse_pca.py::test_transform_inverse_transform_round_trip[SparsePCA]", "sklearn/decomposition/tests/test_sparse_pca.py::test_transform_inverse_transform_round_trip[MiniBatchSparsePCA]", "sklearn/decomposition/tests/test_sparse_pca.py::test_sparse_pca_inverse_transform" ]
{ "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 2e174eb5044b2..109679872cd60 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -12...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 2e174eb5044b2..109679872cd60 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -125,6 +125,11 @@ Changelog its memory footprint and runtime. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :class:`decomposition.SparsePCA` and ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24538
https://github.com/scikit-learn/scikit-learn/pull/24538
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 7b7c33cb71cfd..ee8a2c783f738 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -266,6 +266,9 @@ Changelog :mod:`sklearn.ensemble` ....................... +- |Enhancement| :class:`ensemble.StackingClassifier` now accepts any kind of...
diff --git a/sklearn/ensemble/tests/test_common.py b/sklearn/ensemble/tests/test_common.py index 6c438571eaf39..8dbbf0fae67f7 100644 --- a/sklearn/ensemble/tests/test_common.py +++ b/sklearn/ensemble/tests/test_common.py @@ -136,11 +136,12 @@ def test_ensemble_heterogeneous_estimators_behavior(X, y, estimator): @pyt...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 7b7c33cb71cfd..ee8a2c783f738 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -26...
1.02
935f7e66068fc130971646225a95ade649f57928
[ "sklearn/ensemble/tests/test_stacking.py::test_stacking_regressor_error[y0-params0-ValueError-Invalid 'estimators' attribute,]", "sklearn/ensemble/tests/test_stacking.py::test_stacking_classifier_sparse_passthrough[csr]", "sklearn/ensemble/tests/test_stacking.py::test_stacking_cv_influence[StackingRegressor]", ...
[ "sklearn/ensemble/tests/test_stacking.py::test_stacking_classifier_base_regressor" ]
{ "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 7b7c33cb71cfd..ee8a2c783f738 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -26...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 7b7c33cb71cfd..ee8a2c783f738 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -266,6 +266,9 @@ Changelog :mod:`sklearn.ensemble` ....................... +- |Enhancement| :class:`ensemble.StackingClassifier` now accepts any kind of...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24146
https://github.com/scikit-learn/scikit-learn/pull/24146
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 9960f9b9027e5..2337fedd789d9 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -213,6 +213,12 @@ Changelog - |Efficiency| Improve runtime performance of :class:`ensemble.IsolationForest` by avoiding data copies. :pr:`23252` by :use...
diff --git a/sklearn/ensemble/tests/test_stacking.py b/sklearn/ensemble/tests/test_stacking.py index a0ff3a9adaaf7..e301ce8c56fb8 100644 --- a/sklearn/ensemble/tests/test_stacking.py +++ b/sklearn/ensemble/tests/test_stacking.py @@ -20,16 +20,20 @@ from sklearn.datasets import load_breast_cancer from sklearn.datasets...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 9960f9b9027e5..2337fedd789d9 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -21...
1.02
7fda68d45734d41e47da1f57d23348ae8de655b0
[ "sklearn/ensemble/tests/test_stacking.py::test_stacking_regressor_error[y0-params0-ValueError-Invalid 'estimators' attribute,]", "sklearn/ensemble/tests/test_stacking.py::test_get_feature_names_out[True-StackingRegressor]", "sklearn/ensemble/tests/test_stacking.py::test_stacking_regressor_diabetes[True-final_es...
[ "sklearn/ensemble/tests/test_stacking.py::test_stacking_classifier_multilabel_auto_predict[True-predict]", "sklearn/ensemble/tests/test_stacking.py::test_stacking_classifier_multilabel_auto_predict[False-auto]", "sklearn/ensemble/tests/test_stacking.py::test_stacking_classifier_multilabel_decision_function", ...
{ "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 9960f9b9027e5..2337fedd789d9 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -21...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 9960f9b9027e5..2337fedd789d9 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -213,6 +213,12 @@ Changelog - |Efficiency| Improve runtime performance of :class:`ensemble.IsolationForest` by avoiding data copies. :pr:`<PRID>` by :us...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24755
https://github.com/scikit-learn/scikit-learn/pull/24755
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 6430a0996f501..3b18bbe67ff2f 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -350,6 +350,10 @@ Changelog - |Enhancement| :class:`kernel_approximation.SkewedChi2Sampler` now preserves dtype for `numpy.float32` inputs. :pr:`24350` ...
diff --git a/sklearn/tests/test_kernel_approximation.py b/sklearn/tests/test_kernel_approximation.py index cb1fdb75d1f75..3b27d39242bfb 100644 --- a/sklearn/tests/test_kernel_approximation.py +++ b/sklearn/tests/test_kernel_approximation.py @@ -242,6 +242,14 @@ def test_rbf_sampler_dtype_equivalence(): assert_allc...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 6430a0996f501..3b18bbe67ff2f 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -35...
1.02
64876cafa6b6b1b0e466d7d8fd8c0fee8ea24ee6
[ "sklearn/tests/test_kernel_approximation.py::test_polynomial_count_sketch_dense_sparse[2.5-1-1.0]", "sklearn/tests/test_kernel_approximation.py::test_rbf_sampler", "sklearn/tests/test_kernel_approximation.py::test_polynomial_count_sketch[0-3-5000-2.5]", "sklearn/tests/test_kernel_approximation.py::test_polyno...
[ "sklearn/tests/test_kernel_approximation.py::test_rbf_sampler_gamma_scale" ]
{ "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 6430a0996f501..3b18bbe67ff2f 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -35...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 6430a0996f501..3b18bbe67ff2f 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -350,6 +350,10 @@ Changelog - |Enhancement| :class:`kernel_approximation.SkewedChi2Sampler` now preserves dtype for `numpy.float32` inputs. :pr:`<PRID>`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23734
https://github.com/scikit-learn/scikit-learn/pull/23734
diff --git a/doc/developers/develop.rst b/doc/developers/develop.rst index 0e4b8258476da..4a5b347e0f728 100644 --- a/doc/developers/develop.rst +++ b/doc/developers/develop.rst @@ -635,6 +635,35 @@ instantiated with an instance of ``LogisticRegression`` (or of these two models is somewhat idiosyncratic but both should...
diff --git a/sklearn/compose/tests/test_column_transformer.py b/sklearn/compose/tests/test_column_transformer.py index 803cc2d542011..bade093b89c1f 100644 --- a/sklearn/compose/tests/test_column_transformer.py +++ b/sklearn/compose/tests/test_column_transformer.py @@ -13,7 +13,7 @@ from sklearn.utils._testing import a...
[ { "path": "doc/developers/develop.rst", "old_path": "a/doc/developers/develop.rst", "new_path": "b/doc/developers/develop.rst", "metadata": "diff --git a/doc/developers/develop.rst b/doc/developers/develop.rst\nindex 0e4b8258476da..4a5b347e0f728 100644\n--- a/doc/developers/develop.rst\n+++ b/doc/de...
1.02
97057d329da1786aa03206251aab68bf51312390
[ "sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder_specified_categories_missing_passthrough[numeric-missing-value]", "sklearn/preprocessing/tests/test_encoders.py::test_ordinal_encoder[numeric]", "sklearn/preprocessing/tests/test_function_transformer.py::test_kw_arg", "sklearn/preprocessing/t...
[ "sklearn/utils/tests/test_set_output.py::test_set_output_mixin", "sklearn/tests/test_base.py::test_clone_2", "sklearn/tests/test_base.py::test_get_params", "sklearn/tests/test_base.py::test_clone_class_rather_than_instance", "sklearn/tests/test_base.py::test_pickle_version_warning_is_issued_upon_different_v...
{ "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/utils/_set_output.py" }, { "type": "file", "name": "examples/miscellan...
[ { "path": "doc/developers/develop.rst", "old_path": "a/doc/developers/develop.rst", "new_path": "b/doc/developers/develop.rst", "metadata": "diff --git a/doc/developers/develop.rst b/doc/developers/develop.rst\nindex 0e4b8258476da..4a5b347e0f728 100644\n--- a/doc/developers/develop.rst\n+++ b/doc/de...
diff --git a/doc/developers/develop.rst b/doc/developers/develop.rst index 0e4b8258476da..4a5b347e0f728 100644 --- a/doc/developers/develop.rst +++ b/doc/developers/develop.rst @@ -635,6 +635,35 @@ instantiated with an instance of ``LogisticRegression`` (or of these two models is somewhat idiosyncratic but both should...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22518
https://github.com/scikit-learn/scikit-learn/pull/22518
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index bc58d50ce8f81..c6838556d50ad 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -954,6 +954,7 @@ details. metrics.average_precision_score metrics.balanced_accuracy_score metrics.brier_score_loss + metrics.class_likelih...
diff --git a/sklearn/metrics/tests/test_classification.py b/sklearn/metrics/tests/test_classification.py index 25c2dcda55d9c..02692806016f1 100644 --- a/sklearn/metrics/tests/test_classification.py +++ b/sklearn/metrics/tests/test_classification.py @@ -26,6 +26,7 @@ from sklearn.metrics import accuracy_score from skl...
[ { "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 bc58d50ce8f81..c6838556d50ad 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
1.02
84f8409dc5c485729649c5332e66fd5602549b50
[ "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[f1_macro]", "sklearn/metrics/tests/test_score_objects.py::test_classification_binary_scores[f1-f1_score]", "sklearn/metr...
[ "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...
{ "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_likelihood_ratios.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 bc58d50ce8f81..c6838556d50ad 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 bc58d50ce8f81..c6838556d50ad 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -954,6 +954,7 @@ details. metrics.average_precision_score metrics.balanced_accuracy_score metrics.brier_score_loss + metrics.class_likelih...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24637
https://github.com/scikit-learn/scikit-learn/pull/24637
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 68a5d1cfbe61d..83eaded3b90ec 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -353,6 +353,16 @@ Changelog :mod:`sklearn.linear_model` ........................... +- |Enhancement| :class:`linear_model.GammaRegressor`, + :class:`li...
diff --git a/sklearn/linear_model/_glm/tests/test_glm.py b/sklearn/linear_model/_glm/tests/test_glm.py index b41aa42327525..694626d7dba4a 100644 --- a/sklearn/linear_model/_glm/tests/test_glm.py +++ b/sklearn/linear_model/_glm/tests/test_glm.py @@ -9,11 +9,12 @@ import numpy as np from numpy.testing import assert_all...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 68a5d1cfbe61d..83eaded3b90ec 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -35...
1.02
2335a8e831b44b28f30cedb355bab6ac4803ef8b
[]
[ "sklearn/linear_model/tests/test_linear_loss.py::test_init_zero_coef[float64-1-True-HalfPoissonLoss]", "sklearn/linear_model/tests/test_linear_loss.py::test_loss_gradients_hessp_intercept[False-1-None-HalfMultinomialLoss]", "sklearn/linear_model/tests/test_linear_loss.py::test_loss_gradients_hessp_intercept[Tru...
{ "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/_glm/_newton_solver.py" } ] }
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 68a5d1cfbe61d..83eaded3b90ec 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -35...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 68a5d1cfbe61d..83eaded3b90ec 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -353,6 +353,16 @@ Changelog :mod:`sklearn.linear_model` ........................... +- |Enhancement| :class:`linear_model.GammaRegressor`, + :class:`li...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24051
https://github.com/scikit-learn/scikit-learn/pull/24051
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index ba51e28229462..07dd033293f4e 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -205,6 +205,11 @@ Changelog :mod:`sklearn.metrics` ...................... +- |Feature| :func:`metrics.ConfusionMatrixDisplay.from_estimator`, + :func:`...
diff --git a/sklearn/metrics/_plot/tests/test_confusion_matrix_display.py b/sklearn/metrics/_plot/tests/test_confusion_matrix_display.py index e826888b65f89..ffead416f3ddc 100644 --- a/sklearn/metrics/_plot/tests/test_confusion_matrix_display.py +++ b/sklearn/metrics/_plot/tests/test_confusion_matrix_display.py @@ -377...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex ba51e28229462..07dd033293f4e 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -20...
1.02
610ada79c9fe7219ef7f2a283e9e0f02e122f948
[ "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_confusion_matrix_text_kw" ]
{ "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex ba51e28229462..07dd033293f4e 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -20...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index ba51e28229462..07dd033293f4e 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -205,6 +205,11 @@ Changelog :mod:`sklearn.metrics` ...................... +- |Feature| :func:`metrics.ConfusionMatrixDisplay.from_estimator`, + :func:`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24338
https://github.com/scikit-learn/scikit-learn/pull/24338
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 5ddff3471e1d7..c8d8c55da7322 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -262,6 +262,10 @@ Changelog :pr:`22710` by :user:`Conroy Trinh <trinhcon>` and :pr:`23461` by :user:`Meekail Zain <micky774>`. +- |Feature| :func:`m...
diff --git a/sklearn/metrics/tests/test_ranking.py b/sklearn/metrics/tests/test_ranking.py index d5277146b8da4..835ffae008653 100644 --- a/sklearn/metrics/tests/test_ranking.py +++ b/sklearn/metrics/tests/test_ranking.py @@ -3,6 +3,7 @@ import numpy as np import warnings from scipy.sparse import csr_matrix +from sci...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 5ddff3471e1d7..c8d8c55da7322 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -26...
1.02
1aa38c44f60cb729faf217ef85f5cb7d1dd30b46
[ "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 \\\\('micro', 'macro', 'weighted', None\\\\) for multiclass problems-kwargs1]", "sklearn/metrics/tests/test_ranking.py::test_perfect_imperfect_chance_multiclass_roc_auc[ovr-micro]", "sklearn/metrics/tests/test_ran...
{ "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 5ddff3471e1d7..c8d8c55da7322 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -26...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 5ddff3471e1d7..c8d8c55da7322 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -262,6 +262,10 @@ Changelog :pr:`<PRID>` by :user:`<NAME>` and :pr:`<PRID>` by :user:`<NAME>`. +- |Feature| :func:`metrics.roc_auc_score` now suppor...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18020
https://github.com/scikit-learn/scikit-learn/pull/18020
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index caae838f68f36..d55becb0c512a 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1126,6 +1126,7 @@ See the :ref:`visualizations` section of the user guide for further details. metrics.ConfusionMatrixDisplay metrics.DetCurveD...
diff --git a/sklearn/metrics/_plot/tests/test_predict_error_display.py b/sklearn/metrics/_plot/tests/test_predict_error_display.py new file mode 100644 index 0000000000000..3d3833d825360 --- /dev/null +++ b/sklearn/metrics/_plot/tests/test_predict_error_display.py @@ -0,0 +1,163 @@ +import pytest + +from numpy.testing ...
[ { "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 caae838f68f36..d55becb0c512a 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
1.02
40c0f7d78260b06f074645d5a9b7c910716ee09c
[]
[ "sklearn/metrics/_plot/tests/test_predict_error_display.py::test_plot_prediction_error_subsample[5-5-from_estimator]", "sklearn/metrics/_plot/tests/test_predict_error_display.py::test_plot_prediction_error_subsample[5-5-from_predictions]", "sklearn/metrics/_plot/tests/test_predict_error_display.py::test_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": [ { "type": "file", "name": "sklearn/metrics/_plot/regression.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 caae838f68f36..d55becb0c512a 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 caae838f68f36..d55becb0c512a 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1126,6 +1126,7 @@ See the :ref:`visualizations` section of the user guide for further details. metrics.ConfusionMatrixDisplay metrics.DetCurveD...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18298
https://github.com/scikit-learn/scikit-learn/pull/18298
diff --git a/doc/modules/partial_dependence.rst b/doc/modules/partial_dependence.rst index 2d3603cc79095..92a44c0640f98 100644 --- a/doc/modules/partial_dependence.rst +++ b/doc/modules/partial_dependence.rst @@ -25,34 +25,33 @@ of all other input features (the 'complement' features). Intuitively, we can interpret the...
diff --git a/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py b/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py index 4e97ee60a2013..f48c579d04528 100644 --- a/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py +++ b/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py...
[ { "path": "doc/modules/partial_dependence.rst", "old_path": "a/doc/modules/partial_dependence.rst", "new_path": "b/doc/modules/partial_dependence.rst", "metadata": "diff --git a/doc/modules/partial_dependence.rst b/doc/modules/partial_dependence.rst\nindex 2d3603cc79095..92a44c0640f98 100644\n--- a/...
1.02
df143226564edcf6c78fc824da3f230b7b03e892
[ "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_error[data15-params15-It is not possible to display individual effects]", "sklearn/inspection/_plot/tests/test_plot_partial_dependence.py::test_partial_dependence_plot_limits_one_way[True-average]", "sklearn/inspection...
{ "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/inspection/_pd_utils.py" } ] }
[ { "path": "doc/modules/partial_dependence.rst", "old_path": "a/doc/modules/partial_dependence.rst", "new_path": "b/doc/modules/partial_dependence.rst", "metadata": "diff --git a/doc/modules/partial_dependence.rst b/doc/modules/partial_dependence.rst\nindex 2d3603cc79095..92a44c0640f98 100644\n--- a/...
diff --git a/doc/modules/partial_dependence.rst b/doc/modules/partial_dependence.rst index 2d3603cc79095..92a44c0640f98 100644 --- a/doc/modules/partial_dependence.rst +++ b/doc/modules/partial_dependence.rst @@ -25,34 +25,33 @@ of all other input features (the 'complement' features). Intuitively, we can interpret the...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23683
https://github.com/scikit-learn/scikit-learn/pull/23683
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 832a4e4389b19..40cd81a1efe2b 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -191,6 +191,12 @@ Changelog - |Fix| Fixed error message of :class:`metrics.coverage_error` for 1D array input. :pr:`23548` by :user:`Hao Chun Chang <hao...
diff --git a/sklearn/tests/test_naive_bayes.py b/sklearn/tests/test_naive_bayes.py index 9eeb18ce4a8ed..38fcddf78bbe4 100644 --- a/sklearn/tests/test_naive_bayes.py +++ b/sklearn/tests/test_naive_bayes.py @@ -5,6 +5,8 @@ import pytest import warnings +from scipy.special import logsumexp + from sklearn.datasets imp...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 832a4e4389b19..40cd81a1efe2b 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -19...
1.02
f9fd3b535af47986d20ad1ad06be35de10221cc2
[ "sklearn/tests/test_naive_bayes.py::test_discretenb_degenerate_one_class_case[True-False-BernoulliNB]", "sklearn/tests/test_naive_bayes.py::test_bnb_feature_log_prob", "sklearn/tests/test_naive_bayes.py::test_categoricalnb_min_categories_errors[min_categories0-'min_categories' should have shape]", "sklearn/te...
[ "sklearn/tests/test_naive_bayes.py::test_predict_joint_proba[ComplementNB]", "sklearn/tests/test_naive_bayes.py::test_predict_joint_proba[BernoulliNB]", "sklearn/tests/test_naive_bayes.py::test_predict_joint_proba[GaussianNB]", "sklearn/tests/test_naive_bayes.py::test_predict_joint_proba[MultinomialNB]", "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 832a4e4389b19..40cd81a1efe2b 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -19...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 832a4e4389b19..40cd81a1efe2b 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -191,6 +191,12 @@ Changelog - |Fix| Fixed error message of :class:`metrics.coverage_error` for 1D array input. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24084
https://github.com/scikit-learn/scikit-learn/pull/24084
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index b92561d3fc2bb..caae838f68f36 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1233,6 +1233,17 @@ Model validation model_selection.permutation_test_score model_selection.validation_curve +Visualization +------------- + +...
diff --git a/sklearn/model_selection/tests/test_plot.py b/sklearn/model_selection/tests/test_plot.py new file mode 100644 index 0000000000000..762af8fe08336 --- /dev/null +++ b/sklearn/model_selection/tests/test_plot.py @@ -0,0 +1,354 @@ +import pytest + +from sklearn.datasets import load_iris +from sklearn.tree import...
[ { "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 b92561d3fc2bb..caae838f68f36 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
1.02
768c01d0c625549681609371381bf5dfda51ed81
[]
[ "sklearn/model_selection/tests/test_plot.py::test_learning_curve_display_default_usage", "sklearn/model_selection/tests/test_plot.py::test_learning_curve_display_plot_kwargs", "sklearn/model_selection/tests/test_plot.py::test_learning_curve_display_score_type[None]", "sklearn/model_selection/tests/test_plot.p...
{ "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/model_selection/_plot.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 b92561d3fc2bb..caae838f68f36 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 b92561d3fc2bb..caae838f68f36 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1233,6 +1233,17 @@ Model validation model_selection.permutation_test_score model_selection.validation_curve +Visualization +------------- + +...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23977
https://github.com/scikit-learn/scikit-learn/pull/23977
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 4a9e92bf2f201..ba51e28229462 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -220,6 +220,16 @@ Changelog - |Fix| Fixed error message of :class:`metrics.coverage_error` for 1D array input. :pr:`23548` by :user:`Hao Chun Chang <hao...
diff --git a/sklearn/tests/test_multioutput.py b/sklearn/tests/test_multioutput.py index 25d209223acc1..ad95282fa6614 100644 --- a/sklearn/tests/test_multioutput.py +++ b/sklearn/tests/test_multioutput.py @@ -2,6 +2,7 @@ import numpy as np import scipy.sparse as sp from joblib import cpu_count +import re from skl...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 4a9e92bf2f201..ba51e28229462 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -22...
1.02
c3ca5f5a59105f50f8dc67282501f2d34441bbe4
[ "sklearn/tests/test_multioutput.py::test_multi_output_classification_partial_fit_sample_weights", "sklearn/tests/test_multioutput.py::test_multi_output_classes_[estimator0]", "sklearn/tests/test_multioutput.py::test_multi_output_classification_partial_fit_parallelism", "sklearn/tests/test_multioutput.py::test...
[ "sklearn/tests/test_multioutput.py::test_classifier_chain_verbose", "sklearn/tests/test_multioutput.py::test_regressor_chain_verbose" ]
{ "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 4a9e92bf2f201..ba51e28229462 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -22...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 4a9e92bf2f201..ba51e28229462 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -220,6 +220,16 @@ Changelog - |Fix| Fixed error message of :class:`metrics.coverage_error` for 1D array input. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23993
https://github.com/scikit-learn/scikit-learn/pull/23993
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 75ce01b54f3a7..e8a07203684a1 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -368,6 +368,13 @@ Changelog :class:`neighbors.RadiusNeighborsTransformer`. :pr:`24075` by :user:`Valentin Laurent <Valentin-Laurent>`. +:mod:`sklear...
diff --git a/sklearn/preprocessing/tests/test_function_transformer.py b/sklearn/preprocessing/tests/test_function_transformer.py index 2402f8bd62f20..256eb729e019b 100644 --- a/sklearn/preprocessing/tests/test_function_transformer.py +++ b/sklearn/preprocessing/tests/test_function_transformer.py @@ -6,6 +6,7 @@ from s...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 75ce01b54f3a7..e8a07203684a1 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -36...
1.02
79fb69dbe1472435865fa7c2589710e64b999028
[ "sklearn/preprocessing/tests/test_function_transformer.py::test_function_transformer_get_feature_names_out[True-X4-<lambda>-None-expected4]", "sklearn/preprocessing/tests/test_function_transformer.py::test_function_transformer_get_feature_names_out[True-X2-<lambda>-None-expected2]", "sklearn/preprocessing/tests...
[ "sklearn/preprocessing/tests/test_function_transformer.py::test_get_feature_names_out_dataframe_with_string_data[True-<lambda>-expected1]", "sklearn/preprocessing/tests/test_function_transformer.py::test_get_feature_names_out_dataframe_with_string_data[False-one-to-one-expected0]", "sklearn/preprocessing/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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 75ce01b54f3a7..e8a07203684a1 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -36...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 75ce01b54f3a7..e8a07203684a1 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -368,6 +368,13 @@ Changelog :class:`neighbors.RadiusNeighborsTransformer`. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.preprocessing` +.............
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23480
https://github.com/scikit-learn/scikit-learn/pull/23480
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index b4804f3c9c8b9..8778e74a011a3 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -111,6 +111,9 @@ Changelog :mod:`sklearn.tree` ................... +- |Enhancement| :func:`tree.plot_tree`, :func:`tree.export_graphviz` now uses + a l...
diff --git a/sklearn/tree/tests/test_export.py b/sklearn/tree/tests/test_export.py index d3b082a927048..657860a435c05 100644 --- a/sklearn/tree/tests/test_export.py +++ b/sklearn/tree/tests/test_export.py @@ -35,7 +35,7 @@ def test_graphviz_toy(): "digraph Tree {\n" 'node [shape=box, fontname="helveti...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex b4804f3c9c8b9..8778e74a011a3 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -11...
1.02
b0a30983ead8de1825488522f9c8b699c30ec32e
[ "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_gini", "sklearn/tree...
[ "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex b4804f3c9c8b9..8778e74a011a3 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -11...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index b4804f3c9c8b9..8778e74a011a3 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -111,6 +111,9 @@ Changelog :mod:`sklearn.tree` ................... +- |Enhancement| :func:`tree.plot_tree`, :func:`tree.export_graphviz` now uses + a l...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23139
https://github.com/scikit-learn/scikit-learn/pull/23139
diff --git a/doc/developers/utilities.rst b/doc/developers/utilities.rst index 4bdd72037a153..4c5423a238136 100644 --- a/doc/developers/utilities.rst +++ b/doc/developers/utilities.rst @@ -153,6 +153,11 @@ efficiently process ``scipy.sparse`` data. Used for scaling features to unit standard deviation in :class:`~...
diff --git a/sklearn/neighbors/tests/test_neighbors.py b/sklearn/neighbors/tests/test_neighbors.py index 6b303886e2b5a..337e777191475 100644 --- a/sklearn/neighbors/tests/test_neighbors.py +++ b/sklearn/neighbors/tests/test_neighbors.py @@ -1,5 +1,6 @@ from itertools import product from contextlib import nullcontext ...
[ { "path": "doc/developers/utilities.rst", "old_path": "a/doc/developers/utilities.rst", "new_path": "b/doc/developers/utilities.rst", "metadata": "diff --git a/doc/developers/utilities.rst b/doc/developers/utilities.rst\nindex 4bdd72037a153..4c5423a238136 100644\n--- a/doc/developers/utilities.rst\n...
1.02
85787fcb56cf6b04115cb8fa5f48ba85a8bd6e06
[]
[ "sklearn/neighbors/tests/test_neighbors.py::test_radius_neighbors_brute_backend[dice]", "sklearn/neighbors/tests/test_neighbors.py::test_neigh_predictions_algorithm_agnosticity[float64-KNeighborsRegressor-1-100-l1-1000-5-100]", "sklearn/neighbors/tests/test_neighbors.py::test_neigh_predictions_algorithm_agnosti...
{ "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/developers/utilities.rst", "old_path": "a/doc/developers/utilities.rst", "new_path": "b/doc/developers/utilities.rst", "metadata": "diff --git a/doc/developers/utilities.rst b/doc/developers/utilities.rst\nindex 4bdd72037a153..4c5423a238136 100644\n--- a/doc/developers/utilities.rst\n...
diff --git a/doc/developers/utilities.rst b/doc/developers/utilities.rst index 4bdd72037a153..4c5423a238136 100644 --- a/doc/developers/utilities.rst +++ b/doc/developers/utilities.rst @@ -153,6 +153,11 @@ efficiently process ``scipy.sparse`` data. Used for scaling features to unit standard deviation in :class:`~...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22629
https://github.com/scikit-learn/scikit-learn/pull/22629
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 7b7c33cb71cfd..bbd2b5fedb44b 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -514,6 +514,9 @@ Changelog is now deprecated and will be removed in version 1.4. Use `sparse_output` instead. :pr:`24412` by :user:`Rushil Desai <rusd...
diff --git a/sklearn/preprocessing/tests/test_label.py b/sklearn/preprocessing/tests/test_label.py index a59cd9b152d27..bd5ba6d2da9ee 100644 --- a/sklearn/preprocessing/tests/test_label.py +++ b/sklearn/preprocessing/tests/test_label.py @@ -643,3 +643,15 @@ def test_inverse_binarize_multiclass(): csr_matrix([[...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 7b7c33cb71cfd..bbd2b5fedb44b 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -51...
1.02
8610e14f8a9acd488253444b8e551fb3e0d60ef7
[ "sklearn/preprocessing/tests/test_label.py::test_label_encoder_str_bad_shape[str]", "sklearn/preprocessing/tests/test_label.py::test_sparse_output_multilabel_binarizer", "sklearn/preprocessing/tests/test_label.py::test_inverse_binarize_multiclass", "sklearn/preprocessing/tests/test_label.py::test_label_encode...
[ "sklearn/preprocessing/tests/test_label.py::test_nan_label_encoder" ]
{ "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 7b7c33cb71cfd..bbd2b5fedb44b 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -51...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 7b7c33cb71cfd..bbd2b5fedb44b 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -514,6 +514,9 @@ Changelog is now deprecated and will be removed in version 1.4. Use `sparse_output` instead. :pr:`<PRID>` by :user:`<NAME>`. +- |Fi...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23198
https://github.com/scikit-learn/scikit-learn/pull/23198
diff --git a/doc/conf.py b/doc/conf.py index 8ee4b9d2433f7..8276e8522f133 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -47,6 +47,7 @@ "sphinx-prompt", "sphinxext.opengraph", "doi_role", + "allow_nan_estimators", "matplotlib.sphinxext.plot_directive", ] diff --git a/doc/modules/impute.rst b/do...
diff --git a/sklearn/utils/tests/test_validation.py b/sklearn/utils/tests/test_validation.py index 391d9603d29de..a8078a2b39416 100644 --- a/sklearn/utils/tests/test_validation.py +++ b/sklearn/utils/tests/test_validation.py @@ -222,6 +222,10 @@ def test_check_array_links_to_imputer_doc_only_for_X(input_name, retype): ...
[ { "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 8ee4b9d2433f7..8276e8522f133 100644\n--- a/doc/conf.py\n+++ b/doc/conf.py\n@@ -47,6 +47,7 @@\n \"sphinx-prompt\",\n \"sphinxext.opengraph\",\n \"d...
1.02
2e3abc2e32eefbfea78f15bcc767ca9bb4911568
[ "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_array_links_to_imputer_doc_only_for_X[csr_matrix-X]", "sklearn/utils/tests/test_validation.py::test_check_array_links_to_imputer_doc_only_for_X[asarray-X]" ]
{ "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/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 8ee4b9d2433f7..8276e8522f133 100644\n--- a/doc/conf.py\n+++ b/doc/conf.py\n@@ -47,6 +47,7 @@\n \"sphinx-prompt\",\n \"sphinxext.opengraph\",\n \"d...
diff --git a/doc/conf.py b/doc/conf.py index 8ee4b9d2433f7..8276e8522f133 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -47,6 +47,7 @@ "sphinx-prompt", "sphinxext.opengraph", "doi_role", + "allow_nan_estimators", "matplotlib.sphinxext.plot_directive", ] diff --git a/doc/modules/impute.rst b/d...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23194
https://github.com/scikit-learn/scikit-learn/pull/23194
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index c4d8bd8e8fe70..e054ee930a391 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -164,6 +164,12 @@ Changelog :func:`sklearn.set_config`. :pr:`22856` by :user:`Jérémie du Boisberranger <jeremiedbb>`. +- |Enhancement| The error mes...
diff --git a/sklearn/experimental/tests/test_enable_iterative_imputer.py b/sklearn/experimental/tests/test_enable_iterative_imputer.py index 21d57b37c519c..3f4ce37f7afcc 100644 --- a/sklearn/experimental/tests/test_enable_iterative_imputer.py +++ b/sklearn/experimental/tests/test_enable_iterative_imputer.py @@ -29,11 +...
[ { "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 c4d8bd8e8fe70..e054ee930a391 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -16...
1.01
4942ba76eb068bc96b2f7970f42797f7c6d0ec23
[]
[ "sklearn/experimental/tests/test_enable_successive_halving.py::test_imports_strategies", "sklearn/experimental/tests/test_enable_iterative_imputer.py::test_imports_strategies" ]
{ "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 c4d8bd8e8fe70..e054ee930a391 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 c4d8bd8e8fe70..e054ee930a391 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -164,6 +164,12 @@ Changelog :func:`sklearn.set_config`. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| The error message is improved when importin...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24058
https://github.com/scikit-learn/scikit-learn/pull/24058
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 2294d431909b0..49e589157851f 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -397,6 +397,13 @@ Changelog :class:`neighbors.RadiusNeighborsTransformer`. :pr:`24075` by :user:`Valentin Laurent <Valentin-Laurent>`. +:mod:`sklear...
diff --git a/sklearn/tests/test_pipeline.py b/sklearn/tests/test_pipeline.py index 0ce71bf9b55f4..a20b68a7ec905 100644 --- a/sklearn/tests/test_pipeline.py +++ b/sklearn/tests/test_pipeline.py @@ -1013,29 +1013,42 @@ def test_set_feature_union_passthrough(): """Check the behaviour of setting a transformer to `"pas...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 2294d431909b0..49e589157851f 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -39...
1.02
ee5d4ce151c633499b02abc85a0cbb863f3254f8
[ "sklearn/tests/test_pipeline.py::test_fit_predict_with_intermediate_fit_params", "sklearn/tests/test_pipeline.py::test_feature_union_check_if_fitted", "sklearn/tests/test_pipeline.py::test_pipeline_feature_names_out_error_without_definition", "sklearn/tests/test_pipeline.py::test_score_samples_on_pipeline_wit...
[ "sklearn/tests/test_pipeline.py::test_set_feature_union_passthrough", "sklearn/tests/test_pipeline.py::test_feature_union_passthrough_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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 2294d431909b0..49e589157851f 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -39...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 2294d431909b0..49e589157851f 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -397,6 +397,13 @@ Changelog :class:`neighbors.RadiusNeighborsTransformer`. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.pipeline` +..................
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20331
https://github.com/scikit-learn/scikit-learn/pull/20331
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 83eaded3b90ec..e2b18cd0149a2 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -521,6 +521,10 @@ Changelog be used when one of the transformers in the :class:`pipeline.FeatureUnion` is `"passthrough"`. :pr:`24058` by :user:`Diede...
diff --git a/sklearn/tests/test_pipeline.py b/sklearn/tests/test_pipeline.py index 6bed7e520f438..07e3f7170efdf 100644 --- a/sklearn/tests/test_pipeline.py +++ b/sklearn/tests/test_pipeline.py @@ -524,6 +524,19 @@ def test_feature_union(): fs.fit(X, y) +def test_feature_union_named_transformers(): + """Chec...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 83eaded3b90ec..e2b18cd0149a2 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -52...
1.02
a71c5353e2c87971c21eeb3315c193c653da85d0
[ "sklearn/tests/test_pipeline.py::test_fit_predict_with_intermediate_fit_params", "sklearn/tests/test_pipeline.py::test_feature_union_check_if_fitted", "sklearn/tests/test_pipeline.py::test_pipeline_feature_names_out_error_without_definition", "sklearn/tests/test_pipeline.py::test_score_samples_on_pipeline_wit...
[ "sklearn/tests/test_pipeline.py::test_feature_union_named_transformers" ]
{ "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 83eaded3b90ec..e2b18cd0149a2 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -52...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 83eaded3b90ec..e2b18cd0149a2 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -521,6 +521,10 @@ Changelog be used when one of the transformers in the :class:`pipeline.FeatureUnion` is `"passthrough"`. :pr:`<PRID>` by :user:`<NAM...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21032
https://github.com/scikit-learn/scikit-learn/pull/21032
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 3aabed6214771..9d9cf3c95b450 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -38,6 +38,14 @@ Changelog :pr:`123456` by :user:`Joe Bloggs <joeongithub>`. where 123456 is the *pull request* number, not the issue number. + +...
diff --git a/sklearn/tests/test_calibration.py b/sklearn/tests/test_calibration.py index 7b8d656bef939..4ad983d72e007 100644 --- a/sklearn/tests/test_calibration.py +++ b/sklearn/tests/test_calibration.py @@ -786,6 +786,43 @@ def test_calibration_display_ref_line(pyplot, iris_data_binary): assert labels.count("Per...
[ { "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 3aabed6214771..9d9cf3c95b450 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -38...
1.01
4b8888bf864322af1a1ae664d8d39c37b928ac6f
[ "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...
[ "sklearn/tests/test_calibration.py::test_calibration_curve_pos_label[object]", "sklearn/tests/test_calibration.py::test_calibration_curve_pos_label_error_str[object]", "sklearn/tests/test_calibration.py::test_calibration_curve_pos_label[str]", "sklearn/tests/test_calibration.py::test_calibration_curve_pos_lab...
{ "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 3aabed6214771..9d9cf3c95b450 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 3aabed6214771..9d9cf3c95b450 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -38,6 +38,14 @@ Changelog :pr:`<PRID>` by :user:`<NAME>`. where <PRID> is the *pull request* number, not the issue number. + +:mod:`sklearn.cali...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21038
https://github.com/scikit-learn/scikit-learn/pull/21038
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 7141080afbc06..946c31146c1a1 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -45,6 +45,10 @@ Changelog `pos_label` to specify the positive class label. :pr:`21032` by :user:`Guillaume Lemaitre <glemaitre>`. +- |Enhancement| :...
diff --git a/sklearn/tests/test_calibration.py b/sklearn/tests/test_calibration.py index 4ad983d72e007..b6b5c482b1eb5 100644 --- a/sklearn/tests/test_calibration.py +++ b/sklearn/tests/test_calibration.py @@ -703,8 +703,8 @@ def test_calibration_display_compute(pyplot, iris_data_binary, n_bins, strategy) assert is...
[ { "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..946c31146c1a1 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -45...
1.01
8955057049c5c8cc5a7d8380e236f6a5efcf1c05
[ "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...
[ "sklearn/tests/test_calibration.py::test_calibration_display_pos_label[0-0]", "sklearn/tests/test_calibration.py::test_calibration_display_pos_label[None-1]", "sklearn/tests/test_calibration.py::test_calibration_display_pos_label[1-1]", "sklearn/tests/test_calibration.py::test_calibration_display_compute[quan...
{ "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..946c31146c1a1 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 7141080afbc06..946c31146c1a1 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -45,6 +45,10 @@ Changelog `pos_label` to specify the positive class label. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :class:`CalibrationDispl...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-24750
https://github.com/scikit-learn/scikit-learn/pull/24750
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 1427e61c03385..b2ab73606fca9 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -520,6 +520,11 @@ Changelog :pr:`10468` by :user:`Ruben <icfly2>` and :pr:`22993` by :user:`Jovan Stojanovic <jovan-stojanovic>`. +- |Enhancement| :...
diff --git a/sklearn/neighbors/tests/test_neighbors.py b/sklearn/neighbors/tests/test_neighbors.py index 4cea0bbb00a5f..b82d369f2c12c 100644 --- a/sklearn/neighbors/tests/test_neighbors.py +++ b/sklearn/neighbors/tests/test_neighbors.py @@ -1498,6 +1498,63 @@ def test_neighbors_validate_parameters(Estimator): ...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 1427e61c03385..b2ab73606fca9 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -52...
1.02
2e481f114169396660f0051eee1bcf6bcddfd556
[ "sklearn/neighbors/tests/test_neighbors.py::test_radius_neighbors_brute_backend[dice]", "sklearn/neighbors/tests/test_neighbors.py::test_neigh_predictions_algorithm_agnosticity[float64-KNeighborsRegressor-1-100-l1-1000-5-100]", "sklearn/neighbors/tests/test_neighbors.py::test_neigh_predictions_algorithm_agnosti...
[ "sklearn/neighbors/tests/test_neighbors.py::test_neighbors_minkowski_semimetric_algo_error[ball_tree-2-RadiusNeighborsRegressor]", "sklearn/neighbors/tests/test_neighbors.py::test_neighbors_minkowski_semimetric_algo_warn[auto-100-RadiusNeighborsRegressor]", "sklearn/neighbors/tests/test_neighbors.py::test_neigh...
{ "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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 1427e61c03385..b2ab73606fca9 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -52...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 1427e61c03385..b2ab73606fca9 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -520,6 +520,11 @@ Changelog :pr:`<PRID>` by :user:`<NAME>` and :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :class:`neighbors.NeighborsBase` now...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21148
https://github.com/scikit-learn/scikit-learn/pull/21148
diff --git a/doc/modules/clustering.rst b/doc/modules/clustering.rst index 09637b5d938d1..ac4807e052f66 100644 --- a/doc/modules/clustering.rst +++ b/doc/modules/clustering.rst @@ -492,11 +492,15 @@ computed using a function of a gradient of the image. .. |coin_kmeans| image:: ../auto_examples/cluster/images/sphx_gl...
diff --git a/sklearn/cluster/tests/test_spectral.py b/sklearn/cluster/tests/test_spectral.py index 679adf27520e4..07dd4b64514ac 100644 --- a/sklearn/cluster/tests/test_spectral.py +++ b/sklearn/cluster/tests/test_spectral.py @@ -12,7 +12,7 @@ from sklearn.utils._testing import assert_array_equal from sklearn.cluste...
[ { "path": "doc/modules/clustering.rst", "old_path": "a/doc/modules/clustering.rst", "new_path": "b/doc/modules/clustering.rst", "metadata": "diff --git a/doc/modules/clustering.rst b/doc/modules/clustering.rst\nindex 09637b5d938d1..ac4807e052f66 100644\n--- a/doc/modules/clustering.rst\n+++ b/doc/mo...
1.01
fc1de52195132413a4a22cb89adce715d3cbf5c2
[]
[ "sklearn/cluster/tests/test_spectral.py::test_pairwise_is_deprecated[precomputed]", "sklearn/cluster/tests/test_spectral.py::test_verbose[cluster_qr]", "sklearn/cluster/tests/test_spectral.py::test_spectral_clustering[kmeans-lobpcg]", "sklearn/cluster/tests/test_spectral.py::test_verbose[kmeans]", "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/modules/clustering.rst", "old_path": "a/doc/modules/clustering.rst", "new_path": "b/doc/modules/clustering.rst", "metadata": "diff --git a/doc/modules/clustering.rst b/doc/modules/clustering.rst\nindex 09637b5d938d1..ac4807e052f66 100644\n--- a/doc/modules/clustering.rst\n+++ b/doc/mo...
diff --git a/doc/modules/clustering.rst b/doc/modules/clustering.rst index 09637b5d938d1..ac4807e052f66 100644 --- a/doc/modules/clustering.rst +++ b/doc/modules/clustering.rst @@ -492,11 +492,15 @@ computed using a function of a gradient of the image. .. |coin_kmeans| image:: ../auto_examples/cluster/images/sphx_gl...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18170
https://github.com/scikit-learn/scikit-learn/pull/18170
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index ab0d61ec0719f..1bc096c2a4ce9 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -75,6 +75,10 @@ Changelog add this information to the plot. :pr:`21038` by :user:`Guillaume Lemaitre <glemaitre>`. +- |Enhancement| :meth:`calibrati...
diff --git a/sklearn/ensemble/tests/test_stacking.py b/sklearn/ensemble/tests/test_stacking.py index da18158070b23..08ca60494cf86 100644 --- a/sklearn/ensemble/tests/test_stacking.py +++ b/sklearn/ensemble/tests/test_stacking.py @@ -471,8 +471,8 @@ def test_stacking_with_sample_weight(stacker, X, y): def test_stacking...
[ { "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 ab0d61ec0719f..1bc096c2a4ce9 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -75...
1.01
845b1fac9e8bcfc146e7b38119ce6c500e00a10b
[ "sklearn/utils/tests/test_mocking.py::test_checking_classifier_methods_to_check[score-methods_to_check1]", "sklearn/tests/test_calibration.py::test_calibration_ensemble_false[sigmoid]", "sklearn/utils/tests/test_mocking.py::test_check_on_fit_fail[kwargs4]", "sklearn/ensemble/tests/test_stacking.py::test_stack...
[ "sklearn/tests/test_calibration.py::test_calibration_with_fit_params_inconsistent_length", "sklearn/ensemble/tests/test_stacking.py::test_stacking_classifier_sample_weight_fit_param", "sklearn/tests/test_calibration.py::test_calibration_with_fit_params[list]", "sklearn/tests/test_calibration.py::test_calibrat...
{ "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 ab0d61ec0719f..1bc096c2a4ce9 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -75...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index ab0d61ec0719f..1bc096c2a4ce9 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -75,6 +75,10 @@ Changelog add this information to the plot. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :meth:`calibration.CalibratedClassifier...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22217
https://github.com/scikit-learn/scikit-learn/pull/22217
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 5fd88b4132c3a..0f8e9f6edfb48 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -112,6 +112,14 @@ Changelog `gamma`, `n_neighbors`, `eigen_tol` or `degree`. :pr:`21881` by :user:`Hugo Vassard <hvassard>`. +- |Enhancement| :class...
diff --git a/sklearn/cluster/tests/test_affinity_propagation.py b/sklearn/cluster/tests/test_affinity_propagation.py index e1b46cb728257..c62c689a09bcc 100644 --- a/sklearn/cluster/tests/test_affinity_propagation.py +++ b/sklearn/cluster/tests/test_affinity_propagation.py @@ -184,8 +184,15 @@ def test_affinity_propagat...
[ { "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 5fd88b4132c3a..0f8e9f6edfb48 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -11...
1.01
0dfaaadfe2d0e0b4fd9d2ba22a75b7b1b1903049
[ "sklearn/cluster/tests/test_affinity_propagation.py::test_affinity_propagation_params_validation[input2-params2-ValueError-max_iter == 0, must be >= 1.]", "sklearn/cluster/tests/test_affinity_propagation.py::test_affinity_propagation_predict_non_convergence", "sklearn/cluster/tests/test_affinity_propagation.py:...
[ "sklearn/cluster/tests/test_affinity_propagation.py::test_affinity_propagation_non_convergence_regressiontest" ]
{ "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 5fd88b4132c3a..0f8e9f6edfb48 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 5fd88b4132c3a..0f8e9f6edfb48 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -112,6 +112,14 @@ Changelog `gamma`, `n_neighbors`, `eigen_tol` or `degree`. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :class:`cluster.Affini...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19680
https://github.com/scikit-learn/scikit-learn/pull/19680
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 1a9f773ce08df..0282c83917cd5 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -45,6 +45,13 @@ Changelog `pos_label` to specify the positive class label. :pr:`21032` by :user:`Guillaume Lemaitre <glemaitre>`. +:mod:`sklearn.cro...
diff --git a/sklearn/cross_decomposition/tests/test_pls.py b/sklearn/cross_decomposition/tests/test_pls.py index 1ddc0d0da443f..22af03ff6fc43 100644 --- a/sklearn/cross_decomposition/tests/test_pls.py +++ b/sklearn/cross_decomposition/tests/test_pls.py @@ -59,6 +59,8 @@ def test_pls_canonical_basics(): # Check tha...
[ { "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 1a9f773ce08df..0282c83917cd5 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -45...
1.01
b2ee0f4ed1265a2147a6c470373de2990074fa23
[ "sklearn/cross_decomposition/tests/test_pls.py::test_one_component_equivalence", "sklearn/cross_decomposition/tests/test_pls.py::test_scores_deprecations[CCA]", "sklearn/cross_decomposition/tests/test_pls.py::test_n_components_bounds[4-CCA]", "sklearn/cross_decomposition/tests/test_pls.py::test_mean_and_std_d...
[ "sklearn/cross_decomposition/tests/test_pls.py::test_pls_canonical_basics" ]
{ "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 1a9f773ce08df..0282c83917cd5 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 1a9f773ce08df..0282c83917cd5 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -45,6 +45,13 @@ Changelog `pos_label` to specify the positive class label. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.cross_decomposition` +.......
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21542
https://github.com/scikit-learn/scikit-learn/pull/21542
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 542636b1642f7..9a88c73c5ee65 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -45,6 +45,10 @@ Changelog message suggests potential solutions. :pr:`21219` by :user:`Olivier Grisel <ogrisel>`. +- |Enhancement| All scikit-learn m...
diff --git a/sklearn/tests/test_pipeline.py b/sklearn/tests/test_pipeline.py index 54e21508fdb72..77201628957e0 100644 --- a/sklearn/tests/test_pipeline.py +++ b/sklearn/tests/test_pipeline.py @@ -216,7 +216,10 @@ def test_pipeline_init(): repr(pipe) # Check that params are not set when naming them wrong - ...
[ { "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..9a88c73c5ee65 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -45...
1.01
b07b2273e4ee940ebb2c8a302e95fb051644345e
[ "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_pipeline_raise_set_params_error" ]
{ "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..9a88c73c5ee65 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 542636b1642f7..9a88c73c5ee65 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -45,6 +45,10 @@ Changelog message suggests potential solutions. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| All scikit-learn models now generat...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21482
https://github.com/scikit-learn/scikit-learn/pull/21482
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index f0d00501d3368..d65d01b04bd81 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -74,6 +74,13 @@ Changelog reconstruction of a `X` target when a `Y` parameter is given. :pr:`19680` by :user:`Robin Thibaut <robinthibaut>`. +:mod:`...
diff --git a/sklearn/datasets/tests/test_samples_generator.py b/sklearn/datasets/tests/test_samples_generator.py index 83cc0252ba993..50a1d11097b2e 100644 --- a/sklearn/datasets/tests/test_samples_generator.py +++ b/sklearn/datasets/tests/test_samples_generator.py @@ -523,11 +523,12 @@ def test_make_spd_matrix(): ...
[ { "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 f0d00501d3368..d65d01b04bd81 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -74...
1.01
bbb81e94edb898187c6b7e2a6479594cdb6f5710
[ "sklearn/datasets/tests/test_samples_generator.py::test_make_multilabel_classification_valid_arguments[params0-'n_classes' should be an integer]", "sklearn/datasets/tests/test_samples_generator.py::test_make_blobs_return_centers", "sklearn/datasets/tests/test_samples_generator.py::test_make_blobs", "sklearn/d...
[ "sklearn/datasets/tests/test_samples_generator.py::test_make_swiss_roll[True]", "sklearn/datasets/tests/test_samples_generator.py::test_make_swiss_roll[False]" ]
{ "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 f0d00501d3368..d65d01b04bd81 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -74...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index f0d00501d3368..d65d01b04bd81 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -74,6 +74,13 @@ Changelog reconstruction of a `X` target when a `Y` parameter is given. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.datasets` +.....
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21881
https://github.com/scikit-learn/scikit-learn/pull/21881
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 83395c4180c44..ef08c7d7dd454 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -89,6 +89,11 @@ Changelog is faster on many datasets, and its results are identical, hence the change. :pr:`21735` by :user:`Aurélien Geron <ageron>`....
diff --git a/sklearn/cluster/tests/test_spectral.py b/sklearn/cluster/tests/test_spectral.py index 702906b3fa0e7..29785c0869fed 100644 --- a/sklearn/cluster/tests/test_spectral.py +++ b/sklearn/cluster/tests/test_spectral.py @@ -28,6 +28,16 @@ except ImportError: amg_loaded = False +centers = np.array([[1, 1], ...
[ { "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 83395c4180c44..ef08c7d7dd454 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -89...
1.01
b1202af3b379e698539a2719f2b1e28706ce5388
[ "sklearn/cluster/tests/test_spectral.py::test_discretize[150]", "sklearn/cluster/tests/test_spectral.py::test_spectral_clustering[kmeans-arpack]", "sklearn/cluster/tests/test_spectral.py::test_cluster_qr_permutation_invariance", "sklearn/cluster/tests/test_spectral.py::test_spectral_clustering_sparse[cluster_...
[ "sklearn/cluster/tests/test_spectral.py::test_spectral_params_validation[input12-params12-ValueError-degree == 0, must be >= 1]", "sklearn/cluster/tests/test_spectral.py::test_spectral_params_validation[input2-params2-TypeError-n_clusters must be an instance of <class 'numbers.Integral'>, not <class 'float'>]", ...
{ "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 83395c4180c44..ef08c7d7dd454 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -89...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 83395c4180c44..ef08c7d7dd454 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -89,6 +89,11 @@ Changelog is faster on many datasets, and its results are identical, hence the change. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhanceme...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21901
https://github.com/scikit-learn/scikit-learn/pull/21901
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index cf840040ba0cf..c4de179455c1b 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -128,6 +128,11 @@ Changelog tolerance). :pr:`16605` by :user:`Mandy Gu <happilyeverafter95>`. +- |Enhancement| :func:`datasets.fetch_openml` now has...
diff --git a/sklearn/datasets/tests/test_openml.py b/sklearn/datasets/tests/test_openml.py index 3b6e2188be3bd..4f6872b2ade1e 100644 --- a/sklearn/datasets/tests/test_openml.py +++ b/sklearn/datasets/tests/test_openml.py @@ -18,6 +18,7 @@ _open_openml_url, _arff, _DATA_FILE, + _OPENML_PREFIX, _ge...
[ { "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 cf840040ba0cf..c4de179455c1b 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -12...
1.01
532e1bc60819cea6d313aa8819a208d5a1e0d559
[ "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_open_openml_url_retry_on_network_error" ]
{ "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 cf840040ba0cf..c4de179455c1b 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -12...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index cf840040ba0cf..c4de179455c1b 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -128,6 +128,11 @@ Changelog tolerance). :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :func:`datasets.fetch_openml` now has two optional argument...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21109
https://github.com/scikit-learn/scikit-learn/pull/21109
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 14c116b9b2a95..59ee030fbd079 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -77,6 +77,11 @@ Changelog :mod:`sklearn.decomposition` ............................ +- |Enhancement| :class:`decomposition.PCA` exposes a parameter `n_o...
diff --git a/sklearn/decomposition/tests/test_pca.py b/sklearn/decomposition/tests/test_pca.py index 95b790616c02e..145a76cb9551a 100644 --- a/sklearn/decomposition/tests/test_pca.py +++ b/sklearn/decomposition/tests/test_pca.py @@ -659,6 +659,55 @@ def test_assess_dimesion_rank_one(): assert _assess_dimension...
[ { "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 14c116b9b2a95..59ee030fbd079 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -77...
1.01
8aa0ac006ce87cf8a7bf12c40380b14af6ae2a10
[ "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_pca.py::test_whitening[randomized-False]", "sklearn/decomposition/tests/test_pca.py::test_pca_check_projection_list[auto]", "sklearn/decomp...
[ "sklearn/decomposition/tests/test_pca.py::test_pca_randomized_svd_n_oversamples", "sklearn/decomposition/tests/test_pca.py::test_pca_params_validation[params1-TypeError-n_oversamples must be an instance of <class 'numbers.Integral'>]", "sklearn/decomposition/tests/test_pca.py::test_pca_params_validation[params0...
{ "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 14c116b9b2a95..59ee030fbd079 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -77...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 14c116b9b2a95..59ee030fbd079 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -77,6 +77,11 @@ Changelog :mod:`sklearn.decomposition` ............................ +- |Enhancement| :class:`decomposition.PCA` exposes a parameter `n_o...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16948
https://github.com/scikit-learn/scikit-learn/pull/16948
diff --git a/doc/computing/scaling_strategies.rst b/doc/computing/scaling_strategies.rst index 5eee5728e4b9a..277d499f4cc13 100644 --- a/doc/computing/scaling_strategies.rst +++ b/doc/computing/scaling_strategies.rst @@ -80,6 +80,7 @@ Here is a list of incremental estimators for different tasks: + :class:`sklear...
diff --git a/sklearn/decomposition/tests/test_nmf.py b/sklearn/decomposition/tests/test_nmf.py index cca0fad114ae5..9f3df5b64a803 100644 --- a/sklearn/decomposition/tests/test_nmf.py +++ b/sklearn/decomposition/tests/test_nmf.py @@ -1,10 +1,13 @@ import re +import sys +from io import StringIO import numpy as np im...
[ { "path": "doc/computing/scaling_strategies.rst", "old_path": "a/doc/computing/scaling_strategies.rst", "new_path": "b/doc/computing/scaling_strategies.rst", "metadata": "diff --git a/doc/computing/scaling_strategies.rst b/doc/computing/scaling_strategies.rst\nindex 5eee5728e4b9a..277d499f4cc13 1006...
1.01
7d93ca87ea14ef8f16be43d75cff72d05f48f7ed
[]
[ "sklearn/decomposition/tests/test_nmf.py::test_nmf_fit_nn_output[0.0-0.0-random-NMF-solver0]", "sklearn/decomposition/tests/test_nmf.py::test_convergence_warning[MiniBatchNMF-solver2]", "sklearn/decomposition/tests/test_nmf.py::test_nmf_fit_nn_output[1.0-1.0-nndsvdar-NMF-solver0]", "sklearn/decomposition/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/computing/scaling_strategies.rst", "old_path": "a/doc/computing/scaling_strategies.rst", "new_path": "b/doc/computing/scaling_strategies.rst", "metadata": "diff --git a/doc/computing/scaling_strategies.rst b/doc/computing/scaling_strategies.rst\nindex 5eee5728e4b9a..277d499f4cc13 1006...
diff --git a/doc/computing/scaling_strategies.rst b/doc/computing/scaling_strategies.rst index 5eee5728e4b9a..277d499f4cc13 100644 --- a/doc/computing/scaling_strategies.rst +++ b/doc/computing/scaling_strategies.rst @@ -80,6 +80,7 @@ Here is a list of incremental estimators for different tasks: + :class:`sklear...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22002
https://github.com/scikit-learn/scikit-learn/pull/22002
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 9a04946566d2d..4123211b0f166 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -148,6 +148,12 @@ Changelog get accurate results when the number of features is large. :pr:`21109` by :user:`Smile <x-shadow-man>`. +- |Enhancement|...
diff --git a/sklearn/decomposition/tests/test_dict_learning.py b/sklearn/decomposition/tests/test_dict_learning.py index 4c7561c54281a..f2ce8108b9af7 100644 --- a/sklearn/decomposition/tests/test_dict_learning.py +++ b/sklearn/decomposition/tests/test_dict_learning.py @@ -654,6 +654,215 @@ def test_warning_default_tran...
[ { "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 9a04946566d2d..4123211b0f166 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -14...
1.01
78a941aa73756595baff805fd390a0590262ac97
[ "sklearn/decomposition/tests/test_dict_learning.py::test_dict_learning_dtype_match[float32-float32-lars]", "sklearn/linear_model/tests/test_omp.py::test_with_without_gram", "sklearn/decomposition/tests/test_dict_learning.py::test_sparse_coder_common_transformer", "sklearn/decomposition/tests/test_dict_learnin...
[ "sklearn/decomposition/tests/test_dict_learning.py::test_dictionary_learning_dtype_match[float32-float32-lasso_lars-cd-MiniBatchDictionaryLearning]", "sklearn/decomposition/tests/test_dict_learning.py::test_dictionary_learning_dtype_match[float32-float32-omp-lars-MiniBatchDictionaryLearning]", "sklearn/decompos...
{ "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 9a04946566d2d..4123211b0f166 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -14...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 9a04946566d2d..4123211b0f166 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -148,6 +148,12 @@ Changelog get accurate results when the number of features is large. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :func:`decom...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22181
https://github.com/scikit-learn/scikit-learn/pull/22181
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 61d5c64255f71..eb303997f577b 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -177,6 +177,10 @@ Changelog preserve dtype for `numpy.float32`. :pr:`22111` by :user:`Takeshi Oura <takoika>`. +- |Enhancement| :class:`decompositio...
diff --git a/sklearn/decomposition/tests/test_truncated_svd.py b/sklearn/decomposition/tests/test_truncated_svd.py index f227585f4ccf7..eb4a0066ebfb4 100644 --- a/sklearn/decomposition/tests/test_truncated_svd.py +++ b/sklearn/decomposition/tests/test_truncated_svd.py @@ -39,7 +39,7 @@ def test_solvers(X_sparse, solver...
[ { "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..eb303997f577b 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -17...
1.01
5d7dc4ba327c138cf63be5cd9238200037c1eb13
[ "sklearn/decomposition/tests/test_truncated_svd.py::test_explained_variance[arpack-20-dense]", "sklearn/decomposition/tests/test_truncated_svd.py::test_explained_variance[randomized-10-dense]", "sklearn/decomposition/tests/test_truncated_svd.py::test_inverse_transform[randomized]", "sklearn/decomposition/test...
[ "sklearn/decomposition/tests/test_truncated_svd.py::test_attributes[55]" ]
{ "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..eb303997f577b 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -17...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 61d5c64255f71..eb303997f577b 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -177,6 +177,10 @@ Changelog preserve dtype for `numpy.float32`. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :class:`decomposition.TruncatedSVD`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18975
https://github.com/scikit-learn/scikit-learn/pull/18975
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 7729b2fea9a19..d66914877fe68 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -261,6 +261,24 @@ Changelog get accurate results when the number of features is large. :pr:`21109` by :user:`Smile <x-shadow-man>`. +- |Enhancement|...
diff --git a/sklearn/decomposition/tests/test_dict_learning.py b/sklearn/decomposition/tests/test_dict_learning.py index a335f9474a9c8..7eef4f480d7de 100644 --- a/sklearn/decomposition/tests/test_dict_learning.py +++ b/sklearn/decomposition/tests/test_dict_learning.py @@ -284,19 +284,34 @@ def test_dict_learning_split(...
[ { "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 7729b2fea9a19..d66914877fe68 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -26...
1.01
c3f81c1d489fc7cd64892f7e95ebef136b8b59ff
[ "sklearn/decomposition/tests/test_dict_learning.py::test_dict_learning_lars_dict_positivity[False]", "sklearn/decomposition/tests/test_dict_learning.py::test_sparse_encode_positivity[False-lasso_cd]", "sklearn/decomposition/tests/test_dict_learning.py::test_sparse_encode_shapes_omp", "sklearn/decomposition/te...
[ "sklearn/decomposition/tests/test_dict_learning.py::test_minibatch_dict_learning_partial_fit_iter_offset_deprecated", "sklearn/decomposition/tests/test_dict_learning.py::test_minibatch_dictionary_learning_dtype_match[int32-float64-threshold-cd]", "sklearn/decomposition/tests/test_dict_learning.py::test_minibatc...
{ "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 7729b2fea9a19..d66914877fe68 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 7729b2fea9a19..d66914877fe68 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -261,6 +261,24 @@ Changelog get accurate results when the number of features is large. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| The :class:`...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21705
https://github.com/scikit-learn/scikit-learn/pull/21705
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 38aea32e776aa..60a0d494bfcaa 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -217,12 +217,27 @@ Changelog `fit` instead of `__init__`. :pr:`21567` by :user:`Maggie Chege <MaggieChege>`. +- |Enhancement| :class:`decomposition....
diff --git a/sklearn/decomposition/tests/test_truncated_svd.py b/sklearn/decomposition/tests/test_truncated_svd.py index eb4a0066ebfb4..a59443254ba93 100644 --- a/sklearn/decomposition/tests/test_truncated_svd.py +++ b/sklearn/decomposition/tests/test_truncated_svd.py @@ -26,7 +26,7 @@ def X_sparse(): def test_solvers...
[ { "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..60a0d494bfcaa 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -21...
1.01
755d10a7fcfc44656bbed8d7f00f9e06e505732a
[]
[ "sklearn/decomposition/tests/test_truncated_svd.py::test_explained_variance[arpack-20-dense]", "sklearn/decomposition/tests/test_truncated_svd.py::test_explained_variance[randomized-10-dense]", "sklearn/decomposition/tests/test_truncated_svd.py::test_inverse_transform[randomized]", "sklearn/decomposition/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 38aea32e776aa..60a0d494bfcaa 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 38aea32e776aa..60a0d494bfcaa 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -217,12 +217,27 @@ Changelog `fit` instead of `__init__`. :pr:`<PRID>` by :user:`<NAME>`. +- |Enhancement| :class:`decomposition.TruncatedSVD` expos...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23038
https://github.com/scikit-learn/scikit-learn/pull/23038
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 8e5851cca632f..fdc7685395c62 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -44,6 +44,13 @@ Changelog - |Enhancement| :class:`cluster.Birch` now preserves dtype for `numpy.float32` inputs. :pr:`22968` by `Meekail Zain <micky774>...
diff --git a/sklearn/cluster/tests/test_k_means.py b/sklearn/cluster/tests/test_k_means.py index eabdb746e4dd5..9939852987775 100644 --- a/sklearn/cluster/tests/test_k_means.py +++ b/sklearn/cluster/tests/test_k_means.py @@ -1,6 +1,7 @@ """Testing for K-means""" import re import sys +import warnings import numpy ...
[ { "path": "doc/whats_new/v1.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 8e5851cca632f..fdc7685395c62 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -44...
1.02
996c7e2895db313dc7a5215473536f2b104121d0
[ "sklearn/manifold/tests/test_spectral_embedding.py::test_sparse_graph_connected_component", "sklearn/tests/test_discriminant_analysis.py::test_lda_predict_proba[lsqr-3]", "sklearn/model_selection/tests/test_validation.py::test_cross_val_predict_predict_proba_shape", "sklearn/tests/test_discriminant_analysis.p...
[ "sklearn/manifold/tests/test_spectral_embedding.py::test_pipeline_spectral_clustering", "sklearn/model_selection/tests/test_validation.py::test_cross_val_predict", "sklearn/metrics/tests/test_score_objects.py::test_supervised_cluster_scorers", "sklearn/tests/test_discriminant_analysis.py::test_lda_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.2.rst", "old_path": "a/doc/whats_new/v1.2.rst", "new_path": "b/doc/whats_new/v1.2.rst", "metadata": "diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst\nindex 8e5851cca632f..fdc7685395c62 100644\n--- a/doc/whats_new/v1.2.rst\n+++ b/doc/whats_new/v1.2.rst\n@@ -44...
diff --git a/doc/whats_new/v1.2.rst b/doc/whats_new/v1.2.rst index 8e5851cca632f..fdc7685395c62 100644 --- a/doc/whats_new/v1.2.rst +++ b/doc/whats_new/v1.2.rst @@ -44,6 +44,13 @@ Changelog - |Enhancement| :class:`cluster.Birch` now preserves dtype for `numpy.float32` inputs. :pr:`<PRID>` by `<NAME>`. +- |Enhance...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-20031
https://github.com/scikit-learn/scikit-learn/pull/20031
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index a4217ad44cd76..bd81afe41aca9 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -104,6 +104,7 @@ Classes cluster.DBSCAN cluster.FeatureAgglomeration cluster.KMeans + cluster.BisectingKMeans cluster.MiniBatchKMeans ...
diff --git a/sklearn/cluster/tests/test_bisect_k_means.py b/sklearn/cluster/tests/test_bisect_k_means.py new file mode 100644 index 0000000000000..a9904e61de04b --- /dev/null +++ b/sklearn/cluster/tests/test_bisect_k_means.py @@ -0,0 +1,160 @@ +import numpy as np +import pytest +import scipy.sparse as sp + +from sklear...
[ { "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 a4217ad44cd76..bd81afe41aca9 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
1.01
cf4283ea6c1724f76e7ecc04746aa7546ea62383
[]
[ "sklearn/cluster/tests/test_bisect_k_means.py::test_sparse", "sklearn/cluster/tests/test_bisect_k_means.py::test_n_clusters[5]", "sklearn/cluster/tests/test_bisect_k_means.py::test_float32_float64_equivalence[True]", "sklearn/cluster/tests/test_bisect_k_means.py::test_one_cluster", "sklearn/cluster/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": [ { "type": "file", "name": "examples/cluster/plot_bisect_kmeans.py" }, { "type": "file", "name": "sklearn/...
[ { "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 a4217ad44cd76..bd81afe41aca9 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 a4217ad44cd76..bd81afe41aca9 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -104,6 +104,7 @@ Classes cluster.DBSCAN cluster.FeatureAgglomeration cluster.KMeans + cluster.BisectingKMeans cluster.MiniBatchKMeans ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22119
https://github.com/scikit-learn/scikit-learn/pull/22119
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index daec37e96ac16..5c75e07b4a4a1 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -110,6 +110,13 @@ Changelog reconstruction of a `X` target when a `Y` parameter is given. :pr:`19680` by :user:`Robin Thibaut <robinthibaut>`. +- |A...
diff --git a/sklearn/cross_decomposition/tests/test_pls.py b/sklearn/cross_decomposition/tests/test_pls.py index 22af03ff6fc43..81f247fc5e8f9 100644 --- a/sklearn/cross_decomposition/tests/test_pls.py +++ b/sklearn/cross_decomposition/tests/test_pls.py @@ -607,3 +607,19 @@ def test_pls_constant_y(): pls.fit(x,...
[ { "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 daec37e96ac16..5c75e07b4a4a1 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -11...
1.01
5c675183d81d71e7e670bb32cf869afb99b513af
[ "sklearn/cross_decomposition/tests/test_pls.py::test_scale_and_stability[X2-Y2-CCA]", "sklearn/cross_decomposition/tests/test_pls.py::test_norm_y_weights_deprecation[CCA]", "sklearn/cross_decomposition/tests/test_pls.py::test_scale_and_stability[X1-Y1-PLSSVD]", "sklearn/cross_decomposition/tests/test_pls.py::...
[ "sklearn/cross_decomposition/tests/test_pls.py::test_pls_feature_names_out[PLSSVD]", "sklearn/cross_decomposition/tests/test_pls.py::test_pls_feature_names_out[PLSCanonical]", "sklearn/cross_decomposition/tests/test_pls.py::test_pls_feature_names_out[PLSRegression]", "sklearn/cross_decomposition/tests/test_pl...
{ "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 daec37e96ac16..5c75e07b4a4a1 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 daec37e96ac16..5c75e07b4a4a1 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -110,6 +110,13 @@ Changelog reconstruction of a `X` target when a `Y` parameter is given. :pr:`<PRID>` by :user:`<NAME>`. +- |API| Adds :term:`get_f...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-23047
https://github.com/scikit-learn/scikit-learn/pull/23047
diff --git a/doc/modules/grid_search.rst b/doc/modules/grid_search.rst index e92099a9833e2..9128c7d3c9841 100644 --- a/doc/modules/grid_search.rst +++ b/doc/modules/grid_search.rst @@ -507,27 +507,27 @@ additional information related to the successive halving process. Here is an example with some of the columns of a...
diff --git a/sklearn/ensemble/tests/test_forest.py b/sklearn/ensemble/tests/test_forest.py index a46f6337f2634..c235ec078f2e6 100644 --- a/sklearn/ensemble/tests/test_forest.py +++ b/sklearn/ensemble/tests/test_forest.py @@ -157,7 +157,7 @@ def check_iris_criterion(name, criterion): @pytest.mark.parametrize("name"...
[ { "path": "doc/modules/grid_search.rst", "old_path": "a/doc/modules/grid_search.rst", "new_path": "b/doc/modules/grid_search.rst", "metadata": "diff --git a/doc/modules/grid_search.rst b/doc/modules/grid_search.rst\nindex e92099a9833e2..9128c7d3c9841 100644\n--- a/doc/modules/grid_search.rst\n+++ b/...
1.01
6a822bc3272e28067216114e6070f328ad38c1c7
[ "sklearn/tree/tests/test_tree.py::test_regression_toy[friedman_mse-DecisionTreeRegressor]", "sklearn/tree/tests/test_tree.py::test_sparse[check_sparse_parameters-sparse-mix-ExtraTreeRegressor]", "sklearn/tree/tests/test_tree.py::test_prune_tree_regression_are_subtrees[DecisionTreeRegressor-toy-squared_error]", ...
[ "sklearn/tree/tests/test_tree.py::test_iris", "sklearn/ensemble/tests/test_forest.py::test_importances[RandomForestClassifier-log_loss-float64]", "sklearn/tree/tests/test_tree.py::test_criterion_entropy_same_as_log_loss[4-ExtraTreeClassifier]", "sklearn/tree/tests/test_tree.py::test_sparse[check_sparse_criter...
{ "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/grid_search.rst", "old_path": "a/doc/modules/grid_search.rst", "new_path": "b/doc/modules/grid_search.rst", "metadata": "diff --git a/doc/modules/grid_search.rst b/doc/modules/grid_search.rst\nindex e92099a9833e2..9128c7d3c9841 100644\n--- a/doc/modules/grid_search.rst\n+++ b/...
diff --git a/doc/modules/grid_search.rst b/doc/modules/grid_search.rst index e92099a9833e2..9128c7d3c9841 100644 --- a/doc/modules/grid_search.rst +++ b/doc/modules/grid_search.rst @@ -507,27 +507,27 @@ additional information related to the successive halving process. Here is an example with some of the columns of a...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21762
https://github.com/scikit-learn/scikit-learn/pull/21762
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 06d487297dcab..b985004e223cc 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -434,6 +434,13 @@ Changelog a more informative error if `CompoundKernel` is passed via `kernel`. :pr:`22223` by :user:`MarcoM <marcozzxx810>`. +:mod...
diff --git a/sklearn/ensemble/tests/test_forest.py b/sklearn/ensemble/tests/test_forest.py index fa7775de24652..d4c91f380e6d2 100644 --- a/sklearn/ensemble/tests/test_forest.py +++ b/sklearn/ensemble/tests/test_forest.py @@ -1842,3 +1842,29 @@ def test_mse_criterion_object_segfault_smoke_test(Forest): est = FOREST...
[ { "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 06d487297dcab..b985004e223cc 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -43...
1.01
96c2be582a1ef3d27f76d5e79f925dcc88a12532
[ "sklearn/ensemble/tests/test_forest.py::test_max_samples_exceptions[nan-ValueError-`max_sampl-ExtraTreesClassifier]", "sklearn/ensemble/tests/test_forest.py::test_forest_oob_warning[ExtraTreesClassifier]", "sklearn/ensemble/tests/test_forest.py::test_max_samples_exceptions[nan-ValueError-`max_sampl-ExtraTreesRe...
[ "sklearn/ensemble/tests/test_forest.py::test_random_trees_embedding_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 06d487297dcab..b985004e223cc 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -43...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 06d487297dcab..b985004e223cc 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -434,6 +434,13 @@ Changelog a more informative error if `CompoundKernel` is passed via `kernel`. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.ense...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22695
https://github.com/scikit-learn/scikit-learn/pull/22695
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 2c6b1d198bedc..16574969d0d7b 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -342,6 +342,10 @@ Changelog :class:`ensemble.ExtraTreesClassifier`. :pr:`20803` by :user:`Brian Sun <bsun94>`. +- |API| Adds :meth:`get_feature_name...
diff --git a/sklearn/ensemble/tests/test_stacking.py b/sklearn/ensemble/tests/test_stacking.py index 926c06c82321e..31f1de15d51a8 100644 --- a/sklearn/ensemble/tests/test_stacking.py +++ b/sklearn/ensemble/tests/test_stacking.py @@ -5,6 +5,7 @@ import pytest import numpy as np +from numpy.testing import assert_arra...
[ { "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 2c6b1d198bedc..16574969d0d7b 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -34...
1.01
279388d9ed2ea83194dd45a2d78161be30b43aa7
[ "sklearn/ensemble/tests/test_stacking.py::test_stacking_regressor_error[y0-params0-ValueError-Invalid 'estimators' attribute,]", "sklearn/ensemble/tests/test_stacking.py::test_stacking_regressor_diabetes[True-final_estimator2-predict_params2-cv1]", "sklearn/ensemble/tests/test_stacking.py::test_stacking_regress...
[ "sklearn/ensemble/tests/test_stacking.py::test_get_feature_names_out[True-StackingRegressor]", "sklearn/ensemble/tests/test_stacking.py::test_get_feature_names_out[False-StackingRegressor]", "sklearn/ensemble/tests/test_stacking.py::test_get_feature_names_out[True-StackingClassifier_multiclass]", "sklearn/ens...
{ "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 2c6b1d198bedc..16574969d0d7b 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 2c6b1d198bedc..16574969d0d7b 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -342,6 +342,10 @@ Changelog :class:`ensemble.ExtraTreesClassifier`. :pr:`<PRID>` by :user:`<NAME>`. +- |API| Adds :meth:`get_feature_names_out` to +...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-16061
https://github.com/scikit-learn/scikit-learn/pull/16061
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index fecb9f0b95b60..0543407c75527 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -657,6 +657,7 @@ Plotting :toctree: generated/ :template: class.rst + inspection.DecisionBoundaryDisplay inspection.PartialDependenceDis...
diff --git a/sklearn/inspection/_plot/tests/test_boundary_decision_display.py b/sklearn/inspection/_plot/tests/test_boundary_decision_display.py new file mode 100644 index 0000000000000..955deb33331d6 --- /dev/null +++ b/sklearn/inspection/_plot/tests/test_boundary_decision_display.py @@ -0,0 +1,321 @@ +import pytest +...
[ { "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 fecb9f0b95b60..0543407c75527 100644\n--- a/doc/modules/classes.rst\n+++ b/doc/modules/classes.rst\...
1.01
48f363f35abec5b3611f96a2b91e9d4e2e1ce527
[]
[ "sklearn/inspection/_plot/tests/test_boundary_decision_display.py::test_input_validation_errors[kwargs2-grid_resolution must be greater than 1. Got -1 instead]", "sklearn/inspection/_plot/tests/test_boundary_decision_display.py::test_multioutput_regressor_error", "sklearn/inspection/_plot/tests/test_boundary_de...
{ "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/inspection/_plot/decision_boundary.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 fecb9f0b95b60..0543407c75527 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 fecb9f0b95b60..0543407c75527 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -657,6 +657,7 @@ Plotting :toctree: generated/ :template: class.rst + inspection.DecisionBoundaryDisplay inspection.PartialDependenceDis...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-19438
https://github.com/scikit-learn/scikit-learn/pull/19438
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 634ab0a01300c..91aa2a2859fd8 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -435,6 +435,16 @@ Changelog `max_iter` and `tol`. :pr:`21341` by :user:`Arturo Amor <ArturoAmorQ>`. +:mod:`sklearn.inspection` +.......................
diff --git a/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py b/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py index ed5e4388eef48..aa669ef758731 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.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 634ab0a01300c..91aa2a2859fd8 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -43...
1.01
dbcd4d5f391f903e7df16607a0ef246c6c5b2cc8
[ "sklearn/inspection/_plot/tests/test_plot_partial_dependence.py::test_plot_partial_dependence_subsampling[function-average-expected_shape0]", "sklearn/inspection/_plot/tests/test_plot_partial_dependence.py::test_plot_partial_dependence_str_features[function-list-series]", "sklearn/inspection/_plot/tests/test_pl...
[ "sklearn/inspection/_plot/tests/test_plot_partial_dependence.py::test_partial_dependence_kind_error[function-features4-kind4]", "sklearn/inspection/_plot/tests/test_plot_partial_dependence.py::test_plot_partial_dependence_lines_kw[from_estimator-None-pd_line_kw1-ice_lines_kw1-expected_colors1]", "sklearn/inspec...
{ "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 634ab0a01300c..91aa2a2859fd8 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -43...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 634ab0a01300c..91aa2a2859fd8 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -435,6 +435,16 @@ Changelog `max_iter` and `tol`. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.inspection` +......................... + +- |Enhanc...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-18310
https://github.com/scikit-learn/scikit-learn/pull/18310
diff --git a/doc/modules/partial_dependence.rst b/doc/modules/partial_dependence.rst index 9a064f4a73650..2d3603cc79095 100644 --- a/doc/modules/partial_dependence.rst +++ b/doc/modules/partial_dependence.rst @@ -11,10 +11,10 @@ Partial dependence plots (PDP) and individual conditional expectation (ICE) plots can be u...
diff --git a/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py b/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py index aa669ef758731..6a43e212df578 100644 --- a/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py +++ b/sklearn/inspection/_plot/tests/test_plot_partial_dependence.py...
[ { "path": "doc/modules/partial_dependence.rst", "old_path": "a/doc/modules/partial_dependence.rst", "new_path": "b/doc/modules/partial_dependence.rst", "metadata": "diff --git a/doc/modules/partial_dependence.rst b/doc/modules/partial_dependence.rst\nindex 9a064f4a73650..2d3603cc79095 100644\n--- a/...
1.01
634ef44d771056c662504fe5f61664508c109084
[ "sklearn/inspection/_plot/tests/test_plot_partial_dependence.py::test_plot_partial_dependence_subsampling[function-average-expected_shape0]", "sklearn/inspection/_plot/tests/test_plot_partial_dependence.py::test_plot_partial_dependence_str_features[function-list-series]", "sklearn/inspection/_plot/tests/test_pl...
[ "sklearn/inspection/_plot/tests/test_plot_partial_dependence.py::test_partial_dependence_plot_limits_one_way[function-False-both]", "sklearn/inspection/_plot/tests/test_plot_partial_dependence.py::test_partial_dependence_display_kind_centered_interaction[function-average]", "sklearn/inspection/_plot/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/partial_dependence.rst", "old_path": "a/doc/modules/partial_dependence.rst", "new_path": "b/doc/modules/partial_dependence.rst", "metadata": "diff --git a/doc/modules/partial_dependence.rst b/doc/modules/partial_dependence.rst\nindex 9a064f4a73650..2d3603cc79095 100644\n--- a/...
diff --git a/doc/modules/partial_dependence.rst b/doc/modules/partial_dependence.rst index 9a064f4a73650..2d3603cc79095 100644 --- a/doc/modules/partial_dependence.rst +++ b/doc/modules/partial_dependence.rst @@ -11,10 +11,10 @@ Partial dependence plots (PDP) and individual conditional expectation (ICE) plots can be u...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21617
https://github.com/scikit-learn/scikit-learn/pull/21617
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index f0d00501d3368..e367ce72e90ba 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -121,6 +121,11 @@ Changelog :pr:`21448` by :user:`Oleh Kozynets <OlehKSS>` and :user:`Christian Ritter <chritter>`. +- |Enhancement| :class:`SimpleI...
diff --git a/sklearn/impute/tests/test_impute.py b/sklearn/impute/tests/test_impute.py index 8b79041fd4b6e..668f5fa33bd8a 100644 --- a/sklearn/impute/tests/test_impute.py +++ b/sklearn/impute/tests/test_impute.py @@ -116,6 +116,37 @@ def test_imputation_deletion_warning(strategy): imputer.transform(X) +@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 f0d00501d3368..e367ce72e90ba 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -12...
1.01
d63405f1bb6e4e6f56f59cb947a51ffd48cba895
[ "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_impute.py::test_imputation_deletion_warning_feature_names[mean]", "sklearn/impute/tests/test_impute.py::test_imputation_deletion_warning_feature_names[median]", "sklearn/impute/tests/test_impute.py::test_imputation_deletion_warning_feature_names[most_frequent]" ]
{ "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 f0d00501d3368..e367ce72e90ba 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -12...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index f0d00501d3368..e367ce72e90ba 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -121,6 +121,11 @@ Changelog :pr:`<PRID>` by :user:`<NAME>` and :user:`<NAME>`. +- |Enhancement| :class:`SimpleImputer` now warns with feature names ...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-21114
https://github.com/scikit-learn/scikit-learn/pull/21114
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 95367bb35ce10..e5d9bd49dc63f 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -81,6 +81,9 @@ Changelog :mod:`sklearn.impute` ..................... +- |Enhancement| Added support for `pd.NA` in :class:`SimpleImputer`. + :pr:`21114...
diff --git a/sklearn/impute/tests/test_impute.py b/sklearn/impute/tests/test_impute.py index 9a4da4a9230a0..1a009db28ee5b 100644 --- a/sklearn/impute/tests/test_impute.py +++ b/sklearn/impute/tests/test_impute.py @@ -28,6 +28,16 @@ from sklearn.impute._base import _most_frequent +def _assert_array_equal_and_same_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 95367bb35ce10..e5d9bd49dc63f 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -81...
1.01
bd871537415a80b0505daabeaa8bfe4dd5f30e6d
[ "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_impute.py::test_simple_impute_pd_na" ]
{ "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..e5d9bd49dc63f 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -81...
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 95367bb35ce10..e5d9bd49dc63f 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -81,6 +81,9 @@ Changelog :mod:`sklearn.impute` ..................... +- |Enhancement| Added support for `pd.NA` in :class:`SimpleImputer`. + :pr:`<PRID...
scikit-learn/scikit-learn
scikit-learn__scikit-learn-22120
https://github.com/scikit-learn/scikit-learn/pull/22120
diff --git a/doc/whats_new/v1.1.rst b/doc/whats_new/v1.1.rst index 5d49a6fd281c7..daec37e96ac16 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -110,6 +110,13 @@ Changelog reconstruction of a `X` target when a `Y` parameter is given. :pr:`19680` by :user:`Robin Thibaut <robinthibaut>`. +:mod...
diff --git a/sklearn/tests/test_common.py b/sklearn/tests/test_common.py index 3611d52085b9e..2a0bb8d085b77 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", "c...
[ { "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 5d49a6fd281c7..daec37e96ac16 100644\n--- a/doc/whats_new/v1.1.rst\n+++ b/doc/whats_new/v1.1.rst\n@@ -11...
1.01
42a34e81a2efd64ddd7b40b433765e7c361cb51e
[ "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_shrinkage[7]", "sklearn/tests/test_discriminant_analysis.py::te...
[ "sklearn/tests/test_discriminant_analysis.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 5d49a6fd281c7..daec37e96ac16 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 5d49a6fd281c7..daec37e96ac16 100644 --- a/doc/whats_new/v1.1.rst +++ b/doc/whats_new/v1.1.rst @@ -110,6 +110,13 @@ Changelog reconstruction of a `X` target when a `Y` parameter is given. :pr:`<PRID>` by :user:`<NAME>`. +:mod:`sklearn.discriminan...