url
string
repository_url
string
labels_url
string
comments_url
string
events_url
string
html_url
string
id
int64
node_id
string
number
int64
title
string
user
dict
labels
list
state
string
locked
bool
assignees
list
milestone
dict
comments
int64
created_at
timestamp[s]
updated_at
timestamp[s]
closed_at
timestamp[s]
assignee
dict
author_association
string
type
dict
active_lock_reason
string
sub_issues_summary
dict
issue_dependencies_summary
dict
body
string
closed_by
dict
reactions
dict
timeline_url
string
performed_via_github_app
null
state_reason
string
pinned_comment
dict
draft
bool
pull_request
dict
is_pull_request
bool
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33158
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33158/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33158/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33158/events
https://github.com/scikit-learn/scikit-learn/issues/33158
3,874,821,024
I_kwDOAAzd1s7m9ROg
33,158
RFC: `DecisionTree*`/`ExtraTree*`: why accepting a `splitter` parameter? (let's deprecate it)
{ "login": "cakedev0", "id": 25986961, "node_id": "MDQ6VXNlcjI1OTg2OTYx", "avatar_url": "https://avatars.githubusercontent.com/u/25986961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cakedev0", "html_url": "https://github.com/cakedev0", "followers_url": "https://api.github.com/users/cakedev0/followers", "following_url": "https://api.github.com/users/cakedev0/following{/other_user}", "gists_url": "https://api.github.com/users/cakedev0/gists{/gist_id}", "starred_url": "https://api.github.com/users/cakedev0/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cakedev0/subscriptions", "organizations_url": "https://api.github.com/users/cakedev0/orgs", "repos_url": "https://api.github.com/users/cakedev0/repos", "events_url": "https://api.github.com/users/cakedev0/events{/privacy}", "received_events_url": "https://api.github.com/users/cakedev0/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[]
open
false
[]
null
7
2026-01-30T09:25:34
2026-03-05T13:37:12
null
null
CONTRIBUTOR
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
Classes `DecisionTree*` and `ExtraTree*` are exact copies, the only thing that differentiates them is the default value of the `splitter` parameter. I think it's confusing to expose this parameter in the public API, I think `DecisionTree*`s should always use the "best-splitter" and `ExtraTree*` should always use the random-splitter. **Why I think it's confusing:** because for instance a `ExtraTreeRegressor(splitter="best")` is absolutely not "An extremely randomized tree regressor" as the doc describes this model. It's just a normal `DecisionTreeRegressor()`. I was confused about that for a long time, I though that somehow this would still have some randomness in it / a different behavior from a decision tree. I understood it was not the case only by looking at the code. I suspect this parameter exists for **historical reasons**: at one point in the past it seems that trees accepted custom splitters. But it's not the case anymore: ```Python _parameter_constraints: dict = { "splitter": [StrOptions({"best", "random"})], ... } ``` Side node: we could also remove some code that handles the case of a custom splitter (see #33150), and the code that allows `Splitter` subclasses to be serializable (`__reduce__`, etc.). What do you think?
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33158/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33158/timeline
null
null
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33156
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33156/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33156/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33156/events
https://github.com/scikit-learn/scikit-learn/pull/33156
3,870,539,723
PR_kwDOAAzd1s7AH8qg
33,156
Fix stratifiedgroupkfold groups lt splits
{ "login": "gitCHANI2005", "id": 199931616, "node_id": "U_kgDOC-q24A", "avatar_url": "https://avatars.githubusercontent.com/u/199931616?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gitCHANI2005", "html_url": "https://github.com/gitCHANI2005", "followers_url": "https://api.github.com/users/gitCHANI2005/followers", "following_url": "https://api.github.com/users/gitCHANI2005/following{/other_user}", "gists_url": "https://api.github.com/users/gitCHANI2005/gists{/gist_id}", "starred_url": "https://api.github.com/users/gitCHANI2005/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gitCHANI2005/subscriptions", "organizations_url": "https://api.github.com/users/gitCHANI2005/orgs", "repos_url": "https://api.github.com/users/gitCHANI2005/repos", "events_url": "https://api.github.com/users/gitCHANI2005/events{/privacy}", "received_events_url": "https://api.github.com/users/gitCHANI2005/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815446740, "node_id": "MDU6TGFiZWwxODE1NDQ2NzQw", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:model_selection", "name": "module:model_selection", "color": "151e91", "default": false, "description": "" } ]
closed
false
[]
null
3
2026-01-29T12:58:43
2026-02-16T10:50:21
2026-01-29T13:36:30
null
NONE
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "StefanieSenger", "id": 91849487, "node_id": "U_kgDOBXmDDw", "avatar_url": "https://avatars.githubusercontent.com/u/91849487?v=4", "gravatar_id": "", "url": "https://api.github.com/users/StefanieSenger", "html_url": "https://github.com/StefanieSenger", "followers_url": "https://api.github.com/users/StefanieSenger/followers", "following_url": "https://api.github.com/users/StefanieSenger/following{/other_user}", "gists_url": "https://api.github.com/users/StefanieSenger/gists{/gist_id}", "starred_url": "https://api.github.com/users/StefanieSenger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/StefanieSenger/subscriptions", "organizations_url": "https://api.github.com/users/StefanieSenger/orgs", "repos_url": "https://api.github.com/users/StefanieSenger/repos", "events_url": "https://api.github.com/users/StefanieSenger/events{/privacy}", "received_events_url": "https://api.github.com/users/StefanieSenger/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33156/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33156/timeline
null
null
null
true
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33156", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33156", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33156.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33156.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33155
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33155/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33155/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33155/events
https://github.com/scikit-learn/scikit-learn/pull/33155
3,870,126,563
PR_kwDOAAzd1s7AGjQQ
33,155
CI Migrate pylatest_conda_forge_mkl build to GHA
{ "login": "FrancoisPgm", "id": 35327799, "node_id": "MDQ6VXNlcjM1MzI3Nzk5", "avatar_url": "https://avatars.githubusercontent.com/u/35327799?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FrancoisPgm", "html_url": "https://github.com/FrancoisPgm", "followers_url": "https://api.github.com/users/FrancoisPgm/followers", "following_url": "https://api.github.com/users/FrancoisPgm/following{/other_user}", "gists_url": "https://api.github.com/users/FrancoisPgm/gists{/gist_id}", "starred_url": "https://api.github.com/users/FrancoisPgm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/FrancoisPgm/subscriptions", "organizations_url": "https://api.github.com/users/FrancoisPgm/orgs", "repos_url": "https://api.github.com/users/FrancoisPgm/repos", "events_url": "https://api.github.com/users/FrancoisPgm/events{/privacy}", "received_events_url": "https://api.github.com/users/FrancoisPgm/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
1
2026-01-29T11:16:30
2026-01-30T13:25:20
2026-01-30T09:11:43
null
CONTRIBUTOR
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> Towards #32434 #### What does this implement/fix? Explain your changes. Move the `pylatest_conda_forge_mkl` unit tests to github actions. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [x] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? I believe the idea is to have manually triggered actions behave exactly as scheduled ones, so I conditioned the `SKLEARN_SKIP_NETWORK_TESTS` env var so that the network tests are performed for both scheduled and manually triggered runs. <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33155/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33155/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33155", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33155", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33155.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33155.patch", "merged_at": "2026-01-30T09:11:43" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33154
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33154/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33154/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33154/events
https://github.com/scikit-learn/scikit-learn/issues/33154
3,868,799,303
I_kwDOAAzd1s7mmTFH
33,154
Redundant execution of check_class_weight_balanced_linear_classifier
{ "login": "atheendre130505", "id": 144999593, "node_id": "U_kgDOCKSEqQ", "avatar_url": "https://avatars.githubusercontent.com/u/144999593?v=4", "gravatar_id": "", "url": "https://api.github.com/users/atheendre130505", "html_url": "https://github.com/atheendre130505", "followers_url": "https://api.github.com/users/atheendre130505/followers", "following_url": "https://api.github.com/users/atheendre130505/following{/other_user}", "gists_url": "https://api.github.com/users/atheendre130505/gists{/gist_id}", "starred_url": "https://api.github.com/users/atheendre130505/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/atheendre130505/subscriptions", "organizations_url": "https://api.github.com/users/atheendre130505/orgs", "repos_url": "https://api.github.com/users/atheendre130505/repos", "events_url": "https://api.github.com/users/atheendre130505/events{/privacy}", "received_events_url": "https://api.github.com/users/atheendre130505/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995755, "node_id": "MDU6TGFiZWwxMjk5NTc1NQ==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Bug", "name": "Bug", "color": "e10c02", "default": false, "description": null } ]
closed
false
[]
null
4
2026-01-29T04:48:15
2026-02-05T16:20:11
2026-02-05T16:20:11
null
NONE
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
### Describe the bug and give evidence about its user-facing impact Describe the bug and give evidence about its user-facing impact In sklearn/utils/estimator_checks.py, the function _yield_classifier_checks yields check_class_weight_balanced_linear_classifier twice for linear classifiers that support the class_weight parameter. This bug was discovered during a manual code review of estimator_checks.py. It affects any scikit-learn user or developer who uses check_estimator (or the underlying check generators) to validate estimators. The impact is redundant test execution. For example, when running common tests for a LogisticRegression or a custom linear classifier using the mixin, this specific check (which involves fitting the estimator and verifying class weight handling) is executed twice. This is wasteful in terms of CI/CD time and can lead to duplicated error messages or logs, making debugging more tedious. ### Steps/Code to Reproduce from sklearn.linear_model import LogisticRegression from sklearn.utils.estimator_checks import _yield_classifier_checks def get_name(check): return getattr(check, "__name__", getattr(check, "func", check).__name__) clf = LogisticRegression() checks = list(_yield_classifier_checks(clf)) check_names = [get_name(c) for c in checks] duplicate_count = check_names.count( 'check_class_weight_balanced_linear_classifier' ) print(f"Yield count: {duplicate_count}") ### Expected Results The check should be yielded exactly once. Yield count: 1 ### Actual Results The check is currently yielded twice. Yield count: 2 ### Versions ```shell python: 3.14.0 numpy: 2.4.1 scipy: 1.17.0 joblib: 1.5.3 scikit-learn: 1.7.dev0 (from source) ``` ### Interest in fixing the bug I am interested in fixing this bug. I have already identified the root cause and implemented a fix. Analysis of root cause: In _yield_classifier_checks, there are two consecutive if blocks that both check for isinstance(classifier, LinearClassifierMixin) and the presence of class_weight in parameters. Both blocks yield the same check.
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33154/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33154/timeline
null
completed
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33153
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33153/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33153/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33153/events
https://github.com/scikit-learn/scikit-learn/pull/33153
3,868,722,490
PR_kwDOAAzd1s7AB0-r
33,153
DOC Add note about startup overhead in parallelism
{ "login": "MAUK9086", "id": 115063771, "node_id": "U_kgDOBtu72w", "avatar_url": "https://avatars.githubusercontent.com/u/115063771?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MAUK9086", "html_url": "https://github.com/MAUK9086", "followers_url": "https://api.github.com/users/MAUK9086/followers", "following_url": "https://api.github.com/users/MAUK9086/following{/other_user}", "gists_url": "https://api.github.com/users/MAUK9086/gists{/gist_id}", "starred_url": "https://api.github.com/users/MAUK9086/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MAUK9086/subscriptions", "organizations_url": "https://api.github.com/users/MAUK9086/orgs", "repos_url": "https://api.github.com/users/MAUK9086/repos", "events_url": "https://api.github.com/users/MAUK9086/events{/privacy}", "received_events_url": "https://api.github.com/users/MAUK9086/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null } ]
closed
false
[]
null
0
2026-01-29T04:17:35
2026-01-30T11:33:53
2026-01-30T09:07:50
null
CONTRIBUTOR
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs Fixes #33112 <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. This PR adds a .. note:: to the parallelism.rst documentation. It explains that a delay (startup overhead) is expected when calling parallel functions with n_jobs > 1 for the first time, due to the initialization of Python worker processes. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? This clarification was requested to help users understand why the first call to cross_validate or other parallel estimators might be slower than subsequent calls. <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33153/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33153/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33153", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33153", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33153.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33153.patch", "merged_at": "2026-01-30T09:07:50" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33152
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33152/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33152/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33152/events
https://github.com/scikit-learn/scikit-learn/issues/33152
3,868,639,538
I_kwDOAAzd1s7mlsEy
33,152
Free-threaded failure in `gaussian_process/tests/test_gpc.py::test_multi_class_n_jobs[kernel3]` with `dictionary changed size during iteration`
{ "login": "scikit-learn-bot", "id": 8699527, "node_id": "MDQ6VXNlcjg2OTk1Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/8699527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scikit-learn-bot", "html_url": "https://github.com/scikit-learn-bot", "followers_url": "https://api.github.com/users/scikit-learn-bot/followers", "following_url": "https://api.github.com/users/scikit-learn-bot/following{/other_user}", "gists_url": "https://api.github.com/users/scikit-learn-bot/gists{/gist_id}", "starred_url": "https://api.github.com/users/scikit-learn-bot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scikit-learn-bot/subscriptions", "organizations_url": "https://api.github.com/users/scikit-learn-bot/orgs", "repos_url": "https://api.github.com/users/scikit-learn-bot/repos", "events_url": "https://api.github.com/users/scikit-learn-bot/events{/privacy}", "received_events_url": "https://api.github.com/users/scikit-learn-bot/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995755, "node_id": "MDU6TGFiZWwxMjk5NTc1NQ==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Bug", "name": "Bug", "color": "e10c02", "default": false, "description": null }, { "id": 6941982114, "node_id": "LA_kwDOAAzd1s8AAAABncY9og", "url...
open
false
[]
null
10
2026-01-29T03:48:51
2026-02-06T09:40:52
null
null
CONTRIBUTOR
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
**CI failed on [Unit tests ](https://github.com/scikit-learn/scikit-learn/actions/runs/21464334999)** (Jan 29, 2026) - test_multi_class_n_jobs[kernel3]
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33152/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33152/timeline
null
null
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33151
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33151/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33151/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33151/events
https://github.com/scikit-learn/scikit-learn/pull/33151
3,867,442,539
PR_kwDOAAzd1s6_9hWm
33,151
Use pre-commit hooks in linting CI
{ "login": "jonmarrs", "id": 40682667, "node_id": "MDQ6VXNlcjQwNjgyNjY3", "avatar_url": "https://avatars.githubusercontent.com/u/40682667?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jonmarrs", "html_url": "https://github.com/jonmarrs", "followers_url": "https://api.github.com/users/jonmarrs/followers", "following_url": "https://api.github.com/users/jonmarrs/following{/other_user}", "gists_url": "https://api.github.com/users/jonmarrs/gists{/gist_id}", "starred_url": "https://api.github.com/users/jonmarrs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jonmarrs/subscriptions", "organizations_url": "https://api.github.com/users/jonmarrs/orgs", "repos_url": "https://api.github.com/users/jonmarrs/repos", "events_url": "https://api.github.com/users/jonmarrs/events{/privacy}", "received_events_url": "https://api.github.com/users/jonmarrs/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
0
2026-01-28T21:13:31
2026-01-28T23:04:27
2026-01-28T23:04:27
null
NONE
null
null
null
null
## Summary\n- switch linting.sh to run pre-commit hooks (ruff, ruff-format, mypy, cython-lint)\n- update linting CI jobs (GitHub Actions + Azure Pipelines) to install pre-commit\n- make lint comment helper resilient when versions file is missing\n\n## Testing\n- ### Running the ruff linter ### Problems detected by ruff check, please fix them ### Running the ruff formatter ### Problems detected by ruff format, please run ruff format and commit the result ### Running mypy ### Problems detected by mypy, please fix them ### Running cython-lint ### Problems detected by cython-lint, please fix them ### Checking for bad deprecation order ### No problems detected related to deprecation order ### Checking for default doctest directives ### No problems detected related to doctest directives ### Checking for joblib imports ### No problems detected related to joblib imports ### Linting completed ### Linting failed\n
{ "login": "jonmarrs", "id": 40682667, "node_id": "MDQ6VXNlcjQwNjgyNjY3", "avatar_url": "https://avatars.githubusercontent.com/u/40682667?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jonmarrs", "html_url": "https://github.com/jonmarrs", "followers_url": "https://api.github.com/users/jonmarrs/followers", "following_url": "https://api.github.com/users/jonmarrs/following{/other_user}", "gists_url": "https://api.github.com/users/jonmarrs/gists{/gist_id}", "starred_url": "https://api.github.com/users/jonmarrs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jonmarrs/subscriptions", "organizations_url": "https://api.github.com/users/jonmarrs/orgs", "repos_url": "https://api.github.com/users/jonmarrs/repos", "events_url": "https://api.github.com/users/jonmarrs/events{/privacy}", "received_events_url": "https://api.github.com/users/jonmarrs/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33151/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33151/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33151", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33151", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33151.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33151.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33150
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33150/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33150/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33150/events
https://github.com/scikit-learn/scikit-learn/pull/33150
3,867,105,069
PR_kwDOAAzd1s6_8XfP
33,150
[paused] MNT: Trees - Remove unreachable branch in `._fit`
{ "login": "cakedev0", "id": 25986961, "node_id": "MDQ6VXNlcjI1OTg2OTYx", "avatar_url": "https://avatars.githubusercontent.com/u/25986961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cakedev0", "html_url": "https://github.com/cakedev0", "followers_url": "https://api.github.com/users/cakedev0/followers", "following_url": "https://api.github.com/users/cakedev0/following{/other_user}", "gists_url": "https://api.github.com/users/cakedev0/gists{/gist_id}", "starred_url": "https://api.github.com/users/cakedev0/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cakedev0/subscriptions", "organizations_url": "https://api.github.com/users/cakedev0/orgs", "repos_url": "https://api.github.com/users/cakedev0/repos", "events_url": "https://api.github.com/users/cakedev0/events{/privacy}", "received_events_url": "https://api.github.com/users/cakedev0/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815449280, "node_id": "MDU6TGFiZWwxODE1NDQ5Mjgw", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:tree", "name": "module:tree", "color": "151e91", "default": false, "description": "" } ]
open
false
[]
null
0
2026-01-28T19:48:41
2026-01-30T09:27:11
null
null
CONTRIBUTOR
null
null
null
null
I stumbled on that while experimenting some things on trees. #### Reference Issues/PRs RFC #33158 #### What does this implement/fix? Explain your changes. The `splitter` parameter (and hence `self.splitter`) can never be a `Splitter` instance, because of the parameter constraint: `"splitter": [StrOptions({"best", "random"})]`. So I removed the branch checking for that. #### AI usage: no #### Any other comments? I think this could help a bit in potential future changes I envision for trees (long term).
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33150/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33150/timeline
null
null
null
true
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33150", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33150", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33150.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33150.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33149
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33149/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33149/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33149/events
https://github.com/scikit-learn/scikit-learn/pull/33149
3,866,852,340
PR_kwDOAAzd1s6_7gu-
33,149
Fixes #33135
{ "login": "NaorTm", "id": 94263403, "node_id": "U_kgDOBZ5Yaw", "avatar_url": "https://avatars.githubusercontent.com/u/94263403?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NaorTm", "html_url": "https://github.com/NaorTm", "followers_url": "https://api.github.com/users/NaorTm/followers", "following_url": "https://api.github.com/users/NaorTm/following{/other_user}", "gists_url": "https://api.github.com/users/NaorTm/gists{/gist_id}", "starred_url": "https://api.github.com/users/NaorTm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NaorTm/subscriptions", "organizations_url": "https://api.github.com/users/NaorTm/orgs", "repos_url": "https://api.github.com/users/NaorTm/repos", "events_url": "https://api.github.com/users/NaorTm/events{/privacy}", "received_events_url": "https://api.github.com/users/NaorTm/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815453311, "node_id": "MDU6TGFiZWwxODE1NDUzMzEx", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:utils", "name": "module:utils", "color": "151e91", "default": false, "description": "" }, { "id": 2399338178, "node_id": "MDU6TGFiZWwyMzk5Mz...
closed
false
[]
null
0
2026-01-28T18:46:06
2026-01-29T06:26:53
2026-01-29T06:26:42
null
NONE
null
null
null
null
#### Fixes #33135. This PR fixes a false negative in `check_estimator`, specifically in `check_requires_y_none`, for estimators that validate `y` using the `validate_params` decorator with an `array-like` constraint. When `y=None`, `validate_params` raises an error of the form: โ€œThe 'y' parameter of ... must be an array-like. Got None instead.โ€ This message was not matched by the set of accepted error patterns in `check_requires_y_none`, causing estimators that correctly reject `None` values to still fail the check. Changes: , Extend the accepted error patterns to include the `validate_params` wording for the `array-like` constraint (โ€œmust be an array-like. Got None insteadโ€). , Add a regression test to ensure estimators using `validate_params` for `y` validation pass `check_requires_y_none` while still rejecting `y=None`. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug)
{ "login": "virchan", "id": 25701849, "node_id": "MDQ6VXNlcjI1NzAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/25701849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/virchan", "html_url": "https://github.com/virchan", "followers_url": "https://api.github.com/users/virchan/followers", "following_url": "https://api.github.com/users/virchan/following{/other_user}", "gists_url": "https://api.github.com/users/virchan/gists{/gist_id}", "starred_url": "https://api.github.com/users/virchan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/virchan/subscriptions", "organizations_url": "https://api.github.com/users/virchan/orgs", "repos_url": "https://api.github.com/users/virchan/repos", "events_url": "https://api.github.com/users/virchan/events{/privacy}", "received_events_url": "https://api.github.com/users/virchan/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33149/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33149/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33149", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33149", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33149.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33149.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33148
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33148/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33148/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33148/events
https://github.com/scikit-learn/scikit-learn/pull/33148
3,866,730,066
PR_kwDOAAzd1s6_7Ftq
33,148
FIX Correct validation in BisectingKMeans with custom init
{ "login": "MAUK9086", "id": 115063771, "node_id": "U_kgDOBtu72w", "avatar_url": "https://avatars.githubusercontent.com/u/115063771?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MAUK9086", "html_url": "https://github.com/MAUK9086", "followers_url": "https://api.github.com/users/MAUK9086/followers", "following_url": "https://api.github.com/users/MAUK9086/following{/other_user}", "gists_url": "https://api.github.com/users/MAUK9086/gists{/gist_id}", "starred_url": "https://api.github.com/users/MAUK9086/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MAUK9086/subscriptions", "organizations_url": "https://api.github.com/users/MAUK9086/orgs", "repos_url": "https://api.github.com/users/MAUK9086/repos", "events_url": "https://api.github.com/users/MAUK9086/events{/privacy}", "received_events_url": "https://api.github.com/users/MAUK9086/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815435821, "node_id": "MDU6TGFiZWwxODE1NDM1ODIx", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:cluster", "name": "module:cluster", "color": "151e91", "default": false, "description": "" } ]
closed
false
[]
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/milestones/70", "html_url": "https://github.com/scikit-learn/scikit-learn/milestone/70", "labels_url": "https://api.github.com/repos/scikit-learn/scikit-learn/milestones/70/labels", "id": 14414033, "node_id": "MI_kwDOAAzd1s4A2_DR", "number": 70, "title": "1.8.1", "description": "", "creator": { "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "open_issues": 4, "closed_issues": 5, "state": "open", "created_at": "2025-12-23T17:07:24", "updated_at": "2026-03-03T04:28:26", "due_on": "2026-03-03T00:00:00", "closed_at": null }
1
2026-01-28T18:16:03
2026-02-27T04:29:46
2026-02-27T04:29:46
null
CONTRIBUTOR
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs Fixes #33146 <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. Fixed a bug in `BisectingKMeans` where the validation logic incorrectly checked the shape of custom `init` centroids against the global `n_clusters` (e.g., 3) instead of the local split count (2). Changes: - Updated `_validate_center_shape` in `_kmeans.py` to accept an optional `n_centers` argument. - Updated `_init_centroids` to pass the local `n_clusters` (split count) to the validator. - Added a regression test in `sklearn/cluster/tests/test_bisect_k_means.py`. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [x] Test/benchmark generation - [ ] Documentation (including examples) - [x] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "thomasjpfan", "id": 5402633, "node_id": "MDQ6VXNlcjU0MDI2MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/5402633?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasjpfan", "html_url": "https://github.com/thomasjpfan", "followers_url": "https://api.github.com/users/thomasjpfan/followers", "following_url": "https://api.github.com/users/thomasjpfan/following{/other_user}", "gists_url": "https://api.github.com/users/thomasjpfan/gists{/gist_id}", "starred_url": "https://api.github.com/users/thomasjpfan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thomasjpfan/subscriptions", "organizations_url": "https://api.github.com/users/thomasjpfan/orgs", "repos_url": "https://api.github.com/users/thomasjpfan/repos", "events_url": "https://api.github.com/users/thomasjpfan/events{/privacy}", "received_events_url": "https://api.github.com/users/thomasjpfan/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33148/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33148/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33148", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33148", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33148.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33148.patch", "merged_at": "2026-02-27T04:29:46" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33147
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33147/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33147/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33147/events
https://github.com/scikit-learn/scikit-learn/pull/33147
3,864,414,993
PR_kwDOAAzd1s6_zUpG
33,147
CI Run free-threaded build on schedule
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
1
2026-01-28T09:20:56
2026-01-28T12:40:47
2026-01-28T09:43:09
null
MEMBER
null
null
null
null
Addressed https://github.com/scikit-learn/scikit-learn/pull/33116#issuecomment-3809702600 to run free-threaded build on schedule (and workflow_dispatch which makes it more easily testable) Tested it on my fork https://github.com/lesteve/scikit-learn/actions/runs/21432189253 with `workflow_dispatch` and this works fine.
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33147/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33147/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33147", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33147", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33147.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33147.patch", "merged_at": "2026-01-28T09:43:09" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33146
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33146/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33146/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33146/events
https://github.com/scikit-learn/scikit-learn/issues/33146
3,863,780,244
I_kwDOAAzd1s7mTJuU
33,146
Using `BisectingKMeans` with `init` raises a possibly dubious `ValueError`
{ "login": "oryktos", "id": 52944625, "node_id": "MDQ6VXNlcjUyOTQ0NjI1", "avatar_url": "https://avatars.githubusercontent.com/u/52944625?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oryktos", "html_url": "https://github.com/oryktos", "followers_url": "https://api.github.com/users/oryktos/followers", "following_url": "https://api.github.com/users/oryktos/following{/other_user}", "gists_url": "https://api.github.com/users/oryktos/gists{/gist_id}", "starred_url": "https://api.github.com/users/oryktos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/oryktos/subscriptions", "organizations_url": "https://api.github.com/users/oryktos/orgs", "repos_url": "https://api.github.com/users/oryktos/repos", "events_url": "https://api.github.com/users/oryktos/events{/privacy}", "received_events_url": "https://api.github.com/users/oryktos/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995755, "node_id": "MDU6TGFiZWwxMjk5NTc1NQ==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Bug", "name": "Bug", "color": "e10c02", "default": false, "description": null } ]
closed
false
[]
null
4
2026-01-28T06:20:46
2026-02-27T04:29:47
2026-02-27T04:29:47
null
NONE
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
When using `BisectingKMeans`, `n_clusters` greater than 2, using `init` to specify cluster seeds. A `ValueError` is raised if returning fewer than `n_clusters` seeds, but the value of `n_clusters` passed to `init` is (correctly, for bisecting k-means) always 2. The size of the returned object *must* match the "outer" `n_clusters` to avoid a `ValueError`, and changing the other cluster seeds gives a different clustering result. In essence: is it intended behaviour for a *bisecting* method to require more than 2 initial cluster seeds per bisection, and if so, why does it change the result? Why do some seed orderings not change the result, and some do? (My basic testing is not exhaustive.) ------ In my case, I was running bisecting k-means clustering on image data. Hence, in my examples below I will use Scikit-Image data for similarity. For example, this fails: <details> <summary>Calling `init` causes a panic</summary> ```python import numpy as np import skimage as ski from sklearn.cluster import BisectingKMeans def bk_init(X, n_clusters, random_state): ## note this is always 2: print(n_clusters) return np.array( [[0], [len(X)]], dtype=np.uint, ) k = 6 img = ski.data.camera() img_v = img.ravel() img_d = img_v.reshape(-1, 1) bk = BisectingKMeans(n_clusters=k, init=bk_init) bk.fit(img_d) ``` </details> with a `ValueError`: <details> <summary>`init` -> `ValueError` traceback</summary> ``` Traceback (most recent call last): File "<python-input-5>", line 2, in <module> bk.fit(img_d) ~~~~~~^^^^^^^ File "/<masked>/.venv/lib/python3.13/site-packages/sklearn/base.py", line 1336, in wrapper return fit_method(estimator, *args, **kwargs) File "/<masked>/.venv/lib/python3.13/site-packages/sklearn/cluster/_bisect_k_means.py", line 430, in fit self._bisect(X, x_squared_norms, sample_weight, cluster_to_bisect) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<masked>/.venv/lib/python3.13/site-packages/sklearn/cluster/_bisect_k_means.py", line 322, in _bisect centers_init = self._init_centroids( X, ...<4 lines>... sample_weight=sample_weight, ) File "/<masked>/.venv/lib/python3.13/site-packages/sklearn/cluster/_kmeans.py", line 1040, in _init_centroids self._validate_center_shape(X, centers) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/<masked>/.venv/lib/python3.13/site-packages/sklearn/cluster/_kmeans.py", line 939, in _validate_center_shape raise ValueError( ...<2 lines>... ) ValueError: The shape of the initial centers (2, 1) does not match the number of clusters 6. ``` </details> A work-around is to encapsulate the "outer" `n_clusters` in the `init` function: <details> <summary>Capturing outer `n_clusters`</summary> ```python import numpy as np import skimage as ski from sklearn.cluster import BisectingKMeans k = 6 def bk_init(X, n_clusters, random_state): ## this is still 2: print(n_clusters) i = np.zeros( (k, 1), # NOTE not ``n_clusters``! dtype=np.uint, ) i[0], i[1] = (0, len(X)) return i img = ski.data.camera() img_v = img.ravel() img_d = img_v.reshape(-1, 1) bk = BisectingKMeans(n_clusters=k, init=bk_init) bk.fit(img_d) ``` </details> Also see [`_BisectingTree.split`][bts], which appears to show getting indices 0 and 1 only (but I'm probably misinterpreting it). But clearly something else is at play, because changing the ordering of the remaining indices changes the result **in some, but not all, cases** (though this doesn't cover every permutation): <details> <summary>Different results from different seeds</summary> ```python print(bk.cluster_centers_) # previous result ``` ``` [[156. ] [159. ] [174.86169245] [ 12. ] [ 10. ] [ 0.5 ]] ``` ```python def bk_init(X, n_clusters, random_state): return np.array( ## different results to the below and to each other: # [[0], [64], [729], [5555], [1], [len(X)]], # [[0], [1], [len(X)], [64], [729], [5555]], ## identical results (yes, even the first two): # [[0], [729], [5555], [1], [len(X)], [64]], # [[0], [5555], [1], [len(X)], [64], [729]], # [[0], [len(X)], [64], [729], [5555], [1]], # [[0], [len(X)], [729], [5555], [1], [64]], # [[0], [len(X)], [5555], [1], [64], [729]], # [[0], [len(X)], [1], [64], [729], [5555]], [[0], [len(X)], [64], [729], [5555], [1]], dtype=np.uint, ) bk = BisectingKMeans(n_clusters=k, init=bk_init) bk.fit(img_d) print(bk.cluster_centers_) ``` ``` [[127.49822064] [126. ] [116. ] [112. ] [ 11.96384212] [ 0.5 ]] ``` </details> (I'd like to run a test using `itertools.permutation`.) [bts]: https://github.com/scikit-learn/scikit-learn/blob/c5497b7f7eacfaff061cf68e09bcd48aa93d4d6b/sklearn/cluster/_bisect_k_means.py#L46 ------ <details> <summary>Python and package versions</summary> - `uv version`: `uv 0.9.26 (Homebrew 2026-01-15)` - `uv run python --version`: `Python 3.13.11` - `pyproject.toml`, dependencies: + `matplotlib>=3.10.8` + `multiprocess>=0.70.18` + `numpy>=2.3.5` + `scikit-image>=0.25.2` + `scikit-learn>=1.8.0` + `scipy>=1.16.3` - `uv run python -c 'import sklearn; sklearn.show_versions()'`: ``` System: python: 3.13.11 (main, Dec 5 2025, 16:06:33) [Clang 17.0.0 (clang-1700.6.3.2)] executable: /<masked>/.venv/bin/python3 machine: macOS-15.7.3-arm64-arm-64bit-Mach-O Python dependencies: sklearn: 1.8.0 pip: None setuptools: None numpy: 2.3.5 scipy: 1.16.3 Cython: None pandas: None matplotlib: 3.10.8 joblib: 1.5.3 threadpoolctl: 3.6.0 Built with OpenMP: True threadpoolctl info: user_api: openmp internal_api: openmp num_threads: 10 prefix: libomp filepath: /<masked>/.venv/lib/python3.13/site-packages/sklearn/.dylibs/libomp.dylib version: None ``` </details>
{ "login": "thomasjpfan", "id": 5402633, "node_id": "MDQ6VXNlcjU0MDI2MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/5402633?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasjpfan", "html_url": "https://github.com/thomasjpfan", "followers_url": "https://api.github.com/users/thomasjpfan/followers", "following_url": "https://api.github.com/users/thomasjpfan/following{/other_user}", "gists_url": "https://api.github.com/users/thomasjpfan/gists{/gist_id}", "starred_url": "https://api.github.com/users/thomasjpfan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thomasjpfan/subscriptions", "organizations_url": "https://api.github.com/users/thomasjpfan/orgs", "repos_url": "https://api.github.com/users/thomasjpfan/repos", "events_url": "https://api.github.com/users/thomasjpfan/events{/privacy}", "received_events_url": "https://api.github.com/users/thomasjpfan/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33146/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33146/timeline
null
completed
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33145
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33145/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33145/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33145/events
https://github.com/scikit-learn/scikit-learn/pull/33145
3,863,552,666
PR_kwDOAAzd1s6_wiAU
33,145
FIX Allow validate_params error message in check_requires_y_none
{ "login": "atheendre130505", "id": 144999593, "node_id": "U_kgDOCKSEqQ", "avatar_url": "https://avatars.githubusercontent.com/u/144999593?v=4", "gravatar_id": "", "url": "https://api.github.com/users/atheendre130505", "html_url": "https://github.com/atheendre130505", "followers_url": "https://api.github.com/users/atheendre130505/followers", "following_url": "https://api.github.com/users/atheendre130505/following{/other_user}", "gists_url": "https://api.github.com/users/atheendre130505/gists{/gist_id}", "starred_url": "https://api.github.com/users/atheendre130505/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/atheendre130505/subscriptions", "organizations_url": "https://api.github.com/users/atheendre130505/orgs", "repos_url": "https://api.github.com/users/atheendre130505/repos", "events_url": "https://api.github.com/users/atheendre130505/events{/privacy}", "received_events_url": "https://api.github.com/users/atheendre130505/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815453311, "node_id": "MDU6TGFiZWwxODE1NDUzMzEx", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:utils", "name": "module:utils", "color": "151e91", "default": false, "description": "" }, { "id": 2399338178, "node_id": "MDU6TGFiZWwyMzk5Mz...
closed
false
[]
null
1
2026-01-28T04:50:05
2026-01-28T10:43:58
2026-01-28T10:43:50
null
NONE
null
null
null
null
Reference Issue: #33135 Fixes compatibility issue with check_requires_y_none when using @validate_params decorator. What does this implement/fix? Explain your changes. This PR fixes an issue where estimators using @validate_params for y parameter validation would fail the check_requires_y_none test, while estimators using column_or_1d would pass. Problem: check_requires_y_none only accepted specific error message patterns. When @validate_params validates y and receives None , it generates the error message: "The 'y' parameter of <ClassName>.fit must be an array-like. Got None instead." This message pattern was not in the allowed list. Solution: Add 'must be an array-like' to the allowed error messages in check_requires_y_none Fixes compatibility with @validate_params decorator for y parameter. Add test case for EstimatorWithValidateParams Both column_or_1d and @validate_params are standard validation methods in scikit-learn, so both should be accepted by check_requires_y_none. Changes: Modified sklearn/utils/estimator_checks.py - Added error message pattern to expected_err_msgs tuple Modified sklearn/utils/tests/test_estimator_checks.py - Added test case verifying @validate_params compatibility AI usage disclosure I used AI assistance for: Commiting to github Documentation (including examples)
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33145/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33145/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33145", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33145", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33145.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33145.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33144
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33144/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33144/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33144/events
https://github.com/scikit-learn/scikit-learn/pull/33144
3,863,214,346
PR_kwDOAAzd1s6_vcs-
33,144
FEAT: Add new examples for various tree-based classifiers including Gradient Boosting, Decision Tree, Random Forest, AdaBoost, and Extra Trees.
{ "login": "Aniket-a14", "id": 141211011, "node_id": "U_kgDOCGq1gw", "avatar_url": "https://avatars.githubusercontent.com/u/141211011?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Aniket-a14", "html_url": "https://github.com/Aniket-a14", "followers_url": "https://api.github.com/users/Aniket-a14/followers", "following_url": "https://api.github.com/users/Aniket-a14/following{/other_user}", "gists_url": "https://api.github.com/users/Aniket-a14/gists{/gist_id}", "starred_url": "https://api.github.com/users/Aniket-a14/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Aniket-a14/subscriptions", "organizations_url": "https://api.github.com/users/Aniket-a14/orgs", "repos_url": "https://api.github.com/users/Aniket-a14/repos", "events_url": "https://api.github.com/users/Aniket-a14/events{/privacy}", "received_events_url": "https://api.github.com/users/Aniket-a14/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 2399338178, "node_id": "MDU6TGFiZWwyMzk5MzM4MTc4", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/spam", "name": "spam", "color": "b60205", "default": false, "description": "spam PR and issues" } ]
closed
false
[]
null
1
2026-01-28T02:13:25
2026-01-28T09:30:50
2026-01-28T09:30:42
null
NONE
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs Documentation, Examples <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. This PR introduces a new directory `examples/tree_based_classifiers` to consolidate and demonstrate the usage of various tree-based classification algorithms in scikit-learn. ## Changes include: 1. **New Directory**: Created `examples/tree_based_classifiers` to house the new examples. 2. **Documentation**: Added a `README.txt` to provide an overview of the directory's contents, following the standard `rst` format. 3. **New Examples**: Implemented 6 unique example scripts, each highlighting a specific classifier and use case: - `plot_decision_tree_classifier.py`: Visualizes the decision tree structure on the Wine dataset. - `plot_random_forest_classifier.py`: Demonstrates feature importance evaluation using the Make Classification dataset. - `plot_extra_trees_classifier.py`: Visualizes pixel importance on the Digits dataset. - `plot_gradient_boosting_classifier.py`: Monitors Out-of-Bag (OOB) estimates vs. Test error (deviance). - `plot_hist_gradient_boosting_classifier.py`: Compares training speed and accuracy between Histogram-based and standard Gradient Boosting on a large dataset. - `plot_adaboost_classifier.py`: Visualizes decision boundaries on a non-linearly separable dataset (Gaussian Quantiles). These examples serve to provide clear, identifying usage patterns for each of the major tree-based classifiers available in the library. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [x] Documentation (including examples) - [ ] Research and understanding #### Any other comments? The examples are self-contained and execute quickly. Plotting is used where appropriate to provide visual intuition for the classifiers' behavior (e.g., decision boundaries, feature importances). <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33144/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33144/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33144", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33144", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33144.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33144.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33143
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33143/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33143/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33143/events
https://github.com/scikit-learn/scikit-learn/issues/33143
3,863,043,420
I_kwDOAAzd1s7mQV1c
33,143
RFC Metric `pos_label` handling for multiclass (and multilabel) data
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1784583753, "node_id": "MDU6TGFiZWwxNzg0NTgzNzUz", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/RFC", "name": "RFC", "color": "7fe299", "default": false, "description": "" } ]
open
false
[]
null
6
2026-01-28T00:51:56
2026-02-09T01:45:06
null
null
MEMBER
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
> [!WARNING] > This is a request for comment (RFC), please do not open a pull request for this issue. If you wish to contribute to scikit-learn please have a look at our [contributing doc](https://scikit-learn.org/dev/developers/contributing.html) and in particular the section [New contributors](https://scikit-learn.org/dev/developers/contributing.html#new-contributors). Noticed in https://github.com/scikit-learn/scikit-learn/pull/32755#discussion_r2734384418 Here are the metrics that have a `pos_label`: https://github.com/scikit-learn/scikit-learn/blob/7fbe0c256679c635e55be0deeb6c833207149d41/sklearn/metrics/tests/test_common.py#L364-L380 Of these, some only support binary input (e.g., `roc_curve`, `confusion_matrix_at_thresholds`). Of the metrics that also support multi-class input, most silently ignore the `pos_label` parameter if data is multiclass (or multilabel) but `pos_label` is also set. `average_precision_score` is the only one that raises an error: https://github.com/scikit-learn/scikit-learn/blob/7fbe0c256679c635e55be0deeb6c833207149d41/sklearn/metrics/_ranking.py#L264-L274 I am not sure whether it is better to error or silently ignore (or third option, warn) - but some consistency is probably ideal. How should `pos_label` be handled? cc @StefanieSenger @AnneBeyer @ogrisel ? Edit: Side note, `brier_score_loss` and `d2_brier_score` do not explicitly state that `pos_label` is ignored, but probably should. Maybe you'd be interested in tackling this @AnneBeyer ?
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33143/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33143/timeline
null
null
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33141
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33141/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33141/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33141/events
https://github.com/scikit-learn/scikit-learn/pull/33141
3,860,567,721
PR_kwDOAAzd1s6_mm2-
33,141
DOC fix typos in `plot_confusion_matrix.py`
{ "login": "StefanieSenger", "id": 91849487, "node_id": "U_kgDOBXmDDw", "avatar_url": "https://avatars.githubusercontent.com/u/91849487?v=4", "gravatar_id": "", "url": "https://api.github.com/users/StefanieSenger", "html_url": "https://github.com/StefanieSenger", "followers_url": "https://api.github.com/users/StefanieSenger/followers", "following_url": "https://api.github.com/users/StefanieSenger/following{/other_user}", "gists_url": "https://api.github.com/users/StefanieSenger/gists{/gist_id}", "starred_url": "https://api.github.com/users/StefanieSenger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/StefanieSenger/subscriptions", "organizations_url": "https://api.github.com/users/StefanieSenger/orgs", "repos_url": "https://api.github.com/users/StefanieSenger/repos", "events_url": "https://api.github.com/users/StefanieSenger/events{/privacy}", "received_events_url": "https://api.github.com/users/StefanieSenger/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null } ]
closed
false
[]
null
0
2026-01-27T13:18:43
2026-01-28T14:46:59
2026-01-28T14:35:36
null
MEMBER
null
null
null
null
#### What does this implement/fix? Explain your changes. Fixes a few typos in `plot_confusion_matrix.py`. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding
{ "login": "ArturoAmorQ", "id": 86408019, "node_id": "MDQ6VXNlcjg2NDA4MDE5", "avatar_url": "https://avatars.githubusercontent.com/u/86408019?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArturoAmorQ", "html_url": "https://github.com/ArturoAmorQ", "followers_url": "https://api.github.com/users/ArturoAmorQ/followers", "following_url": "https://api.github.com/users/ArturoAmorQ/following{/other_user}", "gists_url": "https://api.github.com/users/ArturoAmorQ/gists{/gist_id}", "starred_url": "https://api.github.com/users/ArturoAmorQ/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ArturoAmorQ/subscriptions", "organizations_url": "https://api.github.com/users/ArturoAmorQ/orgs", "repos_url": "https://api.github.com/users/ArturoAmorQ/repos", "events_url": "https://api.github.com/users/ArturoAmorQ/events{/privacy}", "received_events_url": "https://api.github.com/users/ArturoAmorQ/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33141/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33141/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33141", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33141", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33141.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33141.patch", "merged_at": "2026-01-28T14:35:36" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33140
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33140/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33140/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33140/events
https://github.com/scikit-learn/scikit-learn/pull/33140
3,857,029,896
PR_kwDOAAzd1s6_a6iM
33,140
Improve contribution guidelines to make it easier for maintainers to assess the user facing value of issues/PRs
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[]
closed
false
[]
null
5
2026-01-26T18:02:56
2026-01-29T00:17:39
2026-01-28T15:31:11
null
MEMBER
null
null
null
null
As a follow-up to the discussion at our monthly meeting. I tried to explain the reasons we ask for all those requirements as @reshamas suggested.
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33140/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33140/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33140", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33140", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33140.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33140.patch", "merged_at": "2026-01-28T15:31:11" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33139
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33139/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33139/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33139/events
https://github.com/scikit-learn/scikit-learn/pull/33139
3,856,256,843
PR_kwDOAAzd1s6_YXda
33,139
DOC Add statement on supported versions for array API
{ "login": "betatim", "id": 1448859, "node_id": "MDQ6VXNlcjE0NDg4NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/1448859?v=4", "gravatar_id": "", "url": "https://api.github.com/users/betatim", "html_url": "https://github.com/betatim", "followers_url": "https://api.github.com/users/betatim/followers", "following_url": "https://api.github.com/users/betatim/following{/other_user}", "gists_url": "https://api.github.com/users/betatim/gists{/gist_id}", "starred_url": "https://api.github.com/users/betatim/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/betatim/subscriptions", "organizations_url": "https://api.github.com/users/betatim/orgs", "repos_url": "https://api.github.com/users/betatim/repos", "events_url": "https://api.github.com/users/betatim/events{/privacy}", "received_events_url": "https://api.github.com/users/betatim/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null }, { "id": 5464227604, "node_id": "LA_kwDOAAzd1s8AA...
closed
false
[]
null
4
2026-01-26T14:40:06
2026-01-27T10:13:07
2026-01-27T09:11:15
null
MEMBER
null
null
null
null
Clarify that we develop against the latest versions of dependencies for array API work and will not introduce code to backport fixes that are available in newer versions of our dependencies. #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> For example https://github.com/scikit-learn/scikit-learn/issues/32552#issuecomment-3782563204 and https://github.com/scikit-learn/scikit-learn/pull/33022, but we've discussed "what versions do we support?" a few times already in various issues and PRs. #### What does this implement/fix? Explain your changes. This adds a statement to the array API documentation stating that we only support the latest version of scikit-learn's dependencies. It also says that we will not introduce changes that backport things to older versions of dependencies - which is kind of redundant but given https://github.com/scikit-learn/scikit-learn/pull/33022 maybe worth stating explicitly (aka I shouldn't have made that PR). #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? I moved the environment variable paragraph as I was missing it in the "Enable array API support" section. In this case I went directly to that section without reading the page from the top. To me it makes sense to have it all in one place. Looking at it from a different angle: why is the env var thing mentioned at the very top, but how to enable it isn't? They both seem equally important.
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33139/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33139/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33139", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33139", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33139.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33139.patch", "merged_at": "2026-01-27T09:11:15" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33138
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33138/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33138/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33138/events
https://github.com/scikit-learn/scikit-learn/pull/33138
3,856,095,903
PR_kwDOAAzd1s6_X1hF
33,138
Fix response_method='auto' for clusterers in DecisionBoundaryDisplay
{ "login": "shiffiH", "id": 181856905, "node_id": "U_kgDOCtbqiQ", "avatar_url": "https://avatars.githubusercontent.com/u/181856905?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shiffiH", "html_url": "https://github.com/shiffiH", "followers_url": "https://api.github.com/users/shiffiH/followers", "following_url": "https://api.github.com/users/shiffiH/following{/other_user}", "gists_url": "https://api.github.com/users/shiffiH/gists{/gist_id}", "starred_url": "https://api.github.com/users/shiffiH/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shiffiH/subscriptions", "organizations_url": "https://api.github.com/users/shiffiH/orgs", "repos_url": "https://api.github.com/users/shiffiH/repos", "events_url": "https://api.github.com/users/shiffiH/events{/privacy}", "received_events_url": "https://api.github.com/users/shiffiH/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815444240, "node_id": "MDU6TGFiZWwxODE1NDQ0MjQw", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:inspection", "name": "module:inspection", "color": "151e91", "default": false, "description": "" }, { "id": 2399338178, "node_id": "MDU6TGFi...
closed
false
[]
null
2
2026-01-26T13:57:57
2026-01-28T13:56:24
2026-01-27T01:58:47
null
NONE
null
null
null
null
Support clusterers in DecisionBoundaryDisplay when response_method="auto". When the estimator is a clusterer, "auto" now selects "predict" when available (e.g. KMeans). If the clusterer does not implement predict (e.g. DBSCAN), DecisionBoundaryDisplay.from_estimator raises a clear and explicit error indicating that a decision boundary cannot be computed. Added tests covering both cases.
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33138/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33138/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33138", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33138", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33138.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33138.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33137
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33137/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33137/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33137/events
https://github.com/scikit-learn/scikit-learn/issues/33137
3,856,050,049
I_kwDOAAzd1s7l1qeB
33,137
Analyze the practical relevance of GBT hyperparameters in the accuracy / training speed tradeoff
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[]
open
false
[]
null
4
2026-01-26T13:45:14
2026-03-06T04:08:18
null
null
MEMBER
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
The following paper ran many hyper-parameter tuning experiments. - https://arxiv.org/abs/2207.08815 - supporting code: https://github.com/LeoGrin/tabular-benchmark The raw CSV data is available for download here: - https://github.com/LeoGrin/tabular-benchmark/tree/main/analyses/results We could try to mine this data to find hyper-params configuration implemented in xgboost or lightgbm that: - allow xgboost or lightgbm or catboost to be on the Pareto optimal frontier of the predictive/computational performance tradeoff; - have no equivalent in scikit-learn. This would help identify which missing entries of the table in #27873 have the most user-facing impact, and possibly also identify features of xgboost that are not implemented in scikit-learn at all while being very relevant to reach good predictive performance.
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33137/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33137/timeline
null
null
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33136
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33136/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33136/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33136/events
https://github.com/scikit-learn/scikit-learn/pull/33136
3,855,153,936
PR_kwDOAAzd1s6_UxMz
33,136
MAINT Simpler array API lock file config
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[]
closed
false
[]
null
6
2026-01-26T09:23:14
2026-01-27T13:02:30
2026-01-27T09:00:18
null
MEMBER
null
null
null
null
This is an attempt to fix #33106 by simplifying the configuration of how to install the array API The python.org no longer mentions conda as an installation method, so maybe the pytorch conda channel is no longer maintained. I am not sure about the usefulness of adding the nvidia channel, so let's try without. I don't know if we had any particular reason to set the MKL constraint. The lock file update script works on my local machine (running macOS) but I am not sure if it would work on a linux x64 host.
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33136/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33136/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33136", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33136", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33136.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33136.patch", "merged_at": "2026-01-27T09:00:18" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33135
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33135/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33135/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33135/events
https://github.com/scikit-learn/scikit-learn/issues/33135
3,854,942,843
I_kwDOAAzd1s7lxcJ7
33,135
BUG: error message raised by validate_params cannot pass check_estimator
{ "login": "MatthewSZhang", "id": 34108862, "node_id": "MDQ6VXNlcjM0MTA4ODYy", "avatar_url": "https://avatars.githubusercontent.com/u/34108862?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MatthewSZhang", "html_url": "https://github.com/MatthewSZhang", "followers_url": "https://api.github.com/users/MatthewSZhang/followers", "following_url": "https://api.github.com/users/MatthewSZhang/following{/other_user}", "gists_url": "https://api.github.com/users/MatthewSZhang/gists{/gist_id}", "starred_url": "https://api.github.com/users/MatthewSZhang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MatthewSZhang/subscriptions", "organizations_url": "https://api.github.com/users/MatthewSZhang/orgs", "repos_url": "https://api.github.com/users/MatthewSZhang/repos", "events_url": "https://api.github.com/users/MatthewSZhang/events{/privacy}", "received_events_url": "https://api.github.com/users/MatthewSZhang/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995755, "node_id": "MDU6TGFiZWwxMjk5NTc1NQ==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Bug", "name": "Bug", "color": "e10c02", "default": false, "description": null }, { "id": 3631152487, "node_id": "LA_kwDOAAzd1s7Ybv1n", "url": "ht...
closed
false
[]
null
4
2026-01-26T08:18:28
2026-02-13T13:52:36
2026-02-02T16:31:06
null
CONTRIBUTOR
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
### Describe the bug I maintain the scikit-learn compatible projects [fastcan](https://github.com/scikit-learn-contrib/fastcan) and use `check_estimator` to check its compatibility. When I use `sklearn.utils.column_or_1d` to validate the argument `y` of `fit`, the error message of `None` input is accepted by `check_estimator`. However, when I use `sklearn.utils._param_validation.validate_params`, the error message of `None` input is invalid for `check_estimator`. Both `column_or_1d` and `validate_params` are standard ways to validate the function arguments. The error messages of both should be valid. ### Steps/Code to Reproduce ```py from sklearn.utils import column_or_1d from sklearn.utils._param_validation import validate_params from sklearn.utils.estimator_checks import check_requires_y_none from sklearn.base import BaseEstimator class ClassA(BaseEstimator): @validate_params( { "X": ["array-like"], "y": ["array-like"], }, prefer_skip_nested_validation=True, ) def fit(self, X, y): return self class ClassB(BaseEstimator): @validate_params( { "X": ["array-like"], }, prefer_skip_nested_validation=True, ) def fit(self, X, y): column_or_1d(y) return self A = ClassA() B = ClassB() ``` ### Expected Results ```py check_requires_y_none("ClassA", A) # Pass check_requires_y_none("ClassA", B) # Pass ``` ### Actual Results ```py check_requires_y_none("ClassA", A) # Fail check_requires_y_none("ClassA", B) # Pass ``` ### Versions ```shell sklearn: 1.8.0 ```
{ "login": "betatim", "id": 1448859, "node_id": "MDQ6VXNlcjE0NDg4NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/1448859?v=4", "gravatar_id": "", "url": "https://api.github.com/users/betatim", "html_url": "https://github.com/betatim", "followers_url": "https://api.github.com/users/betatim/followers", "following_url": "https://api.github.com/users/betatim/following{/other_user}", "gists_url": "https://api.github.com/users/betatim/gists{/gist_id}", "starred_url": "https://api.github.com/users/betatim/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/betatim/subscriptions", "organizations_url": "https://api.github.com/users/betatim/orgs", "repos_url": "https://api.github.com/users/betatim/repos", "events_url": "https://api.github.com/users/betatim/events{/privacy}", "received_events_url": "https://api.github.com/users/betatim/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33135/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33135/timeline
null
completed
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33134
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33134/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33134/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33134/events
https://github.com/scikit-learn/scikit-learn/pull/33134
3,854,543,765
PR_kwDOAAzd1s6_Syyj
33,134
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robot:
{ "login": "scikit-learn-bot", "id": 8699527, "node_id": "MDQ6VXNlcjg2OTk1Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/8699527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scikit-learn-bot", "html_url": "https://github.com/scikit-learn-bot", "followers_url": "https://api.github.com/users/scikit-learn-bot/followers", "following_url": "https://api.github.com/users/scikit-learn-bot/following{/other_user}", "gists_url": "https://api.github.com/users/scikit-learn-bot/gists{/gist_id}", "starred_url": "https://api.github.com/users/scikit-learn-bot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scikit-learn-bot/subscriptions", "organizations_url": "https://api.github.com/users/scikit-learn-bot/orgs", "repos_url": "https://api.github.com/users/scikit-learn-bot/repos", "events_url": "https://api.github.com/users/scikit-learn-bot/events{/privacy}", "received_events_url": "https://api.github.com/users/scikit-learn-bot/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
2
2026-01-26T05:15:11
2026-01-26T10:20:38
2026-01-26T10:20:37
null
CONTRIBUTOR
null
null
null
null
Update lock files. ### Note If the CI tasks fail, create a new branch based on this PR and add the required fixes to that branch.
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33134/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33134/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33134", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33134", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33134.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33134.patch", "merged_at": "2026-01-26T10:20:37" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33133
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33133/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33133/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33133/events
https://github.com/scikit-learn/scikit-learn/pull/33133
3,854,539,514
PR_kwDOAAzd1s6_Sx8O
33,133
:lock: :robot: CI Update lock files for free-threaded CI build(s) :lock: :robot:
{ "login": "scikit-learn-bot", "id": 8699527, "node_id": "MDQ6VXNlcjg2OTk1Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/8699527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scikit-learn-bot", "html_url": "https://github.com/scikit-learn-bot", "followers_url": "https://api.github.com/users/scikit-learn-bot/followers", "following_url": "https://api.github.com/users/scikit-learn-bot/following{/other_user}", "gists_url": "https://api.github.com/users/scikit-learn-bot/gists{/gist_id}", "starred_url": "https://api.github.com/users/scikit-learn-bot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scikit-learn-bot/subscriptions", "organizations_url": "https://api.github.com/users/scikit-learn-bot/orgs", "repos_url": "https://api.github.com/users/scikit-learn-bot/repos", "events_url": "https://api.github.com/users/scikit-learn-bot/events{/privacy}", "received_events_url": "https://api.github.com/users/scikit-learn-bot/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
0
2026-01-26T05:12:17
2026-01-26T09:27:11
2026-01-26T09:27:11
null
CONTRIBUTOR
null
null
null
null
Update lock files. ### Note If the CI tasks fail, create a new branch based on this PR and add the required fixes to that branch.
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33133/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33133/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33133", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33133", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33133.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33133.patch", "merged_at": "2026-01-26T09:27:10" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33132
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33132/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33132/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33132/events
https://github.com/scikit-learn/scikit-learn/pull/33132
3,854,539,441
PR_kwDOAAzd1s6_Sx7W
33,132
:lock: :robot: CI Update lock files for scipy-dev CI build(s) :lock: :robot:
{ "login": "scikit-learn-bot", "id": 8699527, "node_id": "MDQ6VXNlcjg2OTk1Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/8699527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scikit-learn-bot", "html_url": "https://github.com/scikit-learn-bot", "followers_url": "https://api.github.com/users/scikit-learn-bot/followers", "following_url": "https://api.github.com/users/scikit-learn-bot/following{/other_user}", "gists_url": "https://api.github.com/users/scikit-learn-bot/gists{/gist_id}", "starred_url": "https://api.github.com/users/scikit-learn-bot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scikit-learn-bot/subscriptions", "organizations_url": "https://api.github.com/users/scikit-learn-bot/orgs", "repos_url": "https://api.github.com/users/scikit-learn-bot/repos", "events_url": "https://api.github.com/users/scikit-learn-bot/events{/privacy}", "received_events_url": "https://api.github.com/users/scikit-learn-bot/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
0
2026-01-26T05:12:14
2026-01-26T09:26:37
2026-01-26T09:26:37
null
CONTRIBUTOR
null
null
null
null
Update lock files. ### Note If the CI tasks fail, create a new branch based on this PR and add the required fixes to that branch.
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33132/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33132/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33132", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33132", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33132.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33132.patch", "merged_at": "2026-01-26T09:26:36" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33131
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33131/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33131/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33131/events
https://github.com/scikit-learn/scikit-learn/pull/33131
3,853,756,262
PR_kwDOAAzd1s6_QYhk
33,131
Improve wording in common pitfalls documentation
{ "login": "manishaagangadevi", "id": 187555464, "node_id": "U_kgDOCy3eiA", "avatar_url": "https://avatars.githubusercontent.com/u/187555464?v=4", "gravatar_id": "", "url": "https://api.github.com/users/manishaagangadevi", "html_url": "https://github.com/manishaagangadevi", "followers_url": "https://api.github.com/users/manishaagangadevi/followers", "following_url": "https://api.github.com/users/manishaagangadevi/following{/other_user}", "gists_url": "https://api.github.com/users/manishaagangadevi/gists{/gist_id}", "starred_url": "https://api.github.com/users/manishaagangadevi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/manishaagangadevi/subscriptions", "organizations_url": "https://api.github.com/users/manishaagangadevi/orgs", "repos_url": "https://api.github.com/users/manishaagangadevi/repos", "events_url": "https://api.github.com/users/manishaagangadevi/events{/privacy}", "received_events_url": "https://api.github.com/users/manishaagangadevi/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[]
closed
false
[]
null
1
2026-01-25T19:38:31
2026-01-27T02:06:09
2026-01-27T02:06:09
null
NONE
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33131/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33131/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33131", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33131", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33131.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33131.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33130
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33130/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33130/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33130/events
https://github.com/scikit-learn/scikit-learn/pull/33130
3,853,295,493
PR_kwDOAAzd1s6_O_kl
33,130
DOC: add warm_start manual grid search example for forests
{ "login": "gitCHANI2005", "id": 199931616, "node_id": "U_kgDOC-q24A", "avatar_url": "https://avatars.githubusercontent.com/u/199931616?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gitCHANI2005", "html_url": "https://github.com/gitCHANI2005", "followers_url": "https://api.github.com/users/gitCHANI2005/followers", "following_url": "https://api.github.com/users/gitCHANI2005/following{/other_user}", "gists_url": "https://api.github.com/users/gitCHANI2005/gists{/gist_id}", "starred_url": "https://api.github.com/users/gitCHANI2005/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gitCHANI2005/subscriptions", "organizations_url": "https://api.github.com/users/gitCHANI2005/orgs", "repos_url": "https://api.github.com/users/gitCHANI2005/repos", "events_url": "https://api.github.com/users/gitCHANI2005/events{/privacy}", "received_events_url": "https://api.github.com/users/gitCHANI2005/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null } ]
closed
false
[]
null
1
2026-01-25T14:01:16
2026-01-29T06:30:25
2026-01-29T06:30:25
null
NONE
null
null
null
null
#### What does this PR implement/fix? This PR adds a new Sphinx-Gallery example (`examples/ensemble/plot_forest_warm_start_grid_search.py`) demonstrating a manual grid search that leverages `warm_start=True` for tree ensembles by progressively increasing `n_estimators`. The example compares runtime and validation accuracy against a baseline `GridSearchCV` evaluated on the same fixed train/validation split (using `PredefinedSplit`), and visualizes the score surface with a heatmap. #### Why is this needed? `GridSearchCV` evaluates each parameter setting independently and therefore does not reuse fitted state across configurations. For estimators supporting `warm_start`, reusing the fitted forest when only increasing `n_estimators` can reduce runtime in benchmarking-style workflows. #### Key points / design choices - Reuse is demonstrated only when increasing `n_estimators` while keeping other hyperparameters fixed (changing `max_features` starts from a fresh model). - The baseline uses `PredefinedSplit` to ensure an identical train/validation split for a fair comparison. - Dataset size and parameter grids are intentionally small to keep the example fast and suitable for CI. #### Example output (indicative) On my machine, both approaches select the same best configuration, while the warm-start manual search runs ~2x faster: ```text Manual warm_start grid search best params: max_features=sqrt, n_estimators=150 best valid accuracy: 0.9318 runtime: 3.482 s GridSearchCV baseline (same split, fits from scratch) best params: max_features=sqrt, n_estimators=150 best valid accuracy: 0.9318 runtime: 7.184 s Test accuracy using manual best params: 0.9376 ``` <img width="640" height="480" alt="Figure_1" src="https://github.com/user-attachments/assets/a3b1d176-a93e-4425-a6fa-d176fbcb754f" />
{ "login": "virchan", "id": 25701849, "node_id": "MDQ6VXNlcjI1NzAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/25701849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/virchan", "html_url": "https://github.com/virchan", "followers_url": "https://api.github.com/users/virchan/followers", "following_url": "https://api.github.com/users/virchan/following{/other_user}", "gists_url": "https://api.github.com/users/virchan/gists{/gist_id}", "starred_url": "https://api.github.com/users/virchan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/virchan/subscriptions", "organizations_url": "https://api.github.com/users/virchan/orgs", "repos_url": "https://api.github.com/users/virchan/repos", "events_url": "https://api.github.com/users/virchan/events{/privacy}", "received_events_url": "https://api.github.com/users/virchan/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33130/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33130/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33130", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33130", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33130.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33130.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33129
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33129/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33129/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33129/events
https://github.com/scikit-learn/scikit-learn/pull/33129
3,853,130,951
PR_kwDOAAzd1s6_OfTW
33,129
Fix KNN failure on non-numeric labels with brute algorithm and p=1
{ "login": "MostafaOsama317", "id": 205558111, "node_id": "U_kgDODECRXw", "avatar_url": "https://avatars.githubusercontent.com/u/205558111?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MostafaOsama317", "html_url": "https://github.com/MostafaOsama317", "followers_url": "https://api.github.com/users/MostafaOsama317/followers", "following_url": "https://api.github.com/users/MostafaOsama317/following{/other_user}", "gists_url": "https://api.github.com/users/MostafaOsama317/gists{/gist_id}", "starred_url": "https://api.github.com/users/MostafaOsama317/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MostafaOsama317/subscriptions", "organizations_url": "https://api.github.com/users/MostafaOsama317/orgs", "repos_url": "https://api.github.com/users/MostafaOsama317/repos", "events_url": "https://api.github.com/users/MostafaOsama317/events{/privacy}", "received_events_url": "https://api.github.com/users/MostafaOsama317/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815447666, "node_id": "MDU6TGFiZWwxODE1NDQ3NjY2", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:neighbors", "name": "module:neighbors", "color": "151e91", "default": false, "description": "" }, { "id": 2399338178, "node_id": "MDU6TGFiZW...
closed
false
[]
null
2
2026-01-25T11:54:56
2026-01-27T02:08:26
2026-01-27T02:08:20
null
NONE
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33129/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33129/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33129", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33129", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33129.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33129.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33128
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33128/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33128/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33128/events
https://github.com/scikit-learn/scikit-learn/pull/33128
3,849,869,747
PR_kwDOAAzd1s6_DzMu
33,128
Fix typo in test_docstrings.py comment
{ "login": "bodhisilberling", "id": 194859698, "node_id": "U_kgDOC51Ssg", "avatar_url": "https://avatars.githubusercontent.com/u/194859698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bodhisilberling", "html_url": "https://github.com/bodhisilberling", "followers_url": "https://api.github.com/users/bodhisilberling/followers", "following_url": "https://api.github.com/users/bodhisilberling/following{/other_user}", "gists_url": "https://api.github.com/users/bodhisilberling/gists{/gist_id}", "starred_url": "https://api.github.com/users/bodhisilberling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bodhisilberling/subscriptions", "organizations_url": "https://api.github.com/users/bodhisilberling/orgs", "repos_url": "https://api.github.com/users/bodhisilberling/repos", "events_url": "https://api.github.com/users/bodhisilberling/events{/privacy}", "received_events_url": "https://api.github.com/users/bodhisilberling/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 2659863795, "node_id": "MDU6TGFiZWwyNjU5ODYzNzk1", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/No%20Changelog%20Needed", "name": "No Changelog Needed", "color": "B0529C", "default": false, "description": "" } ]
closed
false
[]
null
0
2026-01-24T01:30:23
2026-01-24T22:29:32
2026-01-24T22:29:32
null
CONTRIBUTOR
null
null
null
null
Fix grammatical error: 'we may need refer' -> 'we may need to refer' <!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "thomasjpfan", "id": 5402633, "node_id": "MDQ6VXNlcjU0MDI2MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/5402633?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasjpfan", "html_url": "https://github.com/thomasjpfan", "followers_url": "https://api.github.com/users/thomasjpfan/followers", "following_url": "https://api.github.com/users/thomasjpfan/following{/other_user}", "gists_url": "https://api.github.com/users/thomasjpfan/gists{/gist_id}", "starred_url": "https://api.github.com/users/thomasjpfan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thomasjpfan/subscriptions", "organizations_url": "https://api.github.com/users/thomasjpfan/orgs", "repos_url": "https://api.github.com/users/thomasjpfan/repos", "events_url": "https://api.github.com/users/thomasjpfan/events{/privacy}", "received_events_url": "https://api.github.com/users/thomasjpfan/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33128/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33128/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33128", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33128", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33128.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33128.patch", "merged_at": "2026-01-24T22:29:32" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33127
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33127/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33127/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33127/events
https://github.com/scikit-learn/scikit-learn/pull/33127
3,849,362,333
PR_kwDOAAzd1s6_CHhb
33,127
FIX: fix boundary 0-weight edge-case in `_weighted_percentile`
{ "login": "cakedev0", "id": 25986961, "node_id": "MDQ6VXNlcjI1OTg2OTYx", "avatar_url": "https://avatars.githubusercontent.com/u/25986961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cakedev0", "html_url": "https://github.com/cakedev0", "followers_url": "https://api.github.com/users/cakedev0/followers", "following_url": "https://api.github.com/users/cakedev0/following{/other_user}", "gists_url": "https://api.github.com/users/cakedev0/gists{/gist_id}", "starred_url": "https://api.github.com/users/cakedev0/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cakedev0/subscriptions", "organizations_url": "https://api.github.com/users/cakedev0/orgs", "repos_url": "https://api.github.com/users/cakedev0/repos", "events_url": "https://api.github.com/users/cakedev0/events{/privacy}", "received_events_url": "https://api.github.com/users/cakedev0/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815453311, "node_id": "MDU6TGFiZWwxODE1NDUzMzEx", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:utils", "name": "module:utils", "color": "151e91", "default": false, "description": "" }, { "id": 3730476391, "node_id": "LA_kwDOAAzd1s7eWo1...
closed
false
[]
null
4
2026-01-23T21:47:42
2026-01-27T09:38:25
2026-01-27T08:56:57
null
CONTRIBUTOR
null
null
null
null
#### Reference Issues/PRs Found this bug while working on #32193 (maybe the 3rd or 4th bug found while working on this test, really this is a good test :joy:) Let me know if you want me to open an issue describing the bug, but for now it's described it in the next section. #### The bug ```python from sklearn.utils.stats import _weighted_percentile _weighted_percentile([1, 3], [1, 1], average=True) # returns 2 as expected _weighted_percentile([1, 2, 3], [1, 0, 1], average=True) # ! returns 1 _weighted_percentile([1, 2, 3, 4], [1, 0, 1, 0], average=True) # returns 2 as expected ``` #### What does this implement/fix? Explain your changes. [Codex wrote:] I traced it to the zeroโ€‘weight โ€œplateauโ€ handling in `_weighted_percentile`. In your second case, the CDF has a flat section (`[1, 1, 2]`). The code correctly finds the next index where the CDF increases (the last element), but then treats `next_index == max_idx` as โ€œout of rangeโ€ and snaps back to the current index, which forces the average to use the same value twice and returns `1.0`. Changes: - Allow `next_index == max_idx` so the โ€œplus oneโ€ value can be the last element. - Added regression test in `sklearn/utils/tests/test_stats.py` to cover the plateau case. #### AI usage disclosure I used AI assistance for: - [ ] Initially finding the bug - [x] Code generation (e.g., when writing an implementation or fixing a bug) - [x] Test/benchmark generation - [X] Documentation (including examples) - [x] Research and understanding
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33127/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33127/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33127", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33127", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33127.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33127.patch", "merged_at": "2026-01-27T08:56:57" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33126
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33126/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33126/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33126/events
https://github.com/scikit-learn/scikit-learn/pull/33126
3,848,642,199
PR_kwDOAAzd1s6-_qYM
33,126
ENH update code to check response values of an estimator
{ "login": "qbarthelemy", "id": 5346669, "node_id": "MDQ6VXNlcjUzNDY2Njk=", "avatar_url": "https://avatars.githubusercontent.com/u/5346669?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qbarthelemy", "html_url": "https://github.com/qbarthelemy", "followers_url": "https://api.github.com/users/qbarthelemy/followers", "following_url": "https://api.github.com/users/qbarthelemy/following{/other_user}", "gists_url": "https://api.github.com/users/qbarthelemy/gists{/gist_id}", "starred_url": "https://api.github.com/users/qbarthelemy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/qbarthelemy/subscriptions", "organizations_url": "https://api.github.com/users/qbarthelemy/orgs", "repos_url": "https://api.github.com/users/qbarthelemy/repos", "events_url": "https://api.github.com/users/qbarthelemy/events{/privacy}", "received_events_url": "https://api.github.com/users/qbarthelemy/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null }, { "id": 1815453311, "node_id": "MDU6TGFiZWwxODE1...
closed
false
[]
null
1
2026-01-23T18:25:37
2026-02-05T12:37:06
2026-02-05T12:33:18
null
CONTRIBUTOR
null
null
null
null
#### Reference Issues/PRs Fixes #33093. See also #33084. #### What does this implement/fix? Explain your changes. It implements suggestions made here https://github.com/scikit-learn/scikit-learn/issues/33093#issuecomment-3759684206 #### AI usage disclosure I did **not** use AI assistance. #### Any other comments?
{ "login": "adrinjalali", "id": 1663864, "node_id": "MDQ6VXNlcjE2NjM4NjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1663864?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adrinjalali", "html_url": "https://github.com/adrinjalali", "followers_url": "https://api.github.com/users/adrinjalali/followers", "following_url": "https://api.github.com/users/adrinjalali/following{/other_user}", "gists_url": "https://api.github.com/users/adrinjalali/gists{/gist_id}", "starred_url": "https://api.github.com/users/adrinjalali/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adrinjalali/subscriptions", "organizations_url": "https://api.github.com/users/adrinjalali/orgs", "repos_url": "https://api.github.com/users/adrinjalali/repos", "events_url": "https://api.github.com/users/adrinjalali/events{/privacy}", "received_events_url": "https://api.github.com/users/adrinjalali/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33126/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33126/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33126", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33126", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33126.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33126.patch", "merged_at": "2026-02-05T12:33:18" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33125
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33125/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33125/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33125/events
https://github.com/scikit-learn/scikit-learn/pull/33125
3,848,373,890
PR_kwDOAAzd1s6--wrY
33,125
perf: improve numerical stability of LinearRegression for float32
{ "login": "definus6-dev", "id": 243269271, "node_id": "U_kgDODn_-lw", "avatar_url": "https://avatars.githubusercontent.com/u/243269271?v=4", "gravatar_id": "", "url": "https://api.github.com/users/definus6-dev", "html_url": "https://github.com/definus6-dev", "followers_url": "https://api.github.com/users/definus6-dev/followers", "following_url": "https://api.github.com/users/definus6-dev/following{/other_user}", "gists_url": "https://api.github.com/users/definus6-dev/gists{/gist_id}", "starred_url": "https://api.github.com/users/definus6-dev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/definus6-dev/subscriptions", "organizations_url": "https://api.github.com/users/definus6-dev/orgs", "repos_url": "https://api.github.com/users/definus6-dev/repos", "events_url": "https://api.github.com/users/definus6-dev/events{/privacy}", "received_events_url": "https://api.github.com/users/definus6-dev/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815444632, "node_id": "MDU6TGFiZWwxODE1NDQ0NjMy", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:linear_model", "name": "module:linear_model", "color": "151e91", "default": false, "description": "" }, { "id": 9691732262, "node_id": "LA_k...
closed
false
[]
null
1
2026-01-23T17:11:28
2026-01-24T08:15:24
2026-01-24T08:15:24
null
NONE
null
null
null
null
### Description This PR addresses issue #33032 by improving the numerical stability of \LinearRegression\ specifically for \ loat32\ data, while maintaining strict consistency for \ loat64\. ### The Dual-Logic Strategy (Forest & Trees) To ensure that this fix does not regress existing consistency tests (like #26164), we have implemented a targeted approach: - **For \ loat32\**: We now set \cond=None\. This allows \scipy\ to use its internal, high-precision default, which is essential for large datasets (500k+ rows) where the previous formula made the threshold too coarse. - **For \ loat64\**: We strictly preserve the original \max(X.shape) * eps\ formula. This ensures that all existing regression tests and sample weight consistency checks pass without any deviation. ### Impact & Evidence - **Accuracy**: Restores correct rank identification (Rank 2) and reduces residues (~10% improvement) for large-scale \ loat32\ tasks. - **Consistency**: Guaranteed 100% backward compatibility for \ loat64\ workflows. ### Summary of Changes - Refactored \sklearn/linear_model/_base.py\ to use conditional \cond\ logic based on input dtype. - Verified with large-scale correlated datasets and edge-case singular matrices.
{ "login": "definus6-dev", "id": 243269271, "node_id": "U_kgDODn_-lw", "avatar_url": "https://avatars.githubusercontent.com/u/243269271?v=4", "gravatar_id": "", "url": "https://api.github.com/users/definus6-dev", "html_url": "https://github.com/definus6-dev", "followers_url": "https://api.github.com/users/definus6-dev/followers", "following_url": "https://api.github.com/users/definus6-dev/following{/other_user}", "gists_url": "https://api.github.com/users/definus6-dev/gists{/gist_id}", "starred_url": "https://api.github.com/users/definus6-dev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/definus6-dev/subscriptions", "organizations_url": "https://api.github.com/users/definus6-dev/orgs", "repos_url": "https://api.github.com/users/definus6-dev/repos", "events_url": "https://api.github.com/users/definus6-dev/events{/privacy}", "received_events_url": "https://api.github.com/users/definus6-dev/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33125/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33125/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33125", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33125", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33125.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33125.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33124
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33124/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33124/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33124/events
https://github.com/scikit-learn/scikit-learn/pull/33124
3,846,118,504
PR_kwDOAAzd1s6-3Liq
33,124
DOC: improve clarity and reproducibility in classification probability example
{ "login": "GarimaGarg222", "id": 151461599, "node_id": "U_kgDOCQce3w", "avatar_url": "https://avatars.githubusercontent.com/u/151461599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GarimaGarg222", "html_url": "https://github.com/GarimaGarg222", "followers_url": "https://api.github.com/users/GarimaGarg222/followers", "following_url": "https://api.github.com/users/GarimaGarg222/following{/other_user}", "gists_url": "https://api.github.com/users/GarimaGarg222/gists{/gist_id}", "starred_url": "https://api.github.com/users/GarimaGarg222/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GarimaGarg222/subscriptions", "organizations_url": "https://api.github.com/users/GarimaGarg222/orgs", "repos_url": "https://api.github.com/users/GarimaGarg222/repos", "events_url": "https://api.github.com/users/GarimaGarg222/events{/privacy}", "received_events_url": "https://api.github.com/users/GarimaGarg222/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null } ]
closed
false
[]
null
0
2026-01-23T06:55:59
2026-01-29T10:48:33
2026-01-29T10:48:33
null
CONTRIBUTOR
null
null
null
null
This pull request improves the classification probability example by: 1.Improving clarity of the code and comments 2.Adding a fixed random_state for reproducibility 3.Making the plot behavior more consistent with the documentation No change to algorithmic behavior or public APIs.
{ "login": "ArturoAmorQ", "id": 86408019, "node_id": "MDQ6VXNlcjg2NDA4MDE5", "avatar_url": "https://avatars.githubusercontent.com/u/86408019?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArturoAmorQ", "html_url": "https://github.com/ArturoAmorQ", "followers_url": "https://api.github.com/users/ArturoAmorQ/followers", "following_url": "https://api.github.com/users/ArturoAmorQ/following{/other_user}", "gists_url": "https://api.github.com/users/ArturoAmorQ/gists{/gist_id}", "starred_url": "https://api.github.com/users/ArturoAmorQ/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ArturoAmorQ/subscriptions", "organizations_url": "https://api.github.com/users/ArturoAmorQ/orgs", "repos_url": "https://api.github.com/users/ArturoAmorQ/repos", "events_url": "https://api.github.com/users/ArturoAmorQ/events{/privacy}", "received_events_url": "https://api.github.com/users/ArturoAmorQ/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33124/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33124/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33124", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33124", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33124.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33124.patch", "merged_at": "2026-01-29T10:48:33" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33123
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33123/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33123/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33123/events
https://github.com/scikit-learn/scikit-learn/pull/33123
3,843,303,080
PR_kwDOAAzd1s6-t2am
33,123
CI Migrate Linux_Nightly build to GHA
{ "login": "FrancoisPgm", "id": 35327799, "node_id": "MDQ6VXNlcjM1MzI3Nzk5", "avatar_url": "https://avatars.githubusercontent.com/u/35327799?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FrancoisPgm", "html_url": "https://github.com/FrancoisPgm", "followers_url": "https://api.github.com/users/FrancoisPgm/followers", "following_url": "https://api.github.com/users/FrancoisPgm/following{/other_user}", "gists_url": "https://api.github.com/users/FrancoisPgm/gists{/gist_id}", "starred_url": "https://api.github.com/users/FrancoisPgm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/FrancoisPgm/subscriptions", "organizations_url": "https://api.github.com/users/FrancoisPgm/orgs", "repos_url": "https://api.github.com/users/FrancoisPgm/repos", "events_url": "https://api.github.com/users/FrancoisPgm/events{/privacy}", "received_events_url": "https://api.github.com/users/FrancoisPgm/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
11
2026-01-22T14:51:44
2026-01-30T13:29:22
2026-01-28T14:19:03
null
CONTRIBUTOR
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> Towards #32434 <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33123/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33123/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33123", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33123", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33123.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33123.patch", "merged_at": "2026-01-28T14:19:03" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33122
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33122/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33122/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33122/events
https://github.com/scikit-learn/scikit-learn/issues/33122
3,840,938,380
I_kwDOAAzd1s7k8BGM
33,122
โš ๏ธ CI failed on Linux_Nightly.pylatest_pip_scipy_dev (last failure: Jan 22, 2026) โš ๏ธ
{ "login": "scikit-learn-bot", "id": 8699527, "node_id": "MDQ6VXNlcjg2OTk1Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/8699527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scikit-learn-bot", "html_url": "https://github.com/scikit-learn-bot", "followers_url": "https://api.github.com/users/scikit-learn-bot/followers", "following_url": "https://api.github.com/users/scikit-learn-bot/following{/other_user}", "gists_url": "https://api.github.com/users/scikit-learn-bot/gists{/gist_id}", "starred_url": "https://api.github.com/users/scikit-learn-bot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scikit-learn-bot/subscriptions", "organizations_url": "https://api.github.com/users/scikit-learn-bot/orgs", "repos_url": "https://api.github.com/users/scikit-learn-bot/repos", "events_url": "https://api.github.com/users/scikit-learn-bot/events{/privacy}", "received_events_url": "https://api.github.com/users/scikit-learn-bot/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[]
closed
false
[]
null
2
2026-01-22T02:34:18
2026-01-23T12:23:33
2026-01-23T12:23:33
null
CONTRIBUTOR
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
**CI failed on [Linux_Nightly.pylatest_pip_scipy_dev](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=84468&view=logs&j=dfe99b15-50db-5d7b-b1e9-4105c42527cf)** (Jan 22, 2026) Unable to find junit file. Please see link for details.
{ "login": "StefanieSenger", "id": 91849487, "node_id": "U_kgDOBXmDDw", "avatar_url": "https://avatars.githubusercontent.com/u/91849487?v=4", "gravatar_id": "", "url": "https://api.github.com/users/StefanieSenger", "html_url": "https://github.com/StefanieSenger", "followers_url": "https://api.github.com/users/StefanieSenger/followers", "following_url": "https://api.github.com/users/StefanieSenger/following{/other_user}", "gists_url": "https://api.github.com/users/StefanieSenger/gists{/gist_id}", "starred_url": "https://api.github.com/users/StefanieSenger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/StefanieSenger/subscriptions", "organizations_url": "https://api.github.com/users/StefanieSenger/orgs", "repos_url": "https://api.github.com/users/StefanieSenger/repos", "events_url": "https://api.github.com/users/StefanieSenger/events{/privacy}", "received_events_url": "https://api.github.com/users/StefanieSenger/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33122/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33122/timeline
null
completed
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33121
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33121/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33121/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33121/events
https://github.com/scikit-learn/scikit-learn/pull/33121
3,839,384,105
PR_kwDOAAzd1s6-gsWR
33,121
Fix inconsistent string formatting in validation.py
{ "login": "bodhisilberling", "id": 194859698, "node_id": "U_kgDOC51Ssg", "avatar_url": "https://avatars.githubusercontent.com/u/194859698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bodhisilberling", "html_url": "https://github.com/bodhisilberling", "followers_url": "https://api.github.com/users/bodhisilberling/followers", "following_url": "https://api.github.com/users/bodhisilberling/following{/other_user}", "gists_url": "https://api.github.com/users/bodhisilberling/gists{/gist_id}", "starred_url": "https://api.github.com/users/bodhisilberling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bodhisilberling/subscriptions", "organizations_url": "https://api.github.com/users/bodhisilberling/orgs", "repos_url": "https://api.github.com/users/bodhisilberling/repos", "events_url": "https://api.github.com/users/bodhisilberling/events{/privacy}", "received_events_url": "https://api.github.com/users/bodhisilberling/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815453311, "node_id": "MDU6TGFiZWwxODE1NDUzMzEx", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:utils", "name": "module:utils", "color": "151e91", "default": false, "description": "" } ]
closed
false
[]
null
0
2026-01-21T17:55:48
2026-01-23T02:30:08
2026-01-23T02:30:08
null
CONTRIBUTOR
null
null
null
null
Standardize error messages and string formatting to use f-strings for consistency: - Line 80: Convert .format() to f-string in list comprehension - Line 440: Convert .format() to f-string in error message - Line 1468: Convert % formatting to f-string in error message This improves code consistency and aligns with modern Python best practices. <!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33121/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33121/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33121", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33121", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33121.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33121.patch", "merged_at": "2026-01-23T02:30:08" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33120
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33120/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33120/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33120/events
https://github.com/scikit-learn/scikit-learn/pull/33120
3,838,467,241
PR_kwDOAAzd1s6-dnHF
33,120
MAINT: Remove broken bench_multilabel_metrics.py
{ "login": "PythonicVarun", "id": 178023385, "node_id": "U_kgDOCpxr2Q", "avatar_url": "https://avatars.githubusercontent.com/u/178023385?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PythonicVarun", "html_url": "https://github.com/PythonicVarun", "followers_url": "https://api.github.com/users/PythonicVarun/followers", "following_url": "https://api.github.com/users/PythonicVarun/following{/other_user}", "gists_url": "https://api.github.com/users/PythonicVarun/gists{/gist_id}", "starred_url": "https://api.github.com/users/PythonicVarun/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PythonicVarun/subscriptions", "organizations_url": "https://api.github.com/users/PythonicVarun/orgs", "repos_url": "https://api.github.com/users/PythonicVarun/repos", "events_url": "https://api.github.com/users/PythonicVarun/events{/privacy}", "received_events_url": "https://api.github.com/users/PythonicVarun/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 3730476391, "node_id": "LA_kwDOAAzd1s7eWo1n", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Quick%20Review", "name": "Quick Review", "color": "79EEC4", "default": false, "description": "For PRs that are quick to review" }, { "id": 4691539216, "...
closed
false
[]
null
1
2026-01-21T14:14:45
2026-02-05T04:16:06
2026-02-05T04:16:06
null
CONTRIBUTOR
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs Fixes #33079 #### What does this implement/fix? Explain your changes. ~The `bench_multilabel_metrics.py` script currently fails because it imports `jaccard_similarity_score`, which was removed in version 0.23.~ The `benchmarks/bench_multilabel_metrics.py` script is currently broken (imports removed function `jaccard_similarity_score`) and has been identified as not useful for current benchmarking needs. Per [discussion in the issue](https://github.com/scikit-learn/scikit-learn/issues/33079#issuecomment-3790262496), this PR removes the file entirely to reduce technical debt rather than patching it. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? ~In older versions, `jaccard_similarity_score` on multilabel data behaved identically to `accuracy_score` (Subset Accuracy). Since `accuracy` is already benchmarked in this file, I have switched the new entry to use `average='samples'`. This ensures we are benchmarking the actual Jaccard Index (Intersection over Union), which provides unique value compared to the existing metrics.~
{ "login": "thomasjpfan", "id": 5402633, "node_id": "MDQ6VXNlcjU0MDI2MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/5402633?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasjpfan", "html_url": "https://github.com/thomasjpfan", "followers_url": "https://api.github.com/users/thomasjpfan/followers", "following_url": "https://api.github.com/users/thomasjpfan/following{/other_user}", "gists_url": "https://api.github.com/users/thomasjpfan/gists{/gist_id}", "starred_url": "https://api.github.com/users/thomasjpfan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thomasjpfan/subscriptions", "organizations_url": "https://api.github.com/users/thomasjpfan/orgs", "repos_url": "https://api.github.com/users/thomasjpfan/repos", "events_url": "https://api.github.com/users/thomasjpfan/events{/privacy}", "received_events_url": "https://api.github.com/users/thomasjpfan/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33120/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33120/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33120", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33120", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33120.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33120.patch", "merged_at": "2026-02-05T04:16:06" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33119
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33119/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33119/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33119/events
https://github.com/scikit-learn/scikit-learn/issues/33119
3,837,589,606
I_kwDOAAzd1s7kvPhm
33,119
Support clusterers in `DecisionBoundaryDisplay`
{ "login": "ThexXTURBOXx", "id": 12763829, "node_id": "MDQ6VXNlcjEyNzYzODI5", "avatar_url": "https://avatars.githubusercontent.com/u/12763829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ThexXTURBOXx", "html_url": "https://github.com/ThexXTURBOXx", "followers_url": "https://api.github.com/users/ThexXTURBOXx/followers", "following_url": "https://api.github.com/users/ThexXTURBOXx/following{/other_user}", "gists_url": "https://api.github.com/users/ThexXTURBOXx/gists{/gist_id}", "starred_url": "https://api.github.com/users/ThexXTURBOXx/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ThexXTURBOXx/subscriptions", "organizations_url": "https://api.github.com/users/ThexXTURBOXx/orgs", "repos_url": "https://api.github.com/users/ThexXTURBOXx/repos", "events_url": "https://api.github.com/users/ThexXTURBOXx/events{/privacy}", "received_events_url": "https://api.github.com/users/ThexXTURBOXx/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995756, "node_id": "MDU6TGFiZWwxMjk5NTc1Ng==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/New%20Feature", "name": "New Feature", "color": "02e10c", "default": false, "description": null } ]
open
false
[]
null
5
2026-01-21T10:27:57
2026-02-04T11:07:13
null
null
NONE
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
### Describe the workflow you want to enable So far, `response_method="auto"` does not resolve correctly (list of options as for classifiers instead of `predict`). The approach I implemented is: using PCA, followed by DBSCAN and Logistic Regression as a final step. Properly showing the relevant datapoints, categorised/colored by their identified clusters, would be great without an extra call to `scatter`. ### Describe your proposed solution As per discussion linked below, proper support for clusterers should be added to `DecisionBoundaryDisplay`. ### Describe alternatives you've considered, if relevant Simply plotting a scatterplot on top does not necessarily yield the same class colors, because the clusters are not necessarily ordered in the same way as the `y` values. ### Additional context https://github.com/scikit-learn/scikit-learn/pull/33015#issuecomment-3738401403
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33119/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33119/timeline
null
null
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33118
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33118/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33118/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33118/events
https://github.com/scikit-learn/scikit-learn/pull/33118
3,833,833,902
PR_kwDOAAzd1s6-OGRc
33,118
Re-enable compressed cache for fetch_kddcup99
{ "login": "un1u3", "id": 112570655, "node_id": "U_kgDOBrWxHw", "avatar_url": "https://avatars.githubusercontent.com/u/112570655?v=4", "gravatar_id": "", "url": "https://api.github.com/users/un1u3", "html_url": "https://github.com/un1u3", "followers_url": "https://api.github.com/users/un1u3/followers", "following_url": "https://api.github.com/users/un1u3/following{/other_user}", "gists_url": "https://api.github.com/users/un1u3/gists{/gist_id}", "starred_url": "https://api.github.com/users/un1u3/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/un1u3/subscriptions", "organizations_url": "https://api.github.com/users/un1u3/orgs", "repos_url": "https://api.github.com/users/un1u3/repos", "events_url": "https://api.github.com/users/un1u3/events{/privacy}", "received_events_url": "https://api.github.com/users/un1u3/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815438229, "node_id": "MDU6TGFiZWwxODE1NDM4MjI5", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:datasets", "name": "module:datasets", "color": "151e91", "default": false, "description": "" }, { "id": 3730476391, "node_id": "LA_kwDOAAzd1...
closed
false
[]
null
6
2026-01-20T13:51:18
2026-02-05T03:20:25
2026-01-26T13:27:28
null
CONTRIBUTOR
null
null
null
null
Fixes #33117 ## Re-enable compressed cache for `fetch_kddcup99 ### Why The KDDCup99 cache is currently forced to be written uncompressed due to a legacy decompression workaround. This significantly inflates disk usage for a very large dataset. Re-enabling compression reduces storage requirements and disk I/O without changing the public API or user-facing behavior. ### What changed - Write cached `samples` and `targets` using `joblib.dump(..., compress=3)` in `_kddcup99.py`. - Add a regression test in `test_kddcup99.py` that builds a compressed cache and verifies that `fetch_kddcup99` can load it correctly without network access. ### Review focus - Confirm that the chosen compression level (`compress=3`) is a reasonable trade-off between cache size reduction and CPU overhead. - Validate that the new test reliably covers loading from a compressed cache and does not require network access. ### AI usage disclosure This pull request includes code checks and PR enhancement using AI.
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33118/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33118/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33118", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33118", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33118.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33118.patch", "merged_at": "2026-01-26T13:27:28" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33117
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33117/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33117/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33117/events
https://github.com/scikit-learn/scikit-learn/issues/33117
3,833,786,118
I_kwDOAAzd1s7kgu8G
33,117
fetch_kddcup99 cache written uncompressed due to legacy decompression workaround
{ "login": "un1u3", "id": 112570655, "node_id": "U_kgDOBrWxHw", "avatar_url": "https://avatars.githubusercontent.com/u/112570655?v=4", "gravatar_id": "", "url": "https://api.github.com/users/un1u3", "html_url": "https://github.com/un1u3", "followers_url": "https://api.github.com/users/un1u3/followers", "following_url": "https://api.github.com/users/un1u3/following{/other_user}", "gists_url": "https://api.github.com/users/un1u3/gists{/gist_id}", "starred_url": "https://api.github.com/users/un1u3/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/un1u3/subscriptions", "organizations_url": "https://api.github.com/users/un1u3/orgs", "repos_url": "https://api.github.com/users/un1u3/repos", "events_url": "https://api.github.com/users/un1u3/events{/privacy}", "received_events_url": "https://api.github.com/users/un1u3/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[]
closed
false
[]
null
5
2026-01-20T13:38:20
2026-01-26T13:27:30
2026-01-26T13:27:30
null
CONTRIBUTOR
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
The `fetch_kddcup99` dataset loader currently forces `joblib.dump(..., compress=0)` when writing its local cache. This appears to be a historical workaround for an old decompression bug referenced in an inline comment, but the workaround is still present. As a result, the cache is stored uncompressed even though the dataset is very large, leading to unnecessary disk usage and extra IO. <img width="689" height="323" alt="Image" src="https://github.com/user-attachments/assets/8da31fff-e2d9-45e4-beab-3bc88e5b088c" /> ## Impact - Significantly larger local cache footprint for the KDDCup99 dataset - Increased disk usage and slower cache read/write operations - Inconsistent with other dataset fetchers that use compressed joblib caches by default ## Steps/Code to Reproduce ```python from sklearn.datasets import fetch_kddcup99 # Download and cache the dataset fetch_kddcup99(download_if_missing=True) # Inspect the cache directory (default): # ~/scikit_learn_data/kddcup99_10-py3/ # Files: samples, targets # Observe these files are uncompressed on disk. ``` ## Expected Results Cache files should be written with compression (e.g., compress=3) to reduce disk usage and IO. ## Actual Results Cache files are always written uncompressed due to compress=0.
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33117/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33117/timeline
null
completed
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33116
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33116/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33116/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33116/events
https://github.com/scikit-learn/scikit-learn/pull/33116
3,833,105,513
PR_kwDOAAzd1s6-LpLY
33,116
CI Port `free-threaded` job from Azure to GHA
{ "login": "augustebaum", "id": 52001167, "node_id": "MDQ6VXNlcjUyMDAxMTY3", "avatar_url": "https://avatars.githubusercontent.com/u/52001167?v=4", "gravatar_id": "", "url": "https://api.github.com/users/augustebaum", "html_url": "https://github.com/augustebaum", "followers_url": "https://api.github.com/users/augustebaum/followers", "following_url": "https://api.github.com/users/augustebaum/following{/other_user}", "gists_url": "https://api.github.com/users/augustebaum/gists{/gist_id}", "starred_url": "https://api.github.com/users/augustebaum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/augustebaum/subscriptions", "organizations_url": "https://api.github.com/users/augustebaum/orgs", "repos_url": "https://api.github.com/users/augustebaum/repos", "events_url": "https://api.github.com/users/augustebaum/events{/privacy}", "received_events_url": "https://api.github.com/users/augustebaum/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null }, { "id": 2659863795, "node_id": "MDU6TGFiZWwyNjU5OD...
closed
false
[]
null
7
2026-01-20T10:36:00
2026-01-28T09:21:22
2026-01-27T13:55:02
null
CONTRIBUTOR
null
null
null
null
Part of #32434 #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [x] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33116/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33116/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33116", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33116", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33116.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33116.patch", "merged_at": "2026-01-27T13:55:01" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33115
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33115/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33115/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33115/events
https://github.com/scikit-learn/scikit-learn/issues/33115
3,833,079,971
I_kwDOAAzd1s7keCij
33,115
Fix and refactor color handling in `DecisionBoundaryDisplay`
{ "login": "AnneBeyer", "id": 12881170, "node_id": "MDQ6VXNlcjEyODgxMTcw", "avatar_url": "https://avatars.githubusercontent.com/u/12881170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AnneBeyer", "html_url": "https://github.com/AnneBeyer", "followers_url": "https://api.github.com/users/AnneBeyer/followers", "following_url": "https://api.github.com/users/AnneBeyer/following{/other_user}", "gists_url": "https://api.github.com/users/AnneBeyer/gists{/gist_id}", "starred_url": "https://api.github.com/users/AnneBeyer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AnneBeyer/subscriptions", "organizations_url": "https://api.github.com/users/AnneBeyer/orgs", "repos_url": "https://api.github.com/users/AnneBeyer/repos", "events_url": "https://api.github.com/users/AnneBeyer/events{/privacy}", "received_events_url": "https://api.github.com/users/AnneBeyer/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[]
open
false
[]
null
6
2026-01-20T10:28:44
2026-03-03T13:05:57
null
null
CONTRIBUTOR
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
This is to keep track and address several things we noticed in #33015 I will address them in follow-up PRs. - [x] check number of (distinct) `colors == n_classes` (see: https://github.com/scikit-learn/scikit-learn/pull/33015/changes#r2703156456) - [x] use same selection mechanism for all qualitative cmaps (that have `colors`) (see: https://github.com/scikit-learn/scikit-learn/pull/33015/changes#r2703134927) - [ ] refactor and unify checks (some done in `from_estimator`, some in `plot`) - [ ] use colors for binary problems as well (but keep `viridis` as default) - [x] maybe even move color selection into a separate function? Please add, if I missed anything @lucyleeow @ogrisel
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33115/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33115/timeline
null
null
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33114
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33114/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33114/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33114/events
https://github.com/scikit-learn/scikit-learn/pull/33114
3,832,979,308
PR_kwDOAAzd1s6-LOPb
33,114
FIX: fix nan detection in trees
{ "login": "cakedev0", "id": 25986961, "node_id": "MDQ6VXNlcjI1OTg2OTYx", "avatar_url": "https://avatars.githubusercontent.com/u/25986961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cakedev0", "html_url": "https://github.com/cakedev0", "followers_url": "https://api.github.com/users/cakedev0/followers", "following_url": "https://api.github.com/users/cakedev0/following{/other_user}", "gists_url": "https://api.github.com/users/cakedev0/gists{/gist_id}", "starred_url": "https://api.github.com/users/cakedev0/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cakedev0/subscriptions", "organizations_url": "https://api.github.com/users/cakedev0/orgs", "repos_url": "https://api.github.com/users/cakedev0/repos", "events_url": "https://api.github.com/users/cakedev0/events{/privacy}", "received_events_url": "https://api.github.com/users/cakedev0/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815449280, "node_id": "MDU6TGFiZWwxODE1NDQ5Mjgw", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:tree", "name": "module:tree", "color": "151e91", "default": false, "description": "" }, { "id": 2911057044, "node_id": "MDU6TGFiZWwyOTExMDU3...
closed
false
[]
null
2
2026-01-20T10:03:00
2026-01-23T17:03:09
2026-01-23T17:03:08
null
CONTRIBUTOR
null
null
null
null
#### Reference Issues/PRs Fixes #33113 The bug was detected by the test from this PR: https://github.com/scikit-learn/scikit-learn/pull/32193/ #### What does this implement/fix? Explain your changes. First, I considered removing the erroneous `break` (see the issue). But then I benchmarked `_any_isnan_axis0`, and I noticed it was not much faster than just `np.isnan(...).any(axis=0)` which anyway is incomparably fast compared to fitting a tree. So I propose to just remove this function. #### AI usage disclosure I used AI assistance for finding where the bug detected by my test came from. #### Other comments I didn't add a regression test as it's already covered by https://github.com/scikit-learn/scikit-learn/pull/32193/, but I can add one if needed.
{ "login": "cakedev0", "id": 25986961, "node_id": "MDQ6VXNlcjI1OTg2OTYx", "avatar_url": "https://avatars.githubusercontent.com/u/25986961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cakedev0", "html_url": "https://github.com/cakedev0", "followers_url": "https://api.github.com/users/cakedev0/followers", "following_url": "https://api.github.com/users/cakedev0/following{/other_user}", "gists_url": "https://api.github.com/users/cakedev0/gists{/gist_id}", "starred_url": "https://api.github.com/users/cakedev0/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cakedev0/subscriptions", "organizations_url": "https://api.github.com/users/cakedev0/orgs", "repos_url": "https://api.github.com/users/cakedev0/repos", "events_url": "https://api.github.com/users/cakedev0/events{/privacy}", "received_events_url": "https://api.github.com/users/cakedev0/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33114/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33114/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33114", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33114", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33114.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33114.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33113
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33113/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33113/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33113/events
https://github.com/scikit-learn/scikit-learn/issues/33113
3,832,863,518
I_kwDOAAzd1s7kdNse
33,113
BUG: Trees: minor bug in `NaN` detection leading to incorrect split.
{ "login": "cakedev0", "id": 25986961, "node_id": "MDQ6VXNlcjI1OTg2OTYx", "avatar_url": "https://avatars.githubusercontent.com/u/25986961?v=4", "gravatar_id": "", "url": "https://api.github.com/users/cakedev0", "html_url": "https://github.com/cakedev0", "followers_url": "https://api.github.com/users/cakedev0/followers", "following_url": "https://api.github.com/users/cakedev0/following{/other_user}", "gists_url": "https://api.github.com/users/cakedev0/gists{/gist_id}", "starred_url": "https://api.github.com/users/cakedev0/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cakedev0/subscriptions", "organizations_url": "https://api.github.com/users/cakedev0/orgs", "repos_url": "https://api.github.com/users/cakedev0/repos", "events_url": "https://api.github.com/users/cakedev0/events{/privacy}", "received_events_url": "https://api.github.com/users/cakedev0/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995755, "node_id": "MDU6TGFiZWwxMjk5NTc1NQ==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Bug", "name": "Bug", "color": "e10c02", "default": false, "description": null } ]
closed
false
[]
null
2
2026-01-20T09:33:02
2026-01-27T13:53:58
2026-01-27T13:53:58
null
CONTRIBUTOR
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
### Describe the bug The `break` [here](https://github.com/scikit-learn/scikit-learn/blob/afc095a7b17d5528d62f55f07cab39f963299c78/sklearn/tree/_utils.pyx#L85) is wrong, and in some edge cases it will prevent `_any_isnan_axis0` detecting NaNs for some features. Then because of that, the splitter won't considers splits with NaNs on the left (because it's not aware this feature has NaNs). ### Steps/Code to Reproduce ```Python import numpy as np from numpy import nan from sklearn.tree import DecisionTreeRegressor X = np.array([ [nan, nan], [1, 0], [1, 1] ]) y = np.array([0, 0, 1]) tree = DecisionTreeRegressor(max_depth=1).fit(X, y) assert (tree.tree_.impurity[1:] == 0).all() ``` ### Expected Results The best split is found => No assertion error The best split: `X[:, 1] < 0.5` and missing values to the left node. ### Actual Results Assertion error. ### Versions ```shell System: python: 3.12.11 (main, Aug 18 2025, 19:19:11) [Clang 20.1.4 ] executable: /home/arthur/dev-perso/scikit-learn/sklearn-env/bin/python machine: Linux-6.14.0-37-generic-x86_64-with-glibc2.39 Python dependencies: sklearn: 1.9.dev0 pip: None setuptools: 80.9.0 numpy: 2.3.5 scipy: 1.16.3 Cython: 3.2.1 pandas: 2.3.3 matplotlib: 3.10.7 joblib: 1.5.2 threadpoolctl: 3.6.0 Built with OpenMP: True threadpoolctl info: user_api: blas internal_api: openblas num_threads: 16 prefix: libscipy_openblas filepath: /home/arthur/dev-perso/scikit-learn/sklearn-env/lib/python3.12/site-packages/numpy.libs/libscipy_openblas64_-fdde5778.so version: 0.3.30 threading_layer: pthreads architecture: Haswell user_api: blas internal_api: openblas num_threads: 16 prefix: libscipy_openblas filepath: /home/arthur/dev-perso/scikit-learn/sklearn-env/lib/python3.12/site-packages/scipy.libs/libscipy_openblas-b75cc656.so version: 0.3.29.dev threading_layer: pthreads architecture: Haswell user_api: openmp internal_api: openmp num_threads: 16 prefix: libgomp filepath: /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0 version: None ```
{ "login": "OmarManzoor", "id": 17495884, "node_id": "MDQ6VXNlcjE3NDk1ODg0", "avatar_url": "https://avatars.githubusercontent.com/u/17495884?v=4", "gravatar_id": "", "url": "https://api.github.com/users/OmarManzoor", "html_url": "https://github.com/OmarManzoor", "followers_url": "https://api.github.com/users/OmarManzoor/followers", "following_url": "https://api.github.com/users/OmarManzoor/following{/other_user}", "gists_url": "https://api.github.com/users/OmarManzoor/gists{/gist_id}", "starred_url": "https://api.github.com/users/OmarManzoor/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/OmarManzoor/subscriptions", "organizations_url": "https://api.github.com/users/OmarManzoor/orgs", "repos_url": "https://api.github.com/users/OmarManzoor/repos", "events_url": "https://api.github.com/users/OmarManzoor/events{/privacy}", "received_events_url": "https://api.github.com/users/OmarManzoor/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33113/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33113/timeline
null
completed
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33112
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33112/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33112/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33112/events
https://github.com/scikit-learn/scikit-learn/issues/33112
3,832,781,516
I_kwDOAAzd1s7kc5rM
33,112
`cross_validate` slows down with `n_jobs > 1`
{ "login": "antoinebaker", "id": 8403898, "node_id": "MDQ6VXNlcjg0MDM4OTg=", "avatar_url": "https://avatars.githubusercontent.com/u/8403898?v=4", "gravatar_id": "", "url": "https://api.github.com/users/antoinebaker", "html_url": "https://github.com/antoinebaker", "followers_url": "https://api.github.com/users/antoinebaker/followers", "following_url": "https://api.github.com/users/antoinebaker/following{/other_user}", "gists_url": "https://api.github.com/users/antoinebaker/gists{/gist_id}", "starred_url": "https://api.github.com/users/antoinebaker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/antoinebaker/subscriptions", "organizations_url": "https://api.github.com/users/antoinebaker/orgs", "repos_url": "https://api.github.com/users/antoinebaker/repos", "events_url": "https://api.github.com/users/antoinebaker/events{/privacy}", "received_events_url": "https://api.github.com/users/antoinebaker/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995755, "node_id": "MDU6TGFiZWwxMjk5NTc1NQ==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Bug", "name": "Bug", "color": "e10c02", "default": false, "description": null }, { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": ...
closed
false
[]
null
4
2026-01-20T09:10:34
2026-01-30T09:07:51
2026-01-30T09:07:51
null
CONTRIBUTOR
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
### Describe the bug The time needed to`cross_validate` can have a big (x100) slow down when using parallel jobs (`n_jobs > 1`). Note that the effect is difficult to reproduce as it happens only on the first few calls to `cross_validate`, perhaps some weird caching mechanism is at play ? ### Steps/Code to Reproduce ```python from sklearn.datasets import make_regression from sklearn.linear_model import Ridge from sklearn.model_selection import cross_validate import time est = Ridge() X, y = make_regression(100, 5, random_state=22) for idx in range(5): start_time = time.time() scores = cross_validate(est, X, y, n_jobs=2) elapsed_time = time.time() - start_time print(f"{idx=} {elapsed_time=:.2f}") ``` ### Expected Results About the same time for each call. ### Actual Results ``` idx=0 elapsed_time=1.15 # about 100x slower idx=1 elapsed_time=0.01 idx=2 elapsed_time=0.01 idx=3 elapsed_time=0.01 idx=4 elapsed_time=0.01 ``` ### Versions ```shell System: python: 3.13.5 | packaged by conda-forge | (main, Jun 16 2025, 08:24:05) [Clang 18.1.8 ] executable: /Users/abaker/miniforge3/envs/sklearn-dev/bin/python machine: macOS-14.5-arm64-arm-64bit-Mach-O Python dependencies: sklearn: 1.9.dev0 pip: 25.2 setuptools: 80.9.0 numpy: 2.3.2 scipy: 1.16.1 Cython: 3.1.3 pandas: 2.3.2 matplotlib: 3.10.5 joblib: 1.5.1 threadpoolctl: 3.6.0 Built with OpenMP: True threadpoolctl info: user_api: blas internal_api: openblas num_threads: 8 prefix: libopenblas filepath: /Users/abaker/miniforge3/envs/sklearn-dev/lib/libopenblas.0.dylib version: 0.3.30 threading_layer: openmp architecture: VORTEX user_api: openmp internal_api: openmp num_threads: 8 prefix: libomp filepath: /Users/abaker/miniforge3/envs/sklearn-dev/lib/libomp.dylib version: None ```
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33112/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33112/timeline
null
completed
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33111
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33111/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33111/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33111/events
https://github.com/scikit-learn/scikit-learn/pull/33111
3,831,551,867
PR_kwDOAAzd1s6-GnPO
33,111
DOC Fix typo in changelog readme
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null }, { "id": 3730476391, "node_id": "LA_kwDOAAzd1s7eW...
closed
false
[]
null
0
2026-01-20T00:12:38
2026-01-20T08:19:33
2026-01-20T07:31:37
null
MEMBER
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs Ref: https://github.com/scikit-learn/scikit-learn/pull/33015#discussion_r2704225655 #### What does this implement/fix? Explain your changes. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? cc @AnneBeyer <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "StefanieSenger", "id": 91849487, "node_id": "U_kgDOBXmDDw", "avatar_url": "https://avatars.githubusercontent.com/u/91849487?v=4", "gravatar_id": "", "url": "https://api.github.com/users/StefanieSenger", "html_url": "https://github.com/StefanieSenger", "followers_url": "https://api.github.com/users/StefanieSenger/followers", "following_url": "https://api.github.com/users/StefanieSenger/following{/other_user}", "gists_url": "https://api.github.com/users/StefanieSenger/gists{/gist_id}", "starred_url": "https://api.github.com/users/StefanieSenger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/StefanieSenger/subscriptions", "organizations_url": "https://api.github.com/users/StefanieSenger/orgs", "repos_url": "https://api.github.com/users/StefanieSenger/repos", "events_url": "https://api.github.com/users/StefanieSenger/events{/privacy}", "received_events_url": "https://api.github.com/users/StefanieSenger/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33111/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33111/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33111", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33111", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33111.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33111.patch", "merged_at": "2026-01-20T07:31:37" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33110
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33110/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33110/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33110/events
https://github.com/scikit-learn/scikit-learn/pull/33110
3,831,070,947
PR_kwDOAAzd1s6-FCu0
33,110
Fix _cross_val_predict to allow non-partitioning split method like TimeSeriesSplit with StackingRegressor
{ "login": "khanjan2708", "id": 127283590, "node_id": "U_kgDOB5Yxhg", "avatar_url": "https://avatars.githubusercontent.com/u/127283590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/khanjan2708", "html_url": "https://github.com/khanjan2708", "followers_url": "https://api.github.com/users/khanjan2708/followers", "following_url": "https://api.github.com/users/khanjan2708/following{/other_user}", "gists_url": "https://api.github.com/users/khanjan2708/gists{/gist_id}", "starred_url": "https://api.github.com/users/khanjan2708/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/khanjan2708/subscriptions", "organizations_url": "https://api.github.com/users/khanjan2708/orgs", "repos_url": "https://api.github.com/users/khanjan2708/repos", "events_url": "https://api.github.com/users/khanjan2708/events{/privacy}", "received_events_url": "https://api.github.com/users/khanjan2708/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815440243, "node_id": "MDU6TGFiZWwxODE1NDQwMjQz", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:ensemble", "name": "module:ensemble", "color": "151e91", "default": false, "description": "" }, { "id": 1815446740, "node_id": "MDU6TGFiZWwx...
closed
false
[]
null
1
2026-01-19T20:14:28
2026-01-20T00:11:58
2026-01-20T00:11:25
null
NONE
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### Reference Issues/PRs Fixes #32614 #### What does this implement/fix? Explain your changes. This PR fixes the incompatibility between `StackingRegressor`/`StackingClassifier` and `TimeSeriesSplit` (and other non-partitioning cross-validation strategies). **Problem:** Previously, `cross_val_predict` required that the CV splitter creates a perfect partition where every sample appears in exactly one test set. This check rejected valid time-series CV strategies like `TimeSeriesSplit`, which intentionally reserves early samples for training only to maintain temporal order and prevent data leakage. **Solution:** The strict partition check has been replaced with a more flexible validation that allows non-partitioning CV splitters while still ensuring: 1. No overlap between train and test sets in any split 2. Each sample appears in at most one test set 3. At least some samples generate predictions **Changes:** - Added `_check_cv_is_valid_for_predict()` function to validate CV splitters with relaxed requirements - Updated `cross_val_predict()` to use the new validation function - Added comprehensive tests for `TimeSeriesSplit` with `cross_val_predict`, `StackingRegressor`, and `StackingClassifier` **Impact:** This enables proper time-series stacking without data leakage, allowing users to: - Use `StackingRegressor`/`StackingClassifier` with `TimeSeriesSplit` - Leverage ensemble methods for time-series forecasting - Maintain temporal validity in cross-validation **Backward Compatibility:** All existing CV strategies (KFold, StratifiedKFold, etc.) continue to work exactly as before. The change only relaxes the validation to accept additional valid strategies. **Example Usage (now works):** ```python from sklearn.ensemble import StackingRegressor from sklearn.linear_model import LinearRegression, Ridge from sklearn.model_selection import TimeSeriesSplit estimators = [ ('lr', LinearRegression()), ('ridge', Ridge()) ] stacker = StackingRegressor( estimators=estimators, final_estimator=LinearRegression(), cv=TimeSeriesSplit(n_splits=5) # Now supported! ) stacker.fit(X, y) ``` #### AI usage disclosure I used AI assistance for: - [x] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [x] Documentation (including examples) - [x] Research and understanding #### Any other comments? **Testing:** - All existing tests pass without modification - Manually tested with the reproducer from issue #32614 - Verified backward compatibility with traditional CV splitters **Note on Partial Predictions:** When using non-partitioning CV splitters like `TimeSeriesSplit`, `cross_val_predict` returns predictions only for samples that appear in test sets. This is the correct behavior for time series, as it prevents future data from leaking into past predictions while still using all available data to train base estimators. I'm happy to address any feedback or make adjustments as needed. Thank you for reviewing! <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33110/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33110/timeline
null
null
null
true
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33110", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33110", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33110.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33110.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33109
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33109/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33109/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33109/events
https://github.com/scikit-learn/scikit-learn/pull/33109
3,830,134,893
PR_kwDOAAzd1s6-B50x
33,109
DOC: clarify error message for invalid estimator response method
{ "login": "navyaaasingh", "id": 180956767, "node_id": "U_kgDOCskuXw", "avatar_url": "https://avatars.githubusercontent.com/u/180956767?v=4", "gravatar_id": "", "url": "https://api.github.com/users/navyaaasingh", "html_url": "https://github.com/navyaaasingh", "followers_url": "https://api.github.com/users/navyaaasingh/followers", "following_url": "https://api.github.com/users/navyaaasingh/following{/other_user}", "gists_url": "https://api.github.com/users/navyaaasingh/gists{/gist_id}", "starred_url": "https://api.github.com/users/navyaaasingh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/navyaaasingh/subscriptions", "organizations_url": "https://api.github.com/users/navyaaasingh/orgs", "repos_url": "https://api.github.com/users/navyaaasingh/repos", "events_url": "https://api.github.com/users/navyaaasingh/events{/privacy}", "received_events_url": "https://api.github.com/users/navyaaasingh/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null }, { "id": 1815453311, "node_id": "MDU6TGFiZWwxODE1...
closed
false
[]
null
1
2026-01-19T15:09:08
2026-01-20T02:07:22
2026-01-20T02:07:22
null
NONE
null
null
null
null
DOC: clarify error message when estimator response method is invalid Fixes #33093 The previous error message incorrectly implied that an estimator without a `predict` method was always a regressor. This change removes that assumption and clarifies the expected behavior. This improves clarity for users encountering this error.
{ "login": "virchan", "id": 25701849, "node_id": "MDQ6VXNlcjI1NzAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/25701849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/virchan", "html_url": "https://github.com/virchan", "followers_url": "https://api.github.com/users/virchan/followers", "following_url": "https://api.github.com/users/virchan/following{/other_user}", "gists_url": "https://api.github.com/users/virchan/gists{/gist_id}", "starred_url": "https://api.github.com/users/virchan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/virchan/subscriptions", "organizations_url": "https://api.github.com/users/virchan/orgs", "repos_url": "https://api.github.com/users/virchan/repos", "events_url": "https://api.github.com/users/virchan/events{/privacy}", "received_events_url": "https://api.github.com/users/virchan/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33109/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33109/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33109", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33109", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33109.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33109.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33108
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33108/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33108/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33108/events
https://github.com/scikit-learn/scikit-learn/issues/33108
3,829,311,620
I_kwDOAAzd1s7kPqiE
33,108
RFC `DecisionBoundaryDisplay` levels overlap with 'contour'
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1784583753, "node_id": "MDU6TGFiZWwxNzg0NTgzNzUz", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/RFC", "name": "RFC", "color": "7fe299", "default": false, "description": "" } ]
open
false
[]
null
8
2026-01-19T11:37:39
2026-03-06T09:22:59
null
null
MEMBER
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
> [!WARNING] > This is a request for comment (RFC), please do not open a pull request for this issue. If you wish to contribute to scikit-learn please have a look at our [contributing doc](https://scikit-learn.org/dev/developers/contributing.html) and in particular the section [New contributors](https://scikit-learn.org/dev/developers/contributing.html#new-contributors). Noticed while reviewing #33015. Also related to #32866 #31553 reverted the plotting behaviour when `plot_method='contour'` such that only thresholded integers are used plotting, for all plot methods, not continuous proba/decision function values. This means that the contour lines show where the predicted class changes from one to the other: <img width="1600" height="896" alt="Image" src="https://github.com/user-attachments/assets/d583b915-d44a-4071-98fd-e68deb41bd7b" /> instead of contour lines showing how continuous predicted values change, over the region where that class dominates: <img width="1600" height="896" alt="Image" src="https://github.com/user-attachments/assets/62babf2a-83f0-42c7-8f6a-e14971373d0a" /> (figures taken from #31546) The problem is that without setting `levels` mpl infers number of levels, 9 seems to be the default, resulting in a lot of overlapping lines. <details open> <summary>Details</summary> The [contourf](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.contourf.html#matplotlib.pyplot.contourf) docs aren't very helpful - it says `levels` is optional but does not tell you what the default is. Digging into the code, it seems that [`_process_contour_level_args`](https://github.com/matplotlib/matplotlib/blob/ebf9b14f7f41029e2c61dd09cc37dae98a9bc10d/lib/matplotlib/contour.py#L1011C9-L1011C36) is responsible. It calls [`_ensure_locator_exists`](https://github.com/matplotlib/matplotlib/blob/ebf9b14f7f41029e2c61dd09cc37dae98a9bc10d/lib/matplotlib/contour.py#L957) which does: ```python if self.locator is None: if self.logscale: self.locator = ticker.LogLocator(numticks=N) else: if N is None: N = 7 # Hard coded default self.locator = ticker.MaxNLocator(N + 1, min_n_ticks=1) ``` which seems to call [`MaxNLocator`](https://matplotlib.org/stable/api/ticker_api.html#matplotlib.ticker.MaxNLocator), with `n_bins=7+1`, which gives max 9 (n_bins + 1) ticks. This does seem to be what happens: ```python import matplotlib.pyplot as plt from sklearn.datasets import load_iris from sklearn.inspection import DecisionBoundaryDisplay from sklearn.linear_model import LogisticRegression iris = load_iris() X = iris.data[:, :2] classifier = LogisticRegression().fit(X, iris.target) # Create the contour plot disp = DecisionBoundaryDisplay.from_estimator( classifier, X, plot_method='contour', xlabel=iris.feature_names[0], ylabel=iris.feature_names[1], ) # Access the matplotlib axes and contour object ax = disp.ax_ contour = disp.surface_ print(f"Number of classes: {len(iris.target_names)}") print(f"Number of contour levels: {len(contour.levels)}") print(f"Contour levels (decision values): {contour.levels}") ``` ``` Number of classes: 3 Number of contour levels: 9 Contour levels (decision values): [0. 0.25 0.5 0.75 1. 1.25 1.5 1.75 2. ] ``` </details> The other problem is that we pass `n_classes` colors, but this does not match the number of levels (the passed colours are used to colour each level). In the case above, we pass 3 colours but there are 9 levels and from the docs: > The sequence is cycled for the levels in ascending order. If the sequence is shorter than the number of levels, it's repeated. Thus the colours don't make sense and don't really correspond to any individual class. --- Not sure what the best solution would be. We could specify `levels` such that we get `n_classes` levels, which would be a great improvement already. The question of what colour(s) the lines should be is more difficult. e.g., for the case above with 3 classes and levels at [1,2,3], 2 lines are drawn: <img width="567" height="432" alt="Image" src="https://github.com/user-attachments/assets/101f6e59-565f-4d41-85bd-9ac932e02085" /> <details open> <summary>Code</summary> ```python from sklearn.datasets import load_iris from sklearn.inspection import DecisionBoundaryDisplay from sklearn.linear_model import LogisticRegression iris = load_iris() X = iris.data[:, :2] classifier = LogisticRegression().fit(X, iris.target) # Create the contour plot disp = DecisionBoundaryDisplay.from_estimator( classifier, X, plot_method='contour', xlabel=iris.feature_names[0], ylabel=iris.feature_names[1], levels=[0,1,2], ) ``` </details> one for level 0: the transition from 0 -> 1 / 0 -> 2 and one for level 1: the transition from 1 -> 2 (the level 1 line also draws a line from 0 -> 2, but I think that is due to interpolation of the 0 -> 2 transition being 1 ? - this is the part where there are both blue and orange lines). The line colours don't really match to a single class, mostly because we have 2 lines for 3 classes. Maybe it would be best to just draw `contour` lines in just one colour? Related: https://github.com/scikit-learn/scikit-learn/pull/33015#discussion_r2703246240 cc @AnneBeyer @ogrisel
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33108/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33108/timeline
null
null
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33107
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33107/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33107/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33107/events
https://github.com/scikit-learn/scikit-learn/pull/33107
3,828,894,850
PR_kwDOAAzd1s699x4_
33,107
MAINT update array API lock file
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[]
closed
false
[]
null
2
2026-01-19T09:52:01
2026-01-19T11:07:06
2026-01-19T10:22:05
null
MEMBER
null
null
null
null
Manual workaround for #33106.
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33107/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33107/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33107", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33107", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33107.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33107.patch", "merged_at": "2026-01-19T10:22:05" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33106
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33106/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33106/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33106/events
https://github.com/scikit-learn/scikit-learn/issues/33106
3,828,613,509
I_kwDOAAzd1s7kNAGF
33,106
CI Automatic update of CUDA CI lock-file fails
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
7
2026-01-19T08:38:44
2026-02-04T15:30:29
2026-02-04T15:30:29
null
MEMBER
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
[January 19 build log](https://github.com/scikit-learn/scikit-learn/actions/runs/21126061615/job/60747475675) [January 12 build log](https://github.com/scikit-learn/scikit-learn/actions/runs/20908719794/job/60067290832) The symptom is that it fails after a very long time (more than 45 minutes in both cases) and exits with code 143, which means that it got a `SIGTERM` signal (143=128 + 15, 15=`SIGTERM`). ``` Preparing transaction: - done Verifying transaction: | / done Executing transaction: \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - done # 1 selected builds - pylatest_conda_forge_cuda_array-api_linux-64, type: conda, tag: cuda # Writing conda environments # Writing conda lock files # Locking dependencies for pylatest_conda_forge_cuda_array-api_linux-64 Error: Process completed with exit code 143. ``` I guess one of the first step would be to try to reproduce locally.
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33106/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33106/timeline
null
completed
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33105
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33105/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33105/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33105/events
https://github.com/scikit-learn/scikit-learn/pull/33105
3,828,034,110
PR_kwDOAAzd1s6968b7
33,105
:lock: :robot: CI Update lock files for main CI build(s) :lock: :robot:
{ "login": "scikit-learn-bot", "id": 8699527, "node_id": "MDQ6VXNlcjg2OTk1Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/8699527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scikit-learn-bot", "html_url": "https://github.com/scikit-learn-bot", "followers_url": "https://api.github.com/users/scikit-learn-bot/followers", "following_url": "https://api.github.com/users/scikit-learn-bot/following{/other_user}", "gists_url": "https://api.github.com/users/scikit-learn-bot/gists{/gist_id}", "starred_url": "https://api.github.com/users/scikit-learn-bot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scikit-learn-bot/subscriptions", "organizations_url": "https://api.github.com/users/scikit-learn-bot/orgs", "repos_url": "https://api.github.com/users/scikit-learn-bot/repos", "events_url": "https://api.github.com/users/scikit-learn-bot/events{/privacy}", "received_events_url": "https://api.github.com/users/scikit-learn-bot/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
0
2026-01-19T05:15:09
2026-01-19T09:16:36
2026-01-19T09:16:36
null
CONTRIBUTOR
null
null
null
null
Update lock files. ### Note If the CI tasks fail, create a new branch based on this PR and add the required fixes to that branch.
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33105/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33105/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33105", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33105", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33105.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33105.patch", "merged_at": "2026-01-19T09:16:36" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33104
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33104/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33104/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33104/events
https://github.com/scikit-learn/scikit-learn/pull/33104
3,827,234,954
PR_kwDOAAzd1s694cnQ
33,104
Fix inconsistent string formatting in check_is_fitted function
{ "login": "bodhisilberling", "id": 194859698, "node_id": "U_kgDOC51Ssg", "avatar_url": "https://avatars.githubusercontent.com/u/194859698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bodhisilberling", "html_url": "https://github.com/bodhisilberling", "followers_url": "https://api.github.com/users/bodhisilberling/followers", "following_url": "https://api.github.com/users/bodhisilberling/following{/other_user}", "gists_url": "https://api.github.com/users/bodhisilberling/gists{/gist_id}", "starred_url": "https://api.github.com/users/bodhisilberling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bodhisilberling/subscriptions", "organizations_url": "https://api.github.com/users/bodhisilberling/orgs", "repos_url": "https://api.github.com/users/bodhisilberling/repos", "events_url": "https://api.github.com/users/bodhisilberling/events{/privacy}", "received_events_url": "https://api.github.com/users/bodhisilberling/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815453311, "node_id": "MDU6TGFiZWwxODE1NDUzMzEx", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:utils", "name": "module:utils", "color": "151e91", "default": false, "description": "" } ]
closed
false
[]
null
0
2026-01-18T19:46:36
2026-01-18T23:19:19
2026-01-18T23:19:19
null
CONTRIBUTOR
null
null
null
null
Standardize error messages to use f-strings for consistency with the rest of the file. <!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33104/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33104/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33104", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33104", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33104.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33104.patch", "merged_at": "2026-01-18T23:19:19" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33103
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33103/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33103/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33103/events
https://github.com/scikit-learn/scikit-learn/pull/33103
3,826,901,418
PR_kwDOAAzd1s693b4h
33,103
ENH: Add robust_minmax_scale for robust min-max scaling
{ "login": "Jubril-Olasunkanmi", "id": 73476744, "node_id": "MDQ6VXNlcjczNDc2NzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/73476744?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jubril-Olasunkanmi", "html_url": "https://github.com/Jubril-Olasunkanmi", "followers_url": "https://api.github.com/users/Jubril-Olasunkanmi/followers", "following_url": "https://api.github.com/users/Jubril-Olasunkanmi/following{/other_user}", "gists_url": "https://api.github.com/users/Jubril-Olasunkanmi/gists{/gist_id}", "starred_url": "https://api.github.com/users/Jubril-Olasunkanmi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Jubril-Olasunkanmi/subscriptions", "organizations_url": "https://api.github.com/users/Jubril-Olasunkanmi/orgs", "repos_url": "https://api.github.com/users/Jubril-Olasunkanmi/repos", "events_url": "https://api.github.com/users/Jubril-Olasunkanmi/events{/privacy}", "received_events_url": "https://api.github.com/users/Jubril-Olasunkanmi/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815448196, "node_id": "MDU6TGFiZWwxODE1NDQ4MTk2", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:preprocessing", "name": "module:preprocessing", "color": "151e91", "default": false, "description": "" }, { "id": 2399338178, "node_id": "MD...
closed
false
[]
null
0
2026-01-18T15:16:53
2026-01-18T23:13:01
2026-01-18T23:13:01
null
NONE
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. #### Summary This PR aims aims at introducing a new preprocessing utility ``robust_minmax_scale`` that scales features to [0,1] while adopting robust quantile statistics instead of min/max. This is very important for real-world datasets, especially ones with extreme outliers. #### Motivation - Scikit-learn normally provides ``MinMaxScaler`` and ``RobustScaler`` used for scaling features, but no hybrid versions. - Numerous applied data science workflows need a stable scaler that is not sensitive to outliers. - The implementation is consistent with existing API patterns, and requires no new dependencies. ### What this PR includes - New function ``robust_minmax_scale`` - Full documentation and examples - Unit tests (``pytest``) - API exposure in ``__init__.py`` - Conforms to existing sklearn preprocessing patterns ```python from sklearn.preprocessing import robust_minmax_scale X_scaled = robust_minmax_scale(X) ``` #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33103/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33103/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33103", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33103", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33103.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33103.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33102
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33102/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33102/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33102/events
https://github.com/scikit-learn/scikit-learn/pull/33102
3,826,803,436
PR_kwDOAAzd1s693JPd
33,102
DOC: Remove redundant import in plot_iris_dtc example
{ "login": "abhisheksainimitawa", "id": 94426368, "node_id": "U_kgDOBaDVAA", "avatar_url": "https://avatars.githubusercontent.com/u/94426368?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhisheksainimitawa", "html_url": "https://github.com/abhisheksainimitawa", "followers_url": "https://api.github.com/users/abhisheksainimitawa/followers", "following_url": "https://api.github.com/users/abhisheksainimitawa/following{/other_user}", "gists_url": "https://api.github.com/users/abhisheksainimitawa/gists{/gist_id}", "starred_url": "https://api.github.com/users/abhisheksainimitawa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/abhisheksainimitawa/subscriptions", "organizations_url": "https://api.github.com/users/abhisheksainimitawa/orgs", "repos_url": "https://api.github.com/users/abhisheksainimitawa/repos", "events_url": "https://api.github.com/users/abhisheksainimitawa/events{/privacy}", "received_events_url": "https://api.github.com/users/abhisheksainimitawa/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null } ]
closed
false
[]
null
1
2026-01-18T13:47:13
2026-01-22T12:36:07
2026-01-22T12:36:07
null
CONTRIBUTOR
null
null
null
null
#### What does this implement/fix? Explain your changes. This PR removes a redundant `from sklearn.datasets import load_iris` statement in `examples/tree/plot_iris_dtc.py`. The function `load_iris` is already imported at the top of the file (line 23), making the second import inside the plotting section (line 33) unnecessary. This cleanup removes the duplicate import while preserving functionality. #### Any other comments? Verified locally by running the script `python examples/tree/plot_iris_dtc.py`. The script executed successfully and generated the plots without errors.
{ "login": "StefanieSenger", "id": 91849487, "node_id": "U_kgDOBXmDDw", "avatar_url": "https://avatars.githubusercontent.com/u/91849487?v=4", "gravatar_id": "", "url": "https://api.github.com/users/StefanieSenger", "html_url": "https://github.com/StefanieSenger", "followers_url": "https://api.github.com/users/StefanieSenger/followers", "following_url": "https://api.github.com/users/StefanieSenger/following{/other_user}", "gists_url": "https://api.github.com/users/StefanieSenger/gists{/gist_id}", "starred_url": "https://api.github.com/users/StefanieSenger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/StefanieSenger/subscriptions", "organizations_url": "https://api.github.com/users/StefanieSenger/orgs", "repos_url": "https://api.github.com/users/StefanieSenger/repos", "events_url": "https://api.github.com/users/StefanieSenger/events{/privacy}", "received_events_url": "https://api.github.com/users/StefanieSenger/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33102/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33102/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33102", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33102", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33102.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33102.patch", "merged_at": "2026-01-22T12:36:07" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33101
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33101/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33101/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33101/events
https://github.com/scikit-learn/scikit-learn/pull/33101
3,826,698,845
PR_kwDOAAzd1s6921G9
33,101
ENH Support cardinality filtering in make_column_selector
{ "login": "TejasAnalyst", "id": 254137677, "node_id": "U_kgDODyXVTQ", "avatar_url": "https://avatars.githubusercontent.com/u/254137677?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TejasAnalyst", "html_url": "https://github.com/TejasAnalyst", "followers_url": "https://api.github.com/users/TejasAnalyst/followers", "following_url": "https://api.github.com/users/TejasAnalyst/following{/other_user}", "gists_url": "https://api.github.com/users/TejasAnalyst/gists{/gist_id}", "starred_url": "https://api.github.com/users/TejasAnalyst/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TejasAnalyst/subscriptions", "organizations_url": "https://api.github.com/users/TejasAnalyst/orgs", "repos_url": "https://api.github.com/users/TejasAnalyst/repos", "events_url": "https://api.github.com/users/TejasAnalyst/events{/privacy}", "received_events_url": "https://api.github.com/users/TejasAnalyst/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815436184, "node_id": "MDU6TGFiZWwxODE1NDM2MTg0", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:compose", "name": "module:compose", "color": "151e91", "default": false, "description": "" }, { "id": 9676567219, "node_id": "LA_kwDOAAzd1s8...
closed
false
[]
null
5
2026-01-18T11:59:24
2026-02-10T19:09:22
2026-02-02T03:10:11
null
CONTRIBUTOR
null
null
null
null
This PR adds `min_cardinality` and `max_cardinality` parameters to `make_column_selector`. Currently, `make_column_selector` allows selecting columns based on dtype or regex pattern. However, selecting columns based on the number of unique values (cardinality) is a common requirement in data preprocessing, for example: - Identifying constant columns (cardinality = 1) to drop them. - Distinguishing between high-cardinality categorical features (like IDs) and low-cardinality features (like gender/status). I have implemented the logic to filter columns based on cardinality thresholds. #### Example Usage ```python import pandas as pd from sklearn.compose import make_column_selector # Create a sample dataframe df = pd.DataFrame({ 'constant': [1, 1, 1, 1, 1], # Cardinality = 1 'binary': ['Yes', 'No', 'Yes', 'No', 'Yes'], # Cardinality = 2 'category': ['A', 'B', 'C', 'A', 'B'], # Cardinality = 3 'id': [101, 102, 103, 104, 105] # Cardinality = 5 (High) }) # Example 1: Select columns with more than 1 unique value (Remove constants) selector_min = make_column_selector(min_cardinality=2) print(f"Columns with min_cardinality=2: {selector_min(df)}") # Expected: ['binary', 'category', 'id'] # Example 2: Select columns with low cardinality (e.g., for OneHotEncoding) selector_max = make_column_selector(max_cardinality=4) print(f"Columns with max_cardinality=4: {selector_max(df)}") # Expected: ['constant', 'binary', 'category']
{ "login": "github-actions[bot]", "id": 41898282, "node_id": "MDM6Qm90NDE4OTgyODI=", "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4", "gravatar_id": "", "url": "https://api.github.com/users/github-actions%5Bbot%5D", "html_url": "https://github.com/apps/github-actions", "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers", "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos", "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events", "type": "Bot", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33101/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33101/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33101", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33101", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33101.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33101.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33100
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33100/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33100/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33100/events
https://github.com/scikit-learn/scikit-learn/issues/33100
3,826,222,717
I_kwDOAAzd1s7kD4Z9
33,100
โš ๏ธ CI failed on Linux_Runs.pylatest_conda_forge_mkl (last failure: Jan 26, 2026) โš ๏ธ
{ "login": "scikit-learn-bot", "id": 8699527, "node_id": "MDQ6VXNlcjg2OTk1Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/8699527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/scikit-learn-bot", "html_url": "https://github.com/scikit-learn-bot", "followers_url": "https://api.github.com/users/scikit-learn-bot/followers", "following_url": "https://api.github.com/users/scikit-learn-bot/following{/other_user}", "gists_url": "https://api.github.com/users/scikit-learn-bot/gists{/gist_id}", "starred_url": "https://api.github.com/users/scikit-learn-bot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scikit-learn-bot/subscriptions", "organizations_url": "https://api.github.com/users/scikit-learn-bot/orgs", "repos_url": "https://api.github.com/users/scikit-learn-bot/repos", "events_url": "https://api.github.com/users/scikit-learn-bot/events{/privacy}", "received_events_url": "https://api.github.com/users/scikit-learn-bot/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[]
closed
false
[]
null
8
2026-01-18T02:35:43
2026-02-17T11:33:23
2026-02-17T11:33:23
null
CONTRIBUTOR
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
**CI is still failing on [Linux_Runs.pylatest_conda_forge_mkl](https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=84568&view=logs&j=dde5042c-7464-5d47-9507-31bdd2ee0a3a)** (Jan 26, 2026) - Test Collection Failure
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33100/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33100/timeline
null
completed
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33099
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33099/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33099/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33099/events
https://github.com/scikit-learn/scikit-learn/pull/33099
3,825,913,990
PR_kwDOAAzd1s690bDM
33,099
ENH: Add ``robust_minmax_scale`` to sklearn.preprocessing
{ "login": "Jubril-Olasunkanmi", "id": 73476744, "node_id": "MDQ6VXNlcjczNDc2NzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/73476744?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jubril-Olasunkanmi", "html_url": "https://github.com/Jubril-Olasunkanmi", "followers_url": "https://api.github.com/users/Jubril-Olasunkanmi/followers", "following_url": "https://api.github.com/users/Jubril-Olasunkanmi/following{/other_user}", "gists_url": "https://api.github.com/users/Jubril-Olasunkanmi/gists{/gist_id}", "starred_url": "https://api.github.com/users/Jubril-Olasunkanmi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Jubril-Olasunkanmi/subscriptions", "organizations_url": "https://api.github.com/users/Jubril-Olasunkanmi/orgs", "repos_url": "https://api.github.com/users/Jubril-Olasunkanmi/repos", "events_url": "https://api.github.com/users/Jubril-Olasunkanmi/events{/privacy}", "received_events_url": "https://api.github.com/users/Jubril-Olasunkanmi/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815448196, "node_id": "MDU6TGFiZWwxODE1NDQ4MTk2", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:preprocessing", "name": "module:preprocessing", "color": "151e91", "default": false, "description": "" }, { "id": 2399338178, "node_id": "MD...
closed
false
[]
null
0
2026-01-17T21:57:55
2026-01-18T23:16:59
2026-01-18T23:12:41
null
NONE
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. #### Summary This PR aims aims at introducing a new preprocessing utility ``robust_minmax_scale`` that scales features to [0,1] while adopting robust quantile statistics instead of min/max. This is very important for real-world datasets, especially ones with extreme outliers. #### Motivation - Scikit-learn normally provides ``MinMaxScaler`` and ``RobustScaler`` used for scaling features, but no hybrid versions. - Numerous applied data science workflows need a stable scaler that is not sensitive to outliers. - The implementation is consistent with existing API patterns, and requires no new dependencies. ### What this PR includes - New function ``robust_minmax_scale`` - Full documentation and examples - Unit tests (``pytest``) - API exposure in ``__init__.py`` - Conforms to existing sklearn preprocessing patterns ```python from sklearn.preprocessing import robust_minmax_scale X_scaled = robust_minmax_scale(X) ``` #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [x] Documentation (including examples) - [x] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33099/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33099/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33099", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33099", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33099.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33099.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33098
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33098/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33098/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33098/events
https://github.com/scikit-learn/scikit-learn/pull/33098
3,824,983,287
PR_kwDOAAzd1s69xaD1
33,098
Clarify KNN visualization titles and feature scaling intent
{ "login": "Jubril-Olasunkanmi", "id": 73476744, "node_id": "MDQ6VXNlcjczNDc2NzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/73476744?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jubril-Olasunkanmi", "html_url": "https://github.com/Jubril-Olasunkanmi", "followers_url": "https://api.github.com/users/Jubril-Olasunkanmi/followers", "following_url": "https://api.github.com/users/Jubril-Olasunkanmi/following{/other_user}", "gists_url": "https://api.github.com/users/Jubril-Olasunkanmi/gists{/gist_id}", "starred_url": "https://api.github.com/users/Jubril-Olasunkanmi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Jubril-Olasunkanmi/subscriptions", "organizations_url": "https://api.github.com/users/Jubril-Olasunkanmi/orgs", "repos_url": "https://api.github.com/users/Jubril-Olasunkanmi/repos", "events_url": "https://api.github.com/users/Jubril-Olasunkanmi/events{/privacy}", "received_events_url": "https://api.github.com/users/Jubril-Olasunkanmi/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 2399338178, "node_id": "MDU6TGFiZWwyMzk5MzM4MTc4", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/spam", "name": "spam", "color": "b60205", "default": false, "description": "spam PR and issues" }, { "id": 9691732262, "node_id": "LA_kwDOAAzd1s8AA...
closed
false
[]
null
1
2026-01-17T11:52:39
2026-01-19T05:59:05
2026-01-17T19:10:34
null
NONE
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. This update revises inline comments and plot titles to improve clarity and reflect the actual intent of the changes. The code logic is unchanged. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "Jubril-Olasunkanmi", "id": 73476744, "node_id": "MDQ6VXNlcjczNDc2NzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/73476744?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jubril-Olasunkanmi", "html_url": "https://github.com/Jubril-Olasunkanmi", "followers_url": "https://api.github.com/users/Jubril-Olasunkanmi/followers", "following_url": "https://api.github.com/users/Jubril-Olasunkanmi/following{/other_user}", "gists_url": "https://api.github.com/users/Jubril-Olasunkanmi/gists{/gist_id}", "starred_url": "https://api.github.com/users/Jubril-Olasunkanmi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Jubril-Olasunkanmi/subscriptions", "organizations_url": "https://api.github.com/users/Jubril-Olasunkanmi/orgs", "repos_url": "https://api.github.com/users/Jubril-Olasunkanmi/repos", "events_url": "https://api.github.com/users/Jubril-Olasunkanmi/events{/privacy}", "received_events_url": "https://api.github.com/users/Jubril-Olasunkanmi/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33098/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33098/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33098", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33098", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33098.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33098.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33097
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33097/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33097/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33097/events
https://github.com/scikit-learn/scikit-learn/pull/33097
3,823,701,332
PR_kwDOAAzd1s69tN96
33,097
Clarify feature scaling effects in k-nearest neighbors example
{ "login": "Jubril-Olasunkanmi", "id": 73476744, "node_id": "MDQ6VXNlcjczNDc2NzQ0", "avatar_url": "https://avatars.githubusercontent.com/u/73476744?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Jubril-Olasunkanmi", "html_url": "https://github.com/Jubril-Olasunkanmi", "followers_url": "https://api.github.com/users/Jubril-Olasunkanmi/followers", "following_url": "https://api.github.com/users/Jubril-Olasunkanmi/following{/other_user}", "gists_url": "https://api.github.com/users/Jubril-Olasunkanmi/gists{/gist_id}", "starred_url": "https://api.github.com/users/Jubril-Olasunkanmi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Jubril-Olasunkanmi/subscriptions", "organizations_url": "https://api.github.com/users/Jubril-Olasunkanmi/orgs", "repos_url": "https://api.github.com/users/Jubril-Olasunkanmi/repos", "events_url": "https://api.github.com/users/Jubril-Olasunkanmi/events{/privacy}", "received_events_url": "https://api.github.com/users/Jubril-Olasunkanmi/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 2399338178, "node_id": "MDU6TGFiZWwyMzk5MzM4MTc4", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/spam", "name": "spam", "color": "b60205", "default": false, "description": "spam PR and issues" } ]
closed
false
[]
null
1
2026-01-16T21:22:29
2026-01-17T04:28:34
2026-01-17T04:27:24
null
NONE
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33097/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33097/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33097", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33097", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33097.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33097.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33096
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33096/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33096/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33096/events
https://github.com/scikit-learn/scikit-learn/pull/33096
3,822,340,635
PR_kwDOAAzd1s69onLU
33,096
FEA Array API support in `GaussianProcessRegressor`
{ "login": "betatim", "id": 1448859, "node_id": "MDQ6VXNlcjE0NDg4NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/1448859?v=4", "gravatar_id": "", "url": "https://api.github.com/users/betatim", "html_url": "https://github.com/betatim", "followers_url": "https://api.github.com/users/betatim/followers", "following_url": "https://api.github.com/users/betatim/following{/other_user}", "gists_url": "https://api.github.com/users/betatim/gists{/gist_id}", "starred_url": "https://api.github.com/users/betatim/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/betatim/subscriptions", "organizations_url": "https://api.github.com/users/betatim/orgs", "repos_url": "https://api.github.com/users/betatim/repos", "events_url": "https://api.github.com/users/betatim/events{/privacy}", "received_events_url": "https://api.github.com/users/betatim/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815443556, "node_id": "MDU6TGFiZWwxODE1NDQzNTU2", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:gaussian_process", "name": "module:gaussian_process", "color": "151e91", "default": false, "description": "" }, { "id": 1815453311, "node_id...
open
false
[]
null
0
2026-01-16T14:46:36
2026-02-11T16:32:35
null
null
MEMBER
null
null
null
null
#### Reference Issues/PRs AFAIK there isn't one. #### What does this implement/fix? Explain your changes. This rewrites the `GaussianProcessRegressor` to use the array API. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [x] Code generation (e.g., when writing an implementation or fixing a bug) - [x] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? ## Todo * [ ] review the tests to condense them, diff is very large!
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33096/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33096/timeline
null
null
null
true
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33096", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33096", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33096.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33096.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33095
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33095/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33095/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33095/events
https://github.com/scikit-learn/scikit-learn/pull/33095
3,821,969,657
PR_kwDOAAzd1s69nXro
33,095
Added intutive explanation for linear regression OLS
{ "login": "Amar-techh", "id": 178025115, "node_id": "U_kgDOCpxymw", "avatar_url": "https://avatars.githubusercontent.com/u/178025115?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Amar-techh", "html_url": "https://github.com/Amar-techh", "followers_url": "https://api.github.com/users/Amar-techh/followers", "following_url": "https://api.github.com/users/Amar-techh/following{/other_user}", "gists_url": "https://api.github.com/users/Amar-techh/gists{/gist_id}", "starred_url": "https://api.github.com/users/Amar-techh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Amar-techh/subscriptions", "organizations_url": "https://api.github.com/users/Amar-techh/orgs", "repos_url": "https://api.github.com/users/Amar-techh/repos", "events_url": "https://api.github.com/users/Amar-techh/events{/privacy}", "received_events_url": "https://api.github.com/users/Amar-techh/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 2399338178, "node_id": "MDU6TGFiZWwyMzk5MzM4MTc4", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/spam", "name": "spam", "color": "b60205", "default": false, "description": "spam PR and issues" } ]
closed
false
[]
null
0
2026-01-16T13:09:35
2026-01-16T20:46:08
2026-01-16T20:46:08
null
NONE
null
null
null
null
Added a plain -English sentence to the Ordinary Least Squares section to help beginners to understand the goal of the model <!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "virchan", "id": 25701849, "node_id": "MDQ6VXNlcjI1NzAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/25701849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/virchan", "html_url": "https://github.com/virchan", "followers_url": "https://api.github.com/users/virchan/followers", "following_url": "https://api.github.com/users/virchan/following{/other_user}", "gists_url": "https://api.github.com/users/virchan/gists{/gist_id}", "starred_url": "https://api.github.com/users/virchan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/virchan/subscriptions", "organizations_url": "https://api.github.com/users/virchan/orgs", "repos_url": "https://api.github.com/users/virchan/repos", "events_url": "https://api.github.com/users/virchan/events{/privacy}", "received_events_url": "https://api.github.com/users/virchan/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33095/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33095/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33095", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33095", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33095.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33095.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33094
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33094/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33094/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33094/events
https://github.com/scikit-learn/scikit-learn/issues/33094
3,821,103,720
I_kwDOAAzd1s7jwWpo
33,094
Add `show_data=False` option to `DecisionBoundaryDisplay.from_estimator`
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995756, "node_id": "MDU6TGFiZWwxMjk5NTc1Ng==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/New%20Feature", "name": "New Feature", "color": "02e10c", "default": false, "description": null } ]
open
false
[]
null
4
2026-01-16T09:12:12
2026-03-02T10:26:23
null
null
MEMBER
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
### Describe the workflow you want to enable While reviewing @AnneBeyer's #33015 PR, I thought it would be nice to be able to display the decision boundaries of a classifier along with the data points with consistent color maps (at least for classifiers, outlier detectors and regressors) instead of having to a manually scatter plot on the same `ax` instance. ### Describe your proposed solution Add a new `show_data` boolean kwarg to the `from_estimator` method that already accepts the `X` values as argument. The `from_estimator` method would then call `estimator.predict(X)` to find the values of the target to be used to set the colors of the dots of the scatter plot. The `from_estimator` could also take an optional `y` argument with true class labels. When provided, the scatter plot enabled from the `show_data=True` param of `from_estimator` would use the provided `y` values instead of using `estimator.predict(X)`. The `__init__` of the display would then also accept the `X` and `y` values. Ideally, the legend would make it explicit whether the scatter dots represent predictions or true labels, and could be overridden by a `data_label` kwarg passed to `from_estimator`. Maybe `show_data=True` could even be the default. ### Describe alternatives you've considered, if relevant While it's possible to do scatter plot manually, it's quite verbose and not necessarily trivial to understand if the colors used for the two plots are expected to be consistent or not. I think people often want to overlay the training set with the decision boundary when generating such plots for educational purposes. ### Additional context @AnneBeyer if you think this is a good feature to add, would be interested in contributing it (as a follow-up to #33015 and related PRs)? Also cc @lucyleeow @glemaitre in case you already discussed this in the past.
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33094/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33094/timeline
null
null
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33093
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33093/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33093/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33093/events
https://github.com/scikit-learn/scikit-learn/issues/33093
3,818,938,532
I_kwDOAAzd1s7joGCk
33,093
DOC error message when checking response values of an estimator not clear
{ "login": "qbarthelemy", "id": 5346669, "node_id": "MDQ6VXNlcjUzNDY2Njk=", "avatar_url": "https://avatars.githubusercontent.com/u/5346669?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qbarthelemy", "html_url": "https://github.com/qbarthelemy", "followers_url": "https://api.github.com/users/qbarthelemy/followers", "following_url": "https://api.github.com/users/qbarthelemy/following{/other_user}", "gists_url": "https://api.github.com/users/qbarthelemy/gists{/gist_id}", "starred_url": "https://api.github.com/users/qbarthelemy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/qbarthelemy/subscriptions", "organizations_url": "https://api.github.com/users/qbarthelemy/orgs", "repos_url": "https://api.github.com/users/qbarthelemy/repos", "events_url": "https://api.github.com/users/qbarthelemy/events{/privacy}", "received_events_url": "https://api.github.com/users/qbarthelemy/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null } ]
closed
false
[]
null
7
2026-01-15T19:53:57
2026-02-05T12:33:20
2026-02-05T12:33:20
null
CONTRIBUTOR
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
### Describe the issue linked to the documentation Current function that checks response values of an estimator assumes that if the estimator is not a classifier or an outlier detector, then it is a regressor. In the latter case, if it doesn't find the `predict` function, it raises an error stating that the estimator is a regressor: `ValueError: ... Got a regressor...`. However, the estimator might be something other than a regressor. For example, it can be a classification `Pipeline` with a MRO issue, see https://github.com/NeuroTechX/moabb/issues/815 Many other GitHub repositories have reported this ambiguous error, see list in https://github.com/scikit-learn/scikit-learn/pull/33084#issue-3814820493 The goal of this issue is to discuss how to correct the message by making it clearer, specifically by no longer stating that it is a regressor. ### Suggest a potential alternative/fix Current function `_get_response_values.py` in `scikit-learn/sklearn/utils/_response.py` ```python else: # estimator is a regressor if response_method != "predict": raise ValueError( f"{estimator.__class__.__name__} should either be a classifier to be " f"used with response_method={response_method} or the response_method " "should be 'predict'. Got a regressor with response_method=" f"{response_method} instead." ) prediction_method = estimator.predict y_pred, pos_label = prediction_method(X), None ``` could be corrected into ```python elif is_regressor(estimator): prediction_method = estimator.predict y_pred, pos_label = prediction_method(X), None else: raise ValueError( f"{estimator.__class__.__name__} is not recognized as a classifier, " "an outlier detector or a regressor." ) ``` and, if necessary, we could add before `else` ```python elif is_clusterer(estimator): prediction_method = ... y_pred, pos_label = ... ```
{ "login": "adrinjalali", "id": 1663864, "node_id": "MDQ6VXNlcjE2NjM4NjQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1663864?v=4", "gravatar_id": "", "url": "https://api.github.com/users/adrinjalali", "html_url": "https://github.com/adrinjalali", "followers_url": "https://api.github.com/users/adrinjalali/followers", "following_url": "https://api.github.com/users/adrinjalali/following{/other_user}", "gists_url": "https://api.github.com/users/adrinjalali/gists{/gist_id}", "starred_url": "https://api.github.com/users/adrinjalali/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adrinjalali/subscriptions", "organizations_url": "https://api.github.com/users/adrinjalali/orgs", "repos_url": "https://api.github.com/users/adrinjalali/repos", "events_url": "https://api.github.com/users/adrinjalali/events{/privacy}", "received_events_url": "https://api.github.com/users/adrinjalali/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33093/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33093/timeline
null
completed
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33092
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33092/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33092/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33092/events
https://github.com/scikit-learn/scikit-learn/pull/33092
3,818,511,237
PR_kwDOAAzd1s69b0ge
33,092
DOC: clarify that Lasso.path() defaults to Elastic Net path (#33091)
{ "login": "Deshan-5", "id": 209397004, "node_id": "U_kgDODHslDA", "avatar_url": "https://avatars.githubusercontent.com/u/209397004?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Deshan-5", "html_url": "https://github.com/Deshan-5", "followers_url": "https://api.github.com/users/Deshan-5/followers", "following_url": "https://api.github.com/users/Deshan-5/following{/other_user}", "gists_url": "https://api.github.com/users/Deshan-5/gists{/gist_id}", "starred_url": "https://api.github.com/users/Deshan-5/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Deshan-5/subscriptions", "organizations_url": "https://api.github.com/users/Deshan-5/orgs", "repos_url": "https://api.github.com/users/Deshan-5/repos", "events_url": "https://api.github.com/users/Deshan-5/events{/privacy}", "received_events_url": "https://api.github.com/users/Deshan-5/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null }, { "id": 1815444632, "node_id": "MDU6TGFiZWwxODE1...
closed
false
[]
null
2
2026-01-15T17:42:32
2026-01-16T10:31:12
2026-01-16T10:30:39
null
NONE
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs closes #33091 Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. clarified in the docstring that Lasso.path() defaults to Elastic Net path. This is a Documentation-only change. no code functionality is affected . #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "StefanieSenger", "id": 91849487, "node_id": "U_kgDOBXmDDw", "avatar_url": "https://avatars.githubusercontent.com/u/91849487?v=4", "gravatar_id": "", "url": "https://api.github.com/users/StefanieSenger", "html_url": "https://github.com/StefanieSenger", "followers_url": "https://api.github.com/users/StefanieSenger/followers", "following_url": "https://api.github.com/users/StefanieSenger/following{/other_user}", "gists_url": "https://api.github.com/users/StefanieSenger/gists{/gist_id}", "starred_url": "https://api.github.com/users/StefanieSenger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/StefanieSenger/subscriptions", "organizations_url": "https://api.github.com/users/StefanieSenger/orgs", "repos_url": "https://api.github.com/users/StefanieSenger/repos", "events_url": "https://api.github.com/users/StefanieSenger/events{/privacy}", "received_events_url": "https://api.github.com/users/StefanieSenger/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33092/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33092/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33092", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33092", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33092.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33092.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33091
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33091/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33091/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33091/events
https://github.com/scikit-learn/scikit-learn/pull/33091
3,818,101,760
PR_kwDOAAzd1s69abnr
33,091
DOC/MNT Little clean up around the splitting docs and error message
{ "login": "StefanieSenger", "id": 91849487, "node_id": "U_kgDOBXmDDw", "avatar_url": "https://avatars.githubusercontent.com/u/91849487?v=4", "gravatar_id": "", "url": "https://api.github.com/users/StefanieSenger", "html_url": "https://github.com/StefanieSenger", "followers_url": "https://api.github.com/users/StefanieSenger/followers", "following_url": "https://api.github.com/users/StefanieSenger/following{/other_user}", "gists_url": "https://api.github.com/users/StefanieSenger/gists{/gist_id}", "starred_url": "https://api.github.com/users/StefanieSenger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/StefanieSenger/subscriptions", "organizations_url": "https://api.github.com/users/StefanieSenger/orgs", "repos_url": "https://api.github.com/users/StefanieSenger/repos", "events_url": "https://api.github.com/users/StefanieSenger/events{/privacy}", "received_events_url": "https://api.github.com/users/StefanieSenger/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null }, { "id": 2659863795, "node_id": "MDU6TGFiZWwyNjU5...
closed
false
[]
null
2
2026-01-15T15:47:23
2026-01-19T10:40:09
2026-01-19T10:39:58
null
MEMBER
null
null
null
null
Noticed while working on #33089 #### What does this implement/fix? Explain your changes. A few clean ups around the splitting docs and error message. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33091/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33091/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33091", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33091", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33091.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33091.patch", "merged_at": "2026-01-19T10:39:58" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33090
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33090/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33090/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33090/events
https://github.com/scikit-learn/scikit-learn/pull/33090
3,818,014,553
PR_kwDOAAzd1s69aIss
33,090
CI remove scipy<1.16.2 requirement in wheel builder
{ "login": "AnneBeyer", "id": 12881170, "node_id": "MDQ6VXNlcjEyODgxMTcw", "avatar_url": "https://avatars.githubusercontent.com/u/12881170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AnneBeyer", "html_url": "https://github.com/AnneBeyer", "followers_url": "https://api.github.com/users/AnneBeyer/followers", "following_url": "https://api.github.com/users/AnneBeyer/following{/other_user}", "gists_url": "https://api.github.com/users/AnneBeyer/gists{/gist_id}", "starred_url": "https://api.github.com/users/AnneBeyer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AnneBeyer/subscriptions", "organizations_url": "https://api.github.com/users/AnneBeyer/orgs", "repos_url": "https://api.github.com/users/AnneBeyer/repos", "events_url": "https://api.github.com/users/AnneBeyer/events{/privacy}", "received_events_url": "https://api.github.com/users/AnneBeyer/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
1
2026-01-15T15:25:28
2026-01-20T14:57:05
2026-01-15T17:57:37
null
CONTRIBUTOR
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> https://github.com/scikit-learn/scikit-learn/issues/32279#issuecomment-3755215113 Fix https://github.com/scikit-learn/scikit-learn/issues/32279. #### What does this implement/fix? Explain your changes. Test if the wheels CI hang with scipy 1.16.2 is removed in the current version (1.17) and the workaround can be removed. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33090/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33090/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33090", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33090", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33090.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33090.patch", "merged_at": "2026-01-15T17:57:37" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33089
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33089/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33089/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33089/events
https://github.com/scikit-learn/scikit-learn/pull/33089
3,817,965,815
PR_kwDOAAzd1s69Z-SE
33,089
ENH Turn `TargetEncoder` into a metadata router and route `groups` to `cv` object
{ "login": "StefanieSenger", "id": 91849487, "node_id": "U_kgDOBXmDDw", "avatar_url": "https://avatars.githubusercontent.com/u/91849487?v=4", "gravatar_id": "", "url": "https://api.github.com/users/StefanieSenger", "html_url": "https://github.com/StefanieSenger", "followers_url": "https://api.github.com/users/StefanieSenger/followers", "following_url": "https://api.github.com/users/StefanieSenger/following{/other_user}", "gists_url": "https://api.github.com/users/StefanieSenger/gists{/gist_id}", "starred_url": "https://api.github.com/users/StefanieSenger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/StefanieSenger/subscriptions", "organizations_url": "https://api.github.com/users/StefanieSenger/orgs", "repos_url": "https://api.github.com/users/StefanieSenger/repos", "events_url": "https://api.github.com/users/StefanieSenger/events{/privacy}", "received_events_url": "https://api.github.com/users/StefanieSenger/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 5434156251, "node_id": "LA_kwDOAAzd1s8AAAABQ-ak2w", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Metadata%20Routing", "name": "Metadata Routing", "color": "BEBC3D", "default": false, "description": "all issues related to metadata routing, slep006, sample ...
closed
false
[]
null
2
2026-01-15T15:12:44
2026-02-11T20:22:18
2026-01-28T15:35:44
null
MEMBER
null
null
null
null
#### Reference Issues/PRs closes #32076 supersedes #32239 and #32843 #### What does this implement/fix? Explain your changes. - turns `TargetEncoder` into a metadata router that routes `groups` to the internal splitter - adds more input options for `cv` init param (as discussed here https://github.com/scikit-learn/scikit-learn/issues/32076#issuecomment-3307697377) - exposes cv_ attribute - add tests #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [x] Research and understanding
{ "login": "thomasjpfan", "id": 5402633, "node_id": "MDQ6VXNlcjU0MDI2MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/5402633?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasjpfan", "html_url": "https://github.com/thomasjpfan", "followers_url": "https://api.github.com/users/thomasjpfan/followers", "following_url": "https://api.github.com/users/thomasjpfan/following{/other_user}", "gists_url": "https://api.github.com/users/thomasjpfan/gists{/gist_id}", "starred_url": "https://api.github.com/users/thomasjpfan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thomasjpfan/subscriptions", "organizations_url": "https://api.github.com/users/thomasjpfan/orgs", "repos_url": "https://api.github.com/users/thomasjpfan/repos", "events_url": "https://api.github.com/users/thomasjpfan/events{/privacy}", "received_events_url": "https://api.github.com/users/thomasjpfan/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33089/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33089/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33089", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33089", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33089.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33089.patch", "merged_at": "2026-01-28T15:35:43" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33088
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33088/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33088/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33088/events
https://github.com/scikit-learn/scikit-learn/pull/33088
3,817,523,427
PR_kwDOAAzd1s69YeZ3
33,088
FIX add actual class name to error message in class vs. instance error
{ "login": "AnneBeyer", "id": 12881170, "node_id": "MDQ6VXNlcjEyODgxMTcw", "avatar_url": "https://avatars.githubusercontent.com/u/12881170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AnneBeyer", "html_url": "https://github.com/AnneBeyer", "followers_url": "https://api.github.com/users/AnneBeyer/followers", "following_url": "https://api.github.com/users/AnneBeyer/following{/other_user}", "gists_url": "https://api.github.com/users/AnneBeyer/gists{/gist_id}", "starred_url": "https://api.github.com/users/AnneBeyer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AnneBeyer/subscriptions", "organizations_url": "https://api.github.com/users/AnneBeyer/orgs", "repos_url": "https://api.github.com/users/AnneBeyer/repos", "events_url": "https://api.github.com/users/AnneBeyer/events{/privacy}", "received_events_url": "https://api.github.com/users/AnneBeyer/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815436184, "node_id": "MDU6TGFiZWwxODE1NDM2MTg0", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:compose", "name": "module:compose", "color": "151e91", "default": false, "description": "" }, { "id": 1815453311, "node_id": "MDU6TGFiZWwxOD...
closed
false
[]
null
1
2026-01-15T13:16:51
2026-02-04T12:27:21
2026-01-15T15:57:03
null
CONTRIBUTOR
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> Fix related to https://github.com/scikit-learn/scikit-learn/pull/32888, noticed while working on https://github.com/scikit-learn/scikit-learn/pull/32565 #### What does this implement/fix? Explain your changes. The error message was not formatted as f-string, thus the estimator name was not actually resolved, and the tests did not catch that. This is fixed here. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33088/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33088/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33088", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33088", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33088.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33088.patch", "merged_at": "2026-01-15T15:57:03" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33087
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33087/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33087/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33087/events
https://github.com/scikit-learn/scikit-learn/pull/33087
3,817,089,251
PR_kwDOAAzd1s69XBaZ
33,087
CI Fix scipy-dev build issues
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null }, { "id": 3730476391, "node_id": "LA_kwDOAAzd1s7eWo1...
closed
false
[]
null
2
2026-01-15T11:10:31
2026-01-15T15:46:50
2026-01-15T15:29:27
null
MEMBER
null
null
null
null
Fix https://github.com/scikit-learn/scikit-learn/issues/33047 ### Cython issue According to https://github.com/cython/cython/pull/7427#issuecomment-3753646484 the Cython issue is fixed in master. I think it's actually slightly better to use the install from source rather than the Cython wheel. The Cython wheel is not updated daily so there is a small timing difference between `master`. It also does not provide us much since it is a pure Python wheel so the same as installing from source with `NO_CYTHON_COMPILE=true`. ### numpy VisbibleDeprecationWarning from joblib This adds the warning to our ignored filters with a note linking to the joblib issue
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33087/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33087/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33087", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33087", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33087.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33087.patch", "merged_at": "2026-01-15T15:29:27" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33086
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33086/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33086/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33086/events
https://github.com/scikit-learn/scikit-learn/pull/33086
3,816,890,933
PR_kwDOAAzd1s69WWcL
33,086
Improve checking for string and multilabel inputs for classification metrics
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815445423, "node_id": "MDU6TGFiZWwxODE1NDQ1NDIz", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:metrics", "name": "module:metrics", "color": "151e91", "default": false, "description": "" }, { "id": 1815453311, "node_id": "MDU6TGFiZWwxOD...
open
false
[]
null
3
2026-01-15T10:14:33
2026-03-02T09:41:18
null
null
MEMBER
null
null
null
null
#### Reference Issues/PRs Fixes #33045 #### What does this implement/fix? Explain your changes. Mixed string and number inputs do not error for the following thresholded classification metrics: * `accuracy_score` * `hamming_loss` * `zero_one_loss` * `matthews_corrcoef` * `confusion_matrix` - only when `labels` is set when the mixed string and number inputs are: * lists (e.g., ['a', 'b'], [1, 0]) * string is a numpy array that is NOT object dtype e.g., `np.array(['a','b'])` <details open> <summary>Details</summary> Mixed string and number inputs are dealt with via `_union1d` (see #18192) https://github.com/scikit-learn/scikit-learn/blob/6c084a8152d41419fb7baf2bc1692890385d6599/sklearn/metrics/_classification.py#L154-L165 However this only works for numpy arrays, where the string is specifically specified to be object type: https://github.com/scikit-learn/scikit-learn/blob/0707e6287f128d824860d970896d414d9d96da7c/sklearn/metrics/tests/test_common.py#L1928-L1933 This test does not pass if the inputs are list or of dtype object is not forced. `np.union1d` first concatenates the arrays and then performs unique on the result. If the concatenated array is of dtype object, unique gives `TypeError`, however if object is not forced to be object, e.g.: `np.union1d(np.array([1,2]), np.array(['a','b']))` the resulting concatenation is of type 'U' and no error is raised when unique is run. (I am not sure why this case was not considered initially, but I think it would not be unusual/rare for the input to be a string numpy array that is NOT of object type) </details> The other classification metrics do raise an error, due to a call to [`unique_labels`](https://github.com/scikit-learn/scikit-learn/blob/66200f149ba6c64a3a93dd73e37bdeea87bb5db8/sklearn/utils/multiclass.py#L41) (see #33045 for details). This PR enforces: > thresholded metrics should raise an error if passed inconsistent types of inputs. for all thresholded metrics for all input types by running [`unique_labels`](https://github.com/scikit-learn/scikit-learn/blob/66200f149ba6c64a3a93dd73e37bdeea87bb5db8/sklearn/utils/multiclass.py#L41) inside [`_check_targets`](https://github.com/scikit-learn/scikit-learn/blob/0707e6287f128d824860d970896d414d9d96da7c/sklearn/metrics/_classification.py#L75). This is an opinionated change so let me explain: * `_check_targets` is ONLY used within thresholded metrics in `_classification.py` - thus a non backwards compatible change is less of an issue. * for the metrics where `unique_labels` is also called, `unique_labels` is always called after `_check_targets` * `_check_targets` and `unique_labels` raise errors for similar problematic input combinations, except: * `unique_labels` checks label indicator inputs are of the same size (`_check_targets` does not) * this means that the classification metrics (which previously did not run `unique_labels`) will have this extra check, which I think is a fix. * (less importantly) `_check_targets` checks target length consistency and does not allow continuous input or any multioutput target types * `unique_labels` is used elsewhere in the code (e.g., `LinearDiscriminantAnalysis`) - thus the changes made are backwards compatible and no changes in functionality was made Cons of this approach: * The error messages in `_check_targets` are more specific for classification metrics vs those in `unique_labels`. I added `unique_labels` right at the end of `_check_targets`, so all the current `_check_targets` will be raised in priority. The only difference is that for mixed str and int inputs, the error message from `unique_labels` is raised instead, but I have tried to improve this message. Pros: * Lets us remove `_union1d` from `_array_api.py` as this was the only place this function was used * Passing `y` types to `unique_labels` reduces duplicate `type_of_target` calls (and thus duplicate `unique` calls - I know we cache unique but this is only relevant for numpy arrays, not necessarily other array API supported arrays) I did also consider simply changing the logic in: https://github.com/scikit-learn/scikit-learn/blob/6c084a8152d41419fb7baf2bc1692890385d6599/sklearn/metrics/_classification.py#L154-L165 such that list and non object numpy inputs are also handled, but went with the above approach. Happy to take other opinions though. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments?
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33086/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33086/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33086", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33086", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33086.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33086.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33085
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33085/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33085/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33085/events
https://github.com/scikit-learn/scikit-learn/issues/33085
3,815,591,391
I_kwDOAAzd1s7jbU3f
33,085
StratifiedGroupKFold produces empty / degenerate splits
{ "login": "DM-Berger", "id": 26443086, "node_id": "MDQ6VXNlcjI2NDQzMDg2", "avatar_url": "https://avatars.githubusercontent.com/u/26443086?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DM-Berger", "html_url": "https://github.com/DM-Berger", "followers_url": "https://api.github.com/users/DM-Berger/followers", "following_url": "https://api.github.com/users/DM-Berger/following{/other_user}", "gists_url": "https://api.github.com/users/DM-Berger/gists{/gist_id}", "starred_url": "https://api.github.com/users/DM-Berger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DM-Berger/subscriptions", "organizations_url": "https://api.github.com/users/DM-Berger/orgs", "repos_url": "https://api.github.com/users/DM-Berger/repos", "events_url": "https://api.github.com/users/DM-Berger/events{/privacy}", "received_events_url": "https://api.github.com/users/DM-Berger/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995755, "node_id": "MDU6TGFiZWwxMjk5NTc1NQ==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Bug", "name": "Bug", "color": "e10c02", "default": false, "description": null } ]
open
false
[]
null
7
2026-01-15T01:52:22
2026-02-03T17:24:09
null
null
NONE
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
### Describe the bug StratifiedGroupKFold seems to be broken (Python 3.13, scikit-learn 1.8.0) for some fairly simple grouped classification datasets, quite frequently producing empty training or test sets. While I am aware of the many issues covering poor stratification and the workarounds suggested (https://github.com/scikit-learn/scikit-learn/issues/24656, https://github.com/scikit-learn/scikit-learn/issues/12076), this is a much more annoying problem in automated pipelines, as we can't even assume that e.g. 5-fold actually produces 5 valid folds. This seems not to be some rare example, but occurs very often with some pretty simple grouped classification datasets, even when the number of samples is quite large (see attached script `demo.py`). I really hope I am not doing something dumb here, because this seems to be a pretty big issue otherwise. I think the issue is that, obviously, when the number of groups and/or labels is small, and when these are not both distributed uniformly and independently over the samples, then it can just be the case that you simply cannot satisfy all three goals of balanced folds, groups, and target / y labels simultaneously in a satisfactory way. However, in such cases, there should surely be a warning and some kind of natural fallback (perhaps not stratifying, or ignoring grouping, depending on an option), or perhaps an error. But producing a degenerate fold definitely does not feel right. [demo.py](https://github.com/user-attachments/files/24630346/demo.py) ### Steps/Code to Reproduce ```python from sklearn.model_selection import StratifiedGroupKFold y = [0, 2, 2, 2, 1, 2, 1, 1, 0, 0, 0, 0] g = [0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1] skf = StratifiedGroupKFold(n_splits=3, shuffle=False) for fold, (ix_train, ix_test) in enumerate(skf.split(X=y, y=y, groups=g)): if len(ix_train) == 0: assert len(ix_test) == len(y) degen = "training" elif len(ix_test) == 0: assert len(ix_train) == len(y) degen = "test" else: continue print(f"Degenerate (empty) {degen} set on fold {fold + 1} for data:") print(f"y = {y}") print(f"g = {g}") ``` ### Expected Results We should not be getting empty training or test sets with any k-fold method. This will almost always cause errors downstream. ### Actual Results If you run `demo.py`, you will see a large number of combinations of grouping variables and classification targets cause degenerate splits. ### Versions ```shell >>> import sklearn >>> sklearn.show_versions() System: python: 3.13.9 (main, Oct 14 2025, 21:10:40) [Clang 20.1.4 ] executable: /Users/me/Documents/groupkfold/.venv/bin/python machine: macOS-15.5-arm64-arm-64bit-Mach-O Python dependencies: sklearn: 1.8.0 pip: None setuptools: None numpy: 2.4.1 scipy: 1.17.0 Cython: None pandas: None matplotlib: None joblib: 1.5.3 threadpoolctl: 3.6.0 Built with OpenMP: True threadpoolctl info: user_api: openmp internal_api: openmp num_threads: 8 prefix: libomp filepath: /Users/me/Documents/groupkfold/.venv/lib/python3.13/site-packages/sklearn/.dylibs/libomp.dylib version: None ```
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33085/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33085/timeline
null
null
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33084
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33084/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33084/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33084/events
https://github.com/scikit-learn/scikit-learn/pull/33084
3,814,820,493
PR_kwDOAAzd1s69Pdcz
33,084
DOC correct error message when checking response values of an estimator
{ "login": "qbarthelemy", "id": 5346669, "node_id": "MDQ6VXNlcjUzNDY2Njk=", "avatar_url": "https://avatars.githubusercontent.com/u/5346669?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qbarthelemy", "html_url": "https://github.com/qbarthelemy", "followers_url": "https://api.github.com/users/qbarthelemy/followers", "following_url": "https://api.github.com/users/qbarthelemy/following{/other_user}", "gists_url": "https://api.github.com/users/qbarthelemy/gists{/gist_id}", "starred_url": "https://api.github.com/users/qbarthelemy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/qbarthelemy/subscriptions", "organizations_url": "https://api.github.com/users/qbarthelemy/orgs", "repos_url": "https://api.github.com/users/qbarthelemy/repos", "events_url": "https://api.github.com/users/qbarthelemy/events{/privacy}", "received_events_url": "https://api.github.com/users/qbarthelemy/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null }, { "id": 1815453311, "node_id": "MDU6TGFiZWwxODE1...
closed
false
[]
null
2
2026-01-14T20:49:42
2026-01-15T11:03:17
2026-01-15T11:03:16
null
CONTRIBUTOR
null
null
null
null
#### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. Current function that checks response values of an estimator (`_get_response_values` in `scikit-learn/sklearn/utils/_response.py`) assumes that if the estimator is not a classifier or an outlier detector, then it is a regressor. In the latter case, if it doesn't find the `predict` function, it raises an error stating that the estimator is a regressor: `ValueError: ... Got a regressor...`. However, the estimator might be something other than a regressor. For example, it can be a classification `Pipeline` with a MRO issue, see https://github.com/NeuroTechX/moabb/issues/815 Many other GitHub repositories have reported this ambiguous error: https://github.com/dreamquark-ai/tabnet/issues/584 https://github.com/rasbt/mlxtend/issues/1129 https://github.com/dmlc/xgboost/issues/11284 https://github.com/mljar/mljar-supervised/issues/640 https://github.com/csinva/imodels/issues/221 [etc](https://github.com/search?q=should+either+be+a+classifier+to+be+used+with+response_method%3D&type=issues&p=1) The goal of this pull-request is to correct the message by making it clearer, specifically by no longer assuming that it is a regressor. #### AI usage disclosure I did **not** use AI assistance. #### Any other comments?
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33084/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33084/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33084", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33084", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33084.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33084.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33083
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33083/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33083/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33083/events
https://github.com/scikit-learn/scikit-learn/pull/33083
3,813,923,297
PR_kwDOAAzd1s69Mauo
33,083
MNT rename l1_reg to alpha in enet_coordinate_descent_multi_task
{ "login": "lorentzenchr", "id": 15324633, "node_id": "MDQ6VXNlcjE1MzI0NjMz", "avatar_url": "https://avatars.githubusercontent.com/u/15324633?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lorentzenchr", "html_url": "https://github.com/lorentzenchr", "followers_url": "https://api.github.com/users/lorentzenchr/followers", "following_url": "https://api.github.com/users/lorentzenchr/following{/other_user}", "gists_url": "https://api.github.com/users/lorentzenchr/gists{/gist_id}", "starred_url": "https://api.github.com/users/lorentzenchr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lorentzenchr/subscriptions", "organizations_url": "https://api.github.com/users/lorentzenchr/orgs", "repos_url": "https://api.github.com/users/lorentzenchr/repos", "events_url": "https://api.github.com/users/lorentzenchr/events{/privacy}", "received_events_url": "https://api.github.com/users/lorentzenchr/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815444632, "node_id": "MDU6TGFiZWwxODE1NDQ0NjMy", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:linear_model", "name": "module:linear_model", "color": "151e91", "default": false, "description": "" }, { "id": 2659863795, "node_id": "MDU6...
closed
false
[]
null
0
2026-01-14T16:25:50
2026-01-15T08:37:17
2026-01-15T06:01:16
null
MEMBER
null
null
null
null
#### Reference Issues/PRs #### What does this implement/fix? Explain your changes. This PR aligns all the coordinate descent Cython implementations with regard to the naming of penalization strength, i.e. it reverts the renaming of 21706e36b977ee29eacfa45ada4410a67b41b86c: - l1_reg -> alpha - l2_reg -> beta
{ "login": "OmarManzoor", "id": 17495884, "node_id": "MDQ6VXNlcjE3NDk1ODg0", "avatar_url": "https://avatars.githubusercontent.com/u/17495884?v=4", "gravatar_id": "", "url": "https://api.github.com/users/OmarManzoor", "html_url": "https://github.com/OmarManzoor", "followers_url": "https://api.github.com/users/OmarManzoor/followers", "following_url": "https://api.github.com/users/OmarManzoor/following{/other_user}", "gists_url": "https://api.github.com/users/OmarManzoor/gists{/gist_id}", "starred_url": "https://api.github.com/users/OmarManzoor/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/OmarManzoor/subscriptions", "organizations_url": "https://api.github.com/users/OmarManzoor/orgs", "repos_url": "https://api.github.com/users/OmarManzoor/repos", "events_url": "https://api.github.com/users/OmarManzoor/events{/privacy}", "received_events_url": "https://api.github.com/users/OmarManzoor/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33083/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33083/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33083", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33083", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33083.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33083.patch", "merged_at": "2026-01-15T06:01:16" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33082
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33082/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33082/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33082/events
https://github.com/scikit-learn/scikit-learn/pull/33082
3,813,562,470
PR_kwDOAAzd1s69LNVj
33,082
OC clarify array input dtype in supervised clustering metrics
{ "login": "manshirahangdale", "id": 234329383, "node_id": "U_kgDODfeVJw", "avatar_url": "https://avatars.githubusercontent.com/u/234329383?v=4", "gravatar_id": "", "url": "https://api.github.com/users/manshirahangdale", "html_url": "https://github.com/manshirahangdale", "followers_url": "https://api.github.com/users/manshirahangdale/followers", "following_url": "https://api.github.com/users/manshirahangdale/following{/other_user}", "gists_url": "https://api.github.com/users/manshirahangdale/gists{/gist_id}", "starred_url": "https://api.github.com/users/manshirahangdale/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/manshirahangdale/subscriptions", "organizations_url": "https://api.github.com/users/manshirahangdale/orgs", "repos_url": "https://api.github.com/users/manshirahangdale/repos", "events_url": "https://api.github.com/users/manshirahangdale/events{/privacy}", "received_events_url": "https://api.github.com/users/manshirahangdale/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815445423, "node_id": "MDU6TGFiZWwxODE1NDQ1NDIz", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:metrics", "name": "module:metrics", "color": "151e91", "default": false, "description": "" }, { "id": 2399338178, "node_id": "MDU6TGFiZWwyMz...
closed
false
[]
null
0
2026-01-14T14:56:11
2026-01-14T22:06:23
2026-01-14T22:06:20
null
NONE
null
null
null
null
This PR clarifies the input array dtype specification in supervised clustering metrics documentation. The original text suggested that input arrays must be of integral dtype, but the implementation does not enforce this. This update aligns documentation with actual behavior. Fixes #32930
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33082/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33082/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33082", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33082", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33082.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33082.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33081
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33081/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33081/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33081/events
https://github.com/scikit-learn/scikit-learn/pull/33081
3,813,400,874
PR_kwDOAAzd1s69KqbQ
33,081
CI Fix the unit tests GHA on windows
{ "login": "FrancoisPgm", "id": 35327799, "node_id": "MDQ6VXNlcjM1MzI3Nzk5", "avatar_url": "https://avatars.githubusercontent.com/u/35327799?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FrancoisPgm", "html_url": "https://github.com/FrancoisPgm", "followers_url": "https://api.github.com/users/FrancoisPgm/followers", "following_url": "https://api.github.com/users/FrancoisPgm/following{/other_user}", "gists_url": "https://api.github.com/users/FrancoisPgm/gists{/gist_id}", "starred_url": "https://api.github.com/users/FrancoisPgm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/FrancoisPgm/subscriptions", "organizations_url": "https://api.github.com/users/FrancoisPgm/orgs", "repos_url": "https://api.github.com/users/FrancoisPgm/repos", "events_url": "https://api.github.com/users/FrancoisPgm/events{/privacy}", "received_events_url": "https://api.github.com/users/FrancoisPgm/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
1
2026-01-14T14:14:54
2026-01-30T13:30:44
2026-01-16T12:17:43
null
CONTRIBUTOR
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> Fixes #33075 #### What does this implement/fix? Explain your changes. Force the shell to be bash in the jobs to avoid windows using powershell and crashing the steps with bash commands. It worked on my fork : https://github.com/FrancoisPgm/scikit-learn/actions/runs/20996152861/job/60353454478 #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33081/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33081/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33081", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33081", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33081.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33081.patch", "merged_at": "2026-01-16T12:17:43" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33080
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33080/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33080/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33080/events
https://github.com/scikit-learn/scikit-learn/pull/33080
3,813,396,804
PR_kwDOAAzd1s69Kpje
33,080
TST Mark test_logreg_l1 as thread-unsafe
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815444632, "node_id": "MDU6TGFiZWwxODE1NDQ0NjMy", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:linear_model", "name": "module:linear_model", "color": "151e91", "default": false, "description": "" }, { "id": 2659863795, "node_id": "MDU6...
closed
false
[]
null
2
2026-01-14T14:13:58
2026-01-15T09:15:27
2026-01-15T09:07:51
null
MEMBER
null
null
null
null
I can reproduce the issue locally on `main` (almost all random seeds) ``` pytest --parallel-threads 4 --iterations 10 sklearn/linear_model/tests/test_logistic.py -k 'test_logreg_l1' -vs ``` My best guess is that liblinear has some thread-safe issue with random number generation, similarly to https://github.com/scikit-learn/scikit-learn/issues/31883. There are precedents in this test file of marking some tests as thread-unsafe for similar reasons with a link to the same issue, for example https://github.com/scikit-learn/scikit-learn/blob/0e729831aeb5574c806e87a74bcefd4e76ac6bdc/sklearn/linear_model/tests/test_logistic.py#L382-L385 For completeness, this only happens when using `pytest-run-parallel` i.e. `--parallel-threads`. cc @ogrisel.
{ "login": "ogrisel", "id": 89061, "node_id": "MDQ6VXNlcjg5MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ogrisel", "html_url": "https://github.com/ogrisel", "followers_url": "https://api.github.com/users/ogrisel/followers", "following_url": "https://api.github.com/users/ogrisel/following{/other_user}", "gists_url": "https://api.github.com/users/ogrisel/gists{/gist_id}", "starred_url": "https://api.github.com/users/ogrisel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ogrisel/subscriptions", "organizations_url": "https://api.github.com/users/ogrisel/orgs", "repos_url": "https://api.github.com/users/ogrisel/repos", "events_url": "https://api.github.com/users/ogrisel/events{/privacy}", "received_events_url": "https://api.github.com/users/ogrisel/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33080/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33080/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33080", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33080", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33080.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33080.patch", "merged_at": "2026-01-15T09:07:51" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33079
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33079/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33079/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33079/events
https://github.com/scikit-learn/scikit-learn/issues/33079
3,813,230,655
I_kwDOAAzd1s7jSUg_
33,079
`benchmarks/bench_multilabel_metrics.py` uses removed `jaccard_similarity_score`
{ "login": "PythonicVarun", "id": 178023385, "node_id": "U_kgDOCpxr2Q", "avatar_url": "https://avatars.githubusercontent.com/u/178023385?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PythonicVarun", "html_url": "https://github.com/PythonicVarun", "followers_url": "https://api.github.com/users/PythonicVarun/followers", "following_url": "https://api.github.com/users/PythonicVarun/following{/other_user}", "gists_url": "https://api.github.com/users/PythonicVarun/gists{/gist_id}", "starred_url": "https://api.github.com/users/PythonicVarun/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/PythonicVarun/subscriptions", "organizations_url": "https://api.github.com/users/PythonicVarun/orgs", "repos_url": "https://api.github.com/users/PythonicVarun/repos", "events_url": "https://api.github.com/users/PythonicVarun/events{/privacy}", "received_events_url": "https://api.github.com/users/PythonicVarun/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995755, "node_id": "MDU6TGFiZWwxMjk5NTc1NQ==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Bug", "name": "Bug", "color": "e10c02", "default": false, "description": null } ]
closed
false
[]
null
6
2026-01-14T13:30:50
2026-02-05T04:16:07
2026-02-05T04:16:07
null
CONTRIBUTOR
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
### Describe the bug I noticed that `benchmarks/bench_multilabel_metrics.py` is currently using `metrics.jaccard_similarity_score`. This function was deprecated and subsequently removed in **scikit-learn 0.23**. Consequently, this benchmark script fails to run on current versions of scikit-learn. ### Steps/Code to Reproduce Run the benchmark script: ```bash python benchmarks/bench_multilabel_metrics.py ``` ### Expected Results The script should run successfully, calculating performance metrics for the specified multilabel formats and printing the results table (and plots if requested). ### Actual Results The script crashes immediately upon import with an `ImportError` because the function no longer exists in `sklearn.metrics`. ``` Traceback (most recent call last): File "/workspaces/scikit-learn/benchmarks/bench_multilabel_metrics.py", line 17, in <module> from sklearn.metrics import ( ImportError: cannot import name 'jaccard_similarity_score' from 'sklearn.metrics' (/workspaces/scikit-learn/.venv/lib/python3.12/site-packages/sklearn/metrics/__init__.py) ``` ### Versions ```shell System: python: 3.12.1 (main, Nov 27 2025, 10:47:52) [GCC 13.3.0] executable: /usr/local/python/3.12.1/bin/python3 machine: Linux-6.8.0-1030-azure-x86_64-with-glibc2.39 Python dependencies: sklearn: 1.8.0 pip: 25.3 setuptools: 80.9.0 numpy: 2.4.1 scipy: 1.17.0 Cython: None pandas: None matplotlib: 3.10.8 joblib: 1.5.3 threadpoolctl: 3.6.0 Built with OpenMP: True threadpoolctl info: user_api: blas internal_api: openblas num_threads: 2 prefix: libscipy_openblas filepath: /workspaces/scikit-learn/.venv/lib/python3.12/site-packages/numpy.libs/libscipy_openblas64_-fdde5778.so version: 0.3.30 threading_layer: pthreads architecture: Haswell user_api: blas internal_api: openblas num_threads: 2 prefix: libscipy_openblas filepath: /workspaces/scikit-learn/.venv/lib/python3.12/site-packages/scipy.libs/libscipy_openblas-6cdc3b4a.so version: 0.3.30 threading_layer: pthreads architecture: Haswell user_api: openmp internal_api: openmp num_threads: 2 prefix: libgomp filepath: /workspaces/scikit-learn/.venv/lib/python3.12/site-packages/scikit_learn.libs/libgomp-e985bcbb.so.1.0.0 version: None ```
{ "login": "thomasjpfan", "id": 5402633, "node_id": "MDQ6VXNlcjU0MDI2MzM=", "avatar_url": "https://avatars.githubusercontent.com/u/5402633?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomasjpfan", "html_url": "https://github.com/thomasjpfan", "followers_url": "https://api.github.com/users/thomasjpfan/followers", "following_url": "https://api.github.com/users/thomasjpfan/following{/other_user}", "gists_url": "https://api.github.com/users/thomasjpfan/gists{/gist_id}", "starred_url": "https://api.github.com/users/thomasjpfan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thomasjpfan/subscriptions", "organizations_url": "https://api.github.com/users/thomasjpfan/orgs", "repos_url": "https://api.github.com/users/thomasjpfan/repos", "events_url": "https://api.github.com/users/thomasjpfan/events{/privacy}", "received_events_url": "https://api.github.com/users/thomasjpfan/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33079/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33079/timeline
null
completed
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33078
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33078/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33078/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33078/events
https://github.com/scikit-learn/scikit-learn/pull/33078
3,813,230,478
PR_kwDOAAzd1s69KFkZ
33,078
CI Port ubuntu_2204 test job from Azure to GHA
{ "login": "augustebaum", "id": 52001167, "node_id": "MDQ6VXNlcjUyMDAxMTY3", "avatar_url": "https://avatars.githubusercontent.com/u/52001167?v=4", "gravatar_id": "", "url": "https://api.github.com/users/augustebaum", "html_url": "https://github.com/augustebaum", "followers_url": "https://api.github.com/users/augustebaum/followers", "following_url": "https://api.github.com/users/augustebaum/following{/other_user}", "gists_url": "https://api.github.com/users/augustebaum/gists{/gist_id}", "starred_url": "https://api.github.com/users/augustebaum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/augustebaum/subscriptions", "organizations_url": "https://api.github.com/users/augustebaum/orgs", "repos_url": "https://api.github.com/users/augustebaum/repos", "events_url": "https://api.github.com/users/augustebaum/events{/privacy}", "received_events_url": "https://api.github.com/users/augustebaum/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
0
2026-01-14T13:30:46
2026-01-14T14:26:17
2026-01-14T14:26:17
null
CONTRIBUTOR
null
null
null
null
Addresses part of #32434
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33078/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33078/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33078", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33078", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33078.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33078.patch", "merged_at": "2026-01-14T14:26:17" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33077
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33077/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33077/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33077/events
https://github.com/scikit-learn/scikit-learn/pull/33077
3,813,011,142
PR_kwDOAAzd1s69JWEs
33,077
CI Run all Azure jobs in parallel
{ "login": "augustebaum", "id": 52001167, "node_id": "MDQ6VXNlcjUyMDAxMTY3", "avatar_url": "https://avatars.githubusercontent.com/u/52001167?v=4", "gravatar_id": "", "url": "https://api.github.com/users/augustebaum", "html_url": "https://github.com/augustebaum", "followers_url": "https://api.github.com/users/augustebaum/followers", "following_url": "https://api.github.com/users/augustebaum/following{/other_user}", "gists_url": "https://api.github.com/users/augustebaum/gists{/gist_id}", "starred_url": "https://api.github.com/users/augustebaum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/augustebaum/subscriptions", "organizations_url": "https://api.github.com/users/augustebaum/orgs", "repos_url": "https://api.github.com/users/augustebaum/repos", "events_url": "https://api.github.com/users/augustebaum/events{/privacy}", "received_events_url": "https://api.github.com/users/augustebaum/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
11
2026-01-14T12:30:36
2026-01-19T11:33:40
2026-01-14T13:23:18
null
CONTRIBUTOR
null
null
null
null
In preparation for https://github.com/scikit-learn/scikit-learn/issues/32434
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33077/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33077/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33077", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33077", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33077.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33077.patch", "merged_at": "2026-01-14T13:23:18" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33076
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33076/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33076/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33076/events
https://github.com/scikit-learn/scikit-learn/pull/33076
3,812,397,527
PR_kwDOAAzd1s69HP3p
33,076
Raise if fit and predict use different array API namespaces or devices (continued)
{ "login": "betatim", "id": 1448859, "node_id": "MDQ6VXNlcjE0NDg4NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/1448859?v=4", "gravatar_id": "", "url": "https://api.github.com/users/betatim", "html_url": "https://github.com/betatim", "followers_url": "https://api.github.com/users/betatim/followers", "following_url": "https://api.github.com/users/betatim/following{/other_user}", "gists_url": "https://api.github.com/users/betatim/gists{/gist_id}", "starred_url": "https://api.github.com/users/betatim/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/betatim/subscriptions", "organizations_url": "https://api.github.com/users/betatim/orgs", "repos_url": "https://api.github.com/users/betatim/repos", "events_url": "https://api.github.com/users/betatim/events{/privacy}", "received_events_url": "https://api.github.com/users/betatim/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815444632, "node_id": "MDU6TGFiZWwxODE1NDQ0NjMy", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:linear_model", "name": "module:linear_model", "color": "151e91", "default": false, "description": "" }, { "id": 1815453311, "node_id": "MDU6...
open
false
[]
null
1
2026-01-14T09:43:15
2026-02-25T17:29:20
null
null
MEMBER
null
null
null
null
#### Reference Issues/PRs Continuation of #29313 #### What does this implement/fix? Explain your changes. This PR adds `_array_api.check_same_namespace` to raise an error if the array namespace used during `fit` and `predict`/`transform` do not match, and `_array_api.convert_estimator` to move the array attributes of an estimator to the namespace and device of a reference array. Eventually we should put `convert_estimator` in a public part of the API, because users should use it. For now I think it is Ok to have it in `sklearn.utils._array_api` as things are still experimental. A change I've made compared to #29313 is that none of our library code turns on `sklearn.set_config(array_api_dispatch=True)` for its run ([original version in #29313](https://github.com/scikit-learn/scikit-learn/blob/f0fafc3f6cb12243b3db455ed6207679497beb0a/sklearn/utils/_array_api.py#L977-L986)). I think this makes sense because users should opt-in themselves. But it does open up the question of what exactly should happen if you use `convert_estimator` on an estimator without turning on array API support in scikit-learn. My thinking is there should be an exception to let people know they are doing something weird. ```python >>> from sklearn.linear_model import Ridge >>> import sklearn >>> import torch >>> from sklearn import datasets >>> sklearn.set_config(array_api_dispatch=True) >>> X, y = datasets.make_regression() >>> X_torch = torch.asarray(X, device='cpu') >>> y_torch = torch.asarray(y, device='cpu') >>> ridge = Ridge().fit(X_torch, y_torch) >>> type(ridge.predict(X_torch)) <class 'torch.Tensor'> >>> ridge.predict(X) Traceback (most recent call last): ... ValueError: Inputs passed to Ridge.predict() must use the same array library and the same device as those passed to fit(). Array namespaces used during fit (sklearn.externals.array_api_compat.torch) and predict (sklearn.externals.array_api_compat.numpy) differ. You can convert the estimator to the same library and device as X with: 'from sklearn.utils._array_api import convert_estimator; estimator = convert_estimator(estimator, X)' >>> from sklearn.utils._array_api import convert_estimator >>> ridge = convert_estimator(ridge, X) >>> type(ridge.predict(X)) <class 'numpy.ndarray'> >>> ridge = convert_estimator(ridge, X_torch) >>> type(ridge.predict(X_torch)) <class 'torch.Tensor'> ``` #### AI usage disclosure There were quite a few merge conflicts which Cursor managed to resolve and it managed to figure out how to change from the old "what's new" system to the new one once I explained that there is a README to read. I used AI assistance for: - [x] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33076/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33076/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33076", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33076", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33076.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33076.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33075
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33075/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33075/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33075/events
https://github.com/scikit-learn/scikit-learn/issues/33075
3,811,886,063
I_kwDOAAzd1s7jNMPv
33,075
CI Windows-specific issue in GHA scheduled unit test runs
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995755, "node_id": "MDU6TGFiZWwxMjk5NTc1NQ==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Bug", "name": "Bug", "color": "e10c02", "default": false, "description": null }, { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": ...
closed
false
[]
null
2
2026-01-14T07:10:39
2026-02-18T19:31:25
2026-01-16T12:17:44
null
MEMBER
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
Now that our Windows build has moved to GHA in https://github.com/scikit-learn/scikit-learn/pull/33062, apparently there are some Windows shenanigans to figure out, see [build log](https://github.com/scikit-learn/scikit-learn/actions/runs/20980980046/job/60305758154). Maybe it's only a matter of using `shell: bash` in both steps below to make sure to use bash? This may well be the case that the default shell is powershell on Windows. Two issues it seems (at least): - `echo "SKLEARN_TESTS_GLOBAL_RANDOM_SEED=$((RANDOM % 100))" >> $GITHUB_ENV` - `"$GITHUB_WORKFLOW Windows x64 pymin_conda_forge_openblas" \` cc @FrancoisPgm
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33075/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33075/timeline
null
completed
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33072
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33072/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33072/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33072/events
https://github.com/scikit-learn/scikit-learn/pull/33072
3,809,586,456
PR_kwDOAAzd1s68-B-9
33,072
DOC: warn about setting attributes in __init__ for estimators
{ "login": "arpanmukherjee38", "id": 178468911, "node_id": "U_kgDOCqM4Lw", "avatar_url": "https://avatars.githubusercontent.com/u/178468911?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arpanmukherjee38", "html_url": "https://github.com/arpanmukherjee38", "followers_url": "https://api.github.com/users/arpanmukherjee38/followers", "following_url": "https://api.github.com/users/arpanmukherjee38/following{/other_user}", "gists_url": "https://api.github.com/users/arpanmukherjee38/gists{/gist_id}", "starred_url": "https://api.github.com/users/arpanmukherjee38/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arpanmukherjee38/subscriptions", "organizations_url": "https://api.github.com/users/arpanmukherjee38/orgs", "repos_url": "https://api.github.com/users/arpanmukherjee38/repos", "events_url": "https://api.github.com/users/arpanmukherjee38/events{/privacy}", "received_events_url": "https://api.github.com/users/arpanmukherjee38/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null }, { "id": 2399338178, "node_id": "MDU6TGFiZWwyMzk5...
closed
false
[]
null
0
2026-01-13T16:19:02
2026-01-15T00:58:56
2026-01-15T00:58:56
null
CONTRIBUTOR
null
null
null
null
While experimenting with `check_estimator` as a third-party developer, I encountered a failure caused by setting a non-parameter attribute in `__init__`. This rule is easy to violate unintentionally and not very visible in the current developer documentation. This PR adds a short warning near the top of the estimator developer guide to make this requirement easier to discover. Related to #33003.
{ "login": "virchan", "id": 25701849, "node_id": "MDQ6VXNlcjI1NzAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/25701849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/virchan", "html_url": "https://github.com/virchan", "followers_url": "https://api.github.com/users/virchan/followers", "following_url": "https://api.github.com/users/virchan/following{/other_user}", "gists_url": "https://api.github.com/users/virchan/gists{/gist_id}", "starred_url": "https://api.github.com/users/virchan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/virchan/subscriptions", "organizations_url": "https://api.github.com/users/virchan/orgs", "repos_url": "https://api.github.com/users/virchan/repos", "events_url": "https://api.github.com/users/virchan/events{/privacy}", "received_events_url": "https://api.github.com/users/virchan/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33072/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33072/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33072", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33072", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33072.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33072.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33071
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33071/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33071/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33071/events
https://github.com/scikit-learn/scikit-learn/pull/33071
3,809,523,665
PR_kwDOAAzd1s689061
33,071
DOC Add warning about setting attributes in __init__
{ "login": "arpanmukherjee38", "id": 178468911, "node_id": "U_kgDOCqM4Lw", "avatar_url": "https://avatars.githubusercontent.com/u/178468911?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arpanmukherjee38", "html_url": "https://github.com/arpanmukherjee38", "followers_url": "https://api.github.com/users/arpanmukherjee38/followers", "following_url": "https://api.github.com/users/arpanmukherjee38/following{/other_user}", "gists_url": "https://api.github.com/users/arpanmukherjee38/gists{/gist_id}", "starred_url": "https://api.github.com/users/arpanmukherjee38/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arpanmukherjee38/subscriptions", "organizations_url": "https://api.github.com/users/arpanmukherjee38/orgs", "repos_url": "https://api.github.com/users/arpanmukherjee38/repos", "events_url": "https://api.github.com/users/arpanmukherjee38/events{/privacy}", "received_events_url": "https://api.github.com/users/arpanmukherjee38/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null } ]
closed
false
[]
null
0
2026-01-13T16:03:25
2026-01-13T16:05:39
2026-01-13T16:05:03
null
CONTRIBUTOR
null
null
null
null
Estimator should not set any attribute apart from parameters during init.
{ "login": "arpanmukherjee38", "id": 178468911, "node_id": "U_kgDOCqM4Lw", "avatar_url": "https://avatars.githubusercontent.com/u/178468911?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arpanmukherjee38", "html_url": "https://github.com/arpanmukherjee38", "followers_url": "https://api.github.com/users/arpanmukherjee38/followers", "following_url": "https://api.github.com/users/arpanmukherjee38/following{/other_user}", "gists_url": "https://api.github.com/users/arpanmukherjee38/gists{/gist_id}", "starred_url": "https://api.github.com/users/arpanmukherjee38/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arpanmukherjee38/subscriptions", "organizations_url": "https://api.github.com/users/arpanmukherjee38/orgs", "repos_url": "https://api.github.com/users/arpanmukherjee38/repos", "events_url": "https://api.github.com/users/arpanmukherjee38/events{/privacy}", "received_events_url": "https://api.github.com/users/arpanmukherjee38/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33071/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33071/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33071", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33071", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33071.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33071.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33070
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33070/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33070/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33070/events
https://github.com/scikit-learn/scikit-learn/pull/33070
3,809,512,160
PR_kwDOAAzd1s689ybh
33,070
TST Avoid segmentation fault with free-threaded and pytest-run-parallel
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815453311, "node_id": "MDU6TGFiZWwxODE1NDUzMzEx", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:utils", "name": "module:utils", "color": "151e91", "default": false, "description": "" }, { "id": 2659863795, "node_id": "MDU6TGFiZWwyNjU5OD...
closed
false
[]
null
3
2026-01-13T16:00:33
2026-03-03T10:46:31
2026-01-14T07:43:43
null
MEMBER
null
null
null
null
(As kind of expected) I can reliably reproduce the segfault with (every single time I tried actually): ``` pytest --parallel-threads 4 --iterations 10 sklearn/utils/tests/test_response.py -k test_response_values_output_shape_ -v ``` Using a `clone` fixes it. As we have seen before, the issue is that the parametrized estimators is shared between the pytest-run-parallel threads and you call `.fit` on it. cc @ogrisel <details><summary>Output of pytest command</summary> <p> ``` ================================================= test session starts ================================================= platform linux -- Python 3.14.0, pytest-9.0.1, pluggy-1.6.0 -- /home/lesteve/micromamba/envs/scikit-learn-dev/bin/python cachedir: .pytest_cache rootdir: /home/lesteve/dev/scikit-learn configfile: pyproject.toml plugins: xdist-3.8.0, cov-7.0.0, run-parallel-0.8.0 collected 51 items / 38 deselected / 13 selected Collected 51 items to run in parallel sklearn/utils/tests/test_response.py::test_response_values_output_shape_[estimator0-predict-binary-expected_shape0] PARALLEL PASSED [ 7%] sklearn/utils/tests/test_response.py::test_response_values_output_shape_[estimator1-predict_proba-binary-expected_shape1] PARALLEL PASSED [ 15%] sklearn/utils/tests/test_response.py::test_response_values_output_shape_[estimator2-decision_function-binary-expected_shape2] PARALLEL PASSED [ 23%] sklearn/utils/tests/test_response.py::test_response_values_output_shape_[estimator3-predict-multiclass-expected_shape3] PARALLEL PASSED [ 30%] sklearn/utils/tests/test_response.py::test_response_values_output_shape_[estimator4-predict_proba-multiclass-expected_shape4] PARALLEL PASSED [ 38%] sklearn/utils/tests/test_response.py::test_response_values_output_shape_[estimator5-decision_function-multiclass-expected_shape5] PARALLEL PASSED [ 46%] sklearn/utils/tests/test_response.py::test_response_values_output_shape_[estimator6-predict-multilabel-expected_shape6] PARALLEL FAILED [ 53%] sklearn/utils/tests/test_response.py::test_response_values_output_shape_[estimator7-predict_proba-multilabel-expected_shape7] PARALLEL FAILED [ 61%] sklearn/utils/tests/test_response.py::test_response_values_output_shape_[estimator8-decision_function-multilabel-expected_shape8] PARALLEL FAILED [ 69%] sklearn/utils/tests/test_response.py::test_response_values_output_shape_[estimator9-predict-binary-expected_shape9] PARALLEL FAILED [ 76%] sklearn/utils/tests/test_response.py::test_response_values_output_shape_[estimator10-predict-multiclass-expected_shape10] PARALLEL FAILED [ 84%] sklearn/utils/tests/test_response.py::test_response_values_output_shape_[estimator11-predict-binary-expected_shape11] Fatal Python error: Segmentation fault <Cannot show all threads while the GIL is disabled> Stack (most recent call first): File "/home/lesteve/dev/scikit-learn/sklearn/tree/_classes.py", line 534 in predict File "/home/lesteve/dev/scikit-learn/sklearn/utils/_response.py", line 244 in _get_response_values File "/home/lesteve/dev/scikit-learn/sklearn/utils/tests/test_response.py", line 446 in test_response_values_output_shape_ File "/home/lesteve/micromamba/envs/scikit-learn-dev/lib/python3.14t/site-packages/pytest_run_parallel/plugin.py", line 80 in closure File "/home/lesteve/micromamba/envs/scikit-learn-dev/lib/python3.14t/threading.py", line 1023 in run File "/home/lesteve/micromamba/envs/scikit-learn-dev/lib/python3.14t/threading.py", line 1081 in _bootstrap_inner File "/home/lesteve/micromamba/envs/scikit-learn-dev/lib/python3.14t/threading.py", line 1043 in _bootstrap Current thread's C stack trace (most recent call first): Binary file "python", at _Py_DumpStack+0x4a [0x5567efa97f6b] Binary file "python", at +0x16b5c3 [0x5567efaa25c3] Binary file "/usr/lib/libc.so.6", at +0x3e4d0 [0x7f203963e4d0] Binary file "/home/lesteve/dev/scikit-learn/build/cp314t/sklearn/tree/_tree.cpython-314t-x86_64-linux-gnu.so", at +0x2987b [0x7f1fc355387b] Binary file "/home/lesteve/dev/scikit-learn/build/cp314t/sklearn/tree/_tree.cpython-314t-x86_64-linux-gnu.so", at +0x3f095 [0x7f1fc3569095] Binary file "/home/lesteve/dev/scikit-learn/build/cp314t/sklearn/tree/_tree.cpython-314t-x86_64-linux-gnu.so", at +0x3f89c [0x7f1fc356989c] Binary file "/home/lesteve/dev/scikit-learn/build/cp314t/sklearn/tree/_tree.cpython-314t-x86_64-linux-gnu.so", at +0x400ff [0x7f1fc356a0ff] Binary file "python", at PyObject_Vectorcall+0x37 [0x5567efadc5d7] Binary file "python", at _PyEval_EvalFrameDefault+0x11dc [0x5567efaf1fec] Binary file "python", at +0x1b6e60 [0x5567efaede60] Binary file "python", at +0x2267d6 [0x5567efb5d7d6] Binary file "python", at +0x22eaca [0x5567efb65aca] Binary file "python", at +0x2fcd81 [0x5567efc33d81] Binary file "python", at _PyEval_EvalFrameDefault+0x3841 [0x5567efaf4651] Binary file "python", at +0x1b6e60 [0x5567efaede60] Binary file "python", at +0x2267d6 [0x5567efb5d7d6] Binary file "python", at +0x2fc4d9 [0x5567efc334d9] Binary file "python", at +0x2fc465 [0x5567efc33465] Binary file "/usr/lib/libc.so.6", at +0x9698b [0x7f203969698b] Binary file "/usr/lib/libc.so.6", at +0x11a9cc [0x7f203971a9cc] Extension modules: numpy._core._multiarray_umath, numpy.linalg._umath_linalg, sklearn.__check_build._check_build, cython.cimports.libc.math, _cyutility, scipy._cyutility, scipy._lib._ccallback_c, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._pcg64, numpy.random._generator, numpy.random._mt19937, numpy.random._philox, numpy.random._sfc64, numpy.random.mtrand, scipy.sparse._sparsetools, _csparsetools, scipy.sparse._csparsetools, psutil._psutil_linux, scipy.special._ufuncs_cxx, scipy.special._ellip_harm_2, scipy.special._special_ufuncs, scipy.special._gufuncs, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg.cython_lapack, scipy.linalg._cythonized_array_utils, scipy.linalg._solve_toeplitz, scipy.linalg._decomp_lu_cython, scipy.linalg._matfuncs_schur_sqrtm, scipy.linalg._matfuncs_expm, scipy.linalg._linalg_pythran, scipy.linalg.cython_blas, scipy.linalg._decomp_update, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, scipy.sparse.linalg._propack._spropack, scipy.sparse.linalg._propack._dpropack, scipy.sparse.linalg._propack._cpropack, scipy.sparse.linalg._propack._zpropack, scipy.spatial._ckdtree, scipy._lib.messagestream, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._hausdorff, scipy.spatial._distance_wrap, scipy.spatial.transform._rotation, scipy.spatial.transform._rigid_transform, scipy.optimize._group_columns, scipy.optimize._trlib._trlib, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._slsqplib, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy._lib._uarray._uarray, scipy.linalg._decomp_interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.optimize._direct, scipy.integrate._odepack, scipy.integrate._quadpack, scipy.integrate._vode, scipy.integrate._dop, scipy.integrate._lsoda, scipy.interpolate._fitpack, scipy.interpolate._dfitpack, scipy.interpolate._dierckx, scipy.interpolate._ppoly, scipy.interpolate._interpnd, scipy.interpolate._rbfinterp_pythran, scipy.interpolate._rgi_cython, scipy.special.cython_special, scipy.stats._stats, scipy.stats._biasedurn, scipy.stats._stats_pythran, scipy.stats._levy_stable.levyst, scipy.stats._ansari_swilk_statistics, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.stats._sobol, scipy.stats._qmc_cy, scipy.stats._rcont.rcont, scipy.stats._qmvnt_cy, scipy.ndimage._nd_image, scipy.ndimage._rank_filter_1d, _ni_label, scipy.ndimage._ni_label, pandas._libs.tslibs.ccalendar, pandas._libs.tslibs.np_datetime, pandas._libs.tslibs.dtypes, pandas._libs.tslibs.base, pandas._libs.tslibs.nattype, pandas._libs.tslibs.timezones, pandas._libs.tslibs.fields, pandas._libs.tslibs.timedeltas, pandas._libs.tslibs.tzconversion, pandas._libs.tslibs.timestamps, pandas._libs.properties, pandas._libs.tslibs.offsets, pandas._libs.tslibs.strptime, pandas._libs.tslibs.parsing, pandas._libs.tslibs.conversion, pandas._libs.tslibs.period, pandas._libs.tslibs.vectorized, pandas._libs.ops_dispatch, pandas._libs.missing, pandas._libs.hashtable, pandas._libs.algos, pandas._libs.interval, pandas._libs.lib, pandas._libs.ops, pandas._libs.hashing, pandas._libs.arrays, pandas._libs.tslib, pandas._libs.sparse, pandas._libs.internals, pandas._libs.indexing, pandas._libs.index, pandas._libs.writers, pandas._libs.join, pandas._libs.window.aggregations, pandas._libs.window.indexers, pandas._libs.reshape, pandas._libs.groupby, pandas._libs.json, pandas._libs.parsers, pandas._libs.testing, sklearn._cyutility, sklearn.utils._isfinite, sklearn.utils.sparsefuncs_fast, sklearn.utils.murmurhash, sklearn.utils._openmp_helpers, sklearn.preprocessing._csr_polynomial_expansion, sklearn.preprocessing._target_encoder_fast, scipy.io.matlab._mio_utils, scipy.io.matlab._streams, scipy.io.matlab._mio5_utils, sklearn.datasets._svmlight_format_fast, sklearn.utils._random, sklearn.utils._vector_sentinel, sklearn.feature_extraction._hashing_fast, PIL._imaging, kiwisolver._cext, sklearn.metrics.cluster._expected_mutual_info_fast, sklearn.metrics._dist_metrics, sklearn.metrics._pairwise_distances_reduction._datasets_pair, sklearn.utils._cython_blas, sklearn.metrics._pairwise_distances_reduction._base, sklearn.metrics._pairwise_distances_reduction._middle_term_computer, sklearn.utils._heap, sklearn.utils._sorting, sklearn.metrics._pairwise_distances_reduction._argkmin, sklearn.metrics._pairwise_distances_reduction._argkmin_classmode, sklearn.metrics._pairwise_distances_reduction._radius_neighbors, sklearn.metrics._pairwise_distances_reduction._radius_neighbors_classmode, sklearn.metrics._pairwise_fast, sklearn.neighbors._partition_nodes, sklearn.neighbors._ball_tree, sklearn.neighbors._kd_tree, sklearn.utils.arrayfuncs, sklearn.utils._seq_dataset, sklearn.linear_model._cd_fast, _loss, sklearn._loss._loss, sklearn.linear_model._sag_fast, sklearn.svm._liblinear, sklearn.svm._libsvm, sklearn.svm._libsvm_sparse, sklearn.utils._weight_vector, sklearn.linear_model._sgd_fast, sklearn.decomposition._online_lda_fast, sklearn.decomposition._cdnmf_fast, sklearn.tree._utils, sklearn.neighbors._quad_tree, sklearn.tree._tree, sklearn.tree._partitioner, sklearn.tree._splitter, sklearn.tree._criterion, sklearn.ensemble._gradient_boosting, sklearn.ensemble._hist_gradient_boosting.common, sklearn.ensemble._hist_gradient_boosting._gradient_boosting, sklearn.ensemble._hist_gradient_boosting._binning, sklearn.ensemble._hist_gradient_boosting._bitset, sklearn.ensemble._hist_gradient_boosting.histogram, sklearn.ensemble._hist_gradient_boosting._predictor, sklearn.ensemble._hist_gradient_boosting.splitting (total: 198) ``` </p> </details>
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33070/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33070/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33070", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33070", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33070.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33070.patch", "merged_at": "2026-01-14T07:43:43" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33069
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33069/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33069/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33069/events
https://github.com/scikit-learn/scikit-learn/pull/33069
3,809,094,362
PR_kwDOAAzd1s688Yy_
33,069
CI Add architecture to Windows test name
{ "login": "augustebaum", "id": 52001167, "node_id": "MDQ6VXNlcjUyMDAxMTY3", "avatar_url": "https://avatars.githubusercontent.com/u/52001167?v=4", "gravatar_id": "", "url": "https://api.github.com/users/augustebaum", "html_url": "https://github.com/augustebaum", "followers_url": "https://api.github.com/users/augustebaum/followers", "following_url": "https://api.github.com/users/augustebaum/following{/other_user}", "gists_url": "https://api.github.com/users/augustebaum/gists{/gist_id}", "starred_url": "https://api.github.com/users/augustebaum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/augustebaum/subscriptions", "organizations_url": "https://api.github.com/users/augustebaum/orgs", "repos_url": "https://api.github.com/users/augustebaum/repos", "events_url": "https://api.github.com/users/augustebaum/events{/privacy}", "received_events_url": "https://api.github.com/users/augustebaum/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
0
2026-01-13T14:24:17
2026-01-14T08:53:55
2026-01-13T15:06:07
null
CONTRIBUTOR
null
null
null
null
Part of https://github.com/scikit-learn/scikit-learn/issues/32434
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33069/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33069/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33069", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33069", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33069.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33069.patch", "merged_at": "2026-01-13T15:06:07" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33068
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33068/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33068/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33068/events
https://github.com/scikit-learn/scikit-learn/pull/33068
3,808,904,199
PR_kwDOAAzd1s687vMc
33,068
CI Port Linux min_dependencies test job from Azure to GHA
{ "login": "augustebaum", "id": 52001167, "node_id": "MDQ6VXNlcjUyMDAxMTY3", "avatar_url": "https://avatars.githubusercontent.com/u/52001167?v=4", "gravatar_id": "", "url": "https://api.github.com/users/augustebaum", "html_url": "https://github.com/augustebaum", "followers_url": "https://api.github.com/users/augustebaum/followers", "following_url": "https://api.github.com/users/augustebaum/following{/other_user}", "gists_url": "https://api.github.com/users/augustebaum/gists{/gist_id}", "starred_url": "https://api.github.com/users/augustebaum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/augustebaum/subscriptions", "organizations_url": "https://api.github.com/users/augustebaum/orgs", "repos_url": "https://api.github.com/users/augustebaum/repos", "events_url": "https://api.github.com/users/augustebaum/events{/privacy}", "received_events_url": "https://api.github.com/users/augustebaum/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
2
2026-01-13T13:40:58
2026-01-14T08:53:48
2026-01-13T15:50:59
null
CONTRIBUTOR
null
null
null
null
Addresses part of #32434
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33068/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33068/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33068", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33068", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33068.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33068.patch", "merged_at": "2026-01-13T15:50:59" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33067
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33067/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33067/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33067/events
https://github.com/scikit-learn/scikit-learn/pull/33067
3,808,875,238
PR_kwDOAAzd1s687o_D
33,067
PERF Cache `inspect.signature` in GPR kernels
{ "login": "sterliakov", "id": 50529348, "node_id": "MDQ6VXNlcjUwNTI5MzQ4", "avatar_url": "https://avatars.githubusercontent.com/u/50529348?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sterliakov", "html_url": "https://github.com/sterliakov", "followers_url": "https://api.github.com/users/sterliakov/followers", "following_url": "https://api.github.com/users/sterliakov/following{/other_user}", "gists_url": "https://api.github.com/users/sterliakov/gists{/gist_id}", "starred_url": "https://api.github.com/users/sterliakov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sterliakov/subscriptions", "organizations_url": "https://api.github.com/users/sterliakov/orgs", "repos_url": "https://api.github.com/users/sterliakov/repos", "events_url": "https://api.github.com/users/sterliakov/events{/privacy}", "received_events_url": "https://api.github.com/users/sterliakov/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 705180250, "node_id": "MDU6TGFiZWw3MDUxODAyNTA=", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Performance", "name": "Performance", "color": "d93f0b", "default": false, "description": null }, { "id": 1815443556, "node_id": "MDU6TGFiZWwxODE1NDQ...
open
false
[]
null
10
2026-01-13T13:32:44
2026-02-17T16:53:06
null
null
NONE
null
null
null
null
#### Reference Issues/PRs None #### What does this implement/fix? Explain your changes. `inspect.signature` is known to be very slow, it is not the best function for a hot path. It was identified as a performance bottleneck in our real workload. Since the method signature cannot change while maintaining method's identity, it becomes a perfect target for caching. Cache size of 32 should be sufficient to cover all currently existing kernels at once (and the memory footprint is about zero). #### AI usage disclosure I used AI assistance for: **never** - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? Initially I identified this with cProfile in our real workload, and then confirmed with a tiny benchmark: ```python from functools import lru_cache import sys import time import numpy as np from sklearn.gaussian_process import GaussianProcessRegressor, kernels cached_signature = lru_cache(maxsize=32)(kernels.signature) patched = False match sys.argv: case [_, 'patched']: # just monkeypatch it in sklearn kernels.signature = cached_signature patched = True # sample code from GPR docs: # https://scikit-learn.org/stable/auto_examples/gaussian_process/plot_gpr_noisy_targets.html x = np.linspace(start=0, stop=10, num=1000).reshape(-1, 1) y = np.squeeze(x * np.sin(x)) rng = np.random.RandomState(1) training_indices = rng.choice(np.arange(y.size), size=6, replace=False) x, y = x[training_indices], y[training_indices] kernel = 1 * kernels.RBF(length_scale=1.0, length_scale_bounds=(1e-2, 1e2)) timings = [] for _ in range(50): start = time.time() gpr = GaussianProcessRegressor(kernel=kernel, n_restarts_optimizer=10, random_state=42) gpr.fit(x, y) timings.append(time.time() - start) mean = np.mean(timings) * 1000 std = np.std(timings) * 1000 print(f"Pathed: {patched}, time: {mean:.0f} ms +- {std:.0f} ms per iteration") ``` Output: ```bash $ python b.py Pathed: False, time: 131 ms +- 13 ms per iteration $ python b.py patched Pathed: True, time: 102 ms +- 10 ms per iteration ```
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33067/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33067/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33067", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33067", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33067.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33067.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33066
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33066/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33066/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33066/events
https://github.com/scikit-learn/scikit-learn/pull/33066
3,808,728,713
PR_kwDOAAzd1s687JKn
33,066
Update AGENTS.md on selecting issues
{ "login": "AnneBeyer", "id": 12881170, "node_id": "MDQ6VXNlcjEyODgxMTcw", "avatar_url": "https://avatars.githubusercontent.com/u/12881170?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AnneBeyer", "html_url": "https://github.com/AnneBeyer", "followers_url": "https://api.github.com/users/AnneBeyer/followers", "following_url": "https://api.github.com/users/AnneBeyer/following{/other_user}", "gists_url": "https://api.github.com/users/AnneBeyer/gists{/gist_id}", "starred_url": "https://api.github.com/users/AnneBeyer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AnneBeyer/subscriptions", "organizations_url": "https://api.github.com/users/AnneBeyer/orgs", "repos_url": "https://api.github.com/users/AnneBeyer/repos", "events_url": "https://api.github.com/users/AnneBeyer/events{/privacy}", "received_events_url": "https://api.github.com/users/AnneBeyer/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[]
open
false
[]
null
12
2026-01-13T12:53:04
2026-02-03T10:40:53
null
null
CONTRIBUTOR
null
null
null
null
<!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> https://github.com/scikit-learn/scikit-learn/issues/31679#issuecomment-3713976683 #### What does this implement/fix? Explain your changes. First I added a section on how (not) to select issues. Then I asked `Claude Haiku 4.5` to reformulate the file so that AI agents will follow it. (It did generate the requested AI disclosure line at the end :partying_face: ) I playes around with it by asking all available Copilot models to suggest issues to work on or to create a solution for an issue that is currently labelled "Needs Triage". `GPT-5 mini` did not follow the instructions, and when asked why responded that the text was optimized for humans and that it should include model parsable instructions in the beginning, so I added its suggestions as well. I don't think there is a single way to address all agents, but it might help at least with some. If anyone want's to play around with it further, feel free. I exceeded my free quota for now. :sweat_smile: @betatim @StefanieSenger #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [x] Text generation and refinement #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33066/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33066/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33066", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33066", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33066.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33066.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33065
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33065/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33065/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33065/events
https://github.com/scikit-learn/scikit-learn/pull/33065
3,808,355,802
PR_kwDOAAzd1s6854P2
33,065
CI Port MacOS no_openmp test job from Azure to GHA
{ "login": "augustebaum", "id": 52001167, "node_id": "MDQ6VXNlcjUyMDAxMTY3", "avatar_url": "https://avatars.githubusercontent.com/u/52001167?v=4", "gravatar_id": "", "url": "https://api.github.com/users/augustebaum", "html_url": "https://github.com/augustebaum", "followers_url": "https://api.github.com/users/augustebaum/followers", "following_url": "https://api.github.com/users/augustebaum/following{/other_user}", "gists_url": "https://api.github.com/users/augustebaum/gists{/gist_id}", "starred_url": "https://api.github.com/users/augustebaum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/augustebaum/subscriptions", "organizations_url": "https://api.github.com/users/augustebaum/orgs", "repos_url": "https://api.github.com/users/augustebaum/repos", "events_url": "https://api.github.com/users/augustebaum/events{/privacy}", "received_events_url": "https://api.github.com/users/augustebaum/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
3
2026-01-13T11:08:45
2026-01-14T12:34:06
2026-01-14T12:07:18
null
CONTRIBUTOR
null
null
null
null
Addresses part of #32434
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33065/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33065/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33065", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33065", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33065.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33065.patch", "merged_at": "2026-01-14T12:07:18" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33064
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33064/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33064/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33064/events
https://github.com/scikit-learn/scikit-learn/pull/33064
3,808,309,083
PR_kwDOAAzd1s685uGd
33,064
CI Port Linux ubuntu_atlas test job from Azure to GHA
{ "login": "augustebaum", "id": 52001167, "node_id": "MDQ6VXNlcjUyMDAxMTY3", "avatar_url": "https://avatars.githubusercontent.com/u/52001167?v=4", "gravatar_id": "", "url": "https://api.github.com/users/augustebaum", "html_url": "https://github.com/augustebaum", "followers_url": "https://api.github.com/users/augustebaum/followers", "following_url": "https://api.github.com/users/augustebaum/following{/other_user}", "gists_url": "https://api.github.com/users/augustebaum/gists{/gist_id}", "starred_url": "https://api.github.com/users/augustebaum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/augustebaum/subscriptions", "organizations_url": "https://api.github.com/users/augustebaum/orgs", "repos_url": "https://api.github.com/users/augustebaum/repos", "events_url": "https://api.github.com/users/augustebaum/events{/privacy}", "received_events_url": "https://api.github.com/users/augustebaum/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
4
2026-01-13T10:55:57
2026-01-14T08:54:04
2026-01-13T14:54:41
null
CONTRIBUTOR
null
null
null
null
Addresses part of #32434
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33064/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33064/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33064", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33064", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33064.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33064.patch", "merged_at": "2026-01-13T14:54:41" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33063
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33063/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33063/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33063/events
https://github.com/scikit-learn/scikit-learn/pull/33063
3,808,268,210
PR_kwDOAAzd1s685l-E
33,063
CI Move debian-32 build from Azure to GHA
{ "login": "augustebaum", "id": 52001167, "node_id": "MDQ6VXNlcjUyMDAxMTY3", "avatar_url": "https://avatars.githubusercontent.com/u/52001167?v=4", "gravatar_id": "", "url": "https://api.github.com/users/augustebaum", "html_url": "https://github.com/augustebaum", "followers_url": "https://api.github.com/users/augustebaum/followers", "following_url": "https://api.github.com/users/augustebaum/following{/other_user}", "gists_url": "https://api.github.com/users/augustebaum/gists{/gist_id}", "starred_url": "https://api.github.com/users/augustebaum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/augustebaum/subscriptions", "organizations_url": "https://api.github.com/users/augustebaum/orgs", "repos_url": "https://api.github.com/users/augustebaum/repos", "events_url": "https://api.github.com/users/augustebaum/events{/privacy}", "received_events_url": "https://api.github.com/users/augustebaum/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
5
2026-01-13T10:45:29
2026-02-06T14:54:46
2026-02-06T09:49:51
null
CONTRIBUTOR
null
null
null
null
Addresses part of #32434 Ping @lesteve
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33063/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33063/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33063", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33063", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33063.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33063.patch", "merged_at": "2026-02-06T09:49:51" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33062
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33062/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33062/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33062/events
https://github.com/scikit-learn/scikit-learn/pull/33062
3,807,975,633
PR_kwDOAAzd1s684phT
33,062
CI Port windows test job from Azure to GHA
{ "login": "augustebaum", "id": 52001167, "node_id": "MDQ6VXNlcjUyMDAxMTY3", "avatar_url": "https://avatars.githubusercontent.com/u/52001167?v=4", "gravatar_id": "", "url": "https://api.github.com/users/augustebaum", "html_url": "https://github.com/augustebaum", "followers_url": "https://api.github.com/users/augustebaum/followers", "following_url": "https://api.github.com/users/augustebaum/following{/other_user}", "gists_url": "https://api.github.com/users/augustebaum/gists{/gist_id}", "starred_url": "https://api.github.com/users/augustebaum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/augustebaum/subscriptions", "organizations_url": "https://api.github.com/users/augustebaum/orgs", "repos_url": "https://api.github.com/users/augustebaum/repos", "events_url": "https://api.github.com/users/augustebaum/events{/privacy}", "received_events_url": "https://api.github.com/users/augustebaum/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 55523804, "node_id": "MDU6TGFiZWw1NTUyMzgwNA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Build%20/%20CI", "name": "Build / CI", "color": "eb6420", "default": false, "description": null } ]
closed
false
[]
null
1
2026-01-13T09:30:10
2026-01-13T13:35:16
2026-01-13T11:07:04
null
CONTRIBUTOR
null
null
null
null
Addresses part of https://github.com/scikit-learn/scikit-learn/issues/32434 Co-authored-by: @lesteve <loic.esteve@ymail.com>
{ "login": "lesteve", "id": 1680079, "node_id": "MDQ6VXNlcjE2ODAwNzk=", "avatar_url": "https://avatars.githubusercontent.com/u/1680079?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lesteve", "html_url": "https://github.com/lesteve", "followers_url": "https://api.github.com/users/lesteve/followers", "following_url": "https://api.github.com/users/lesteve/following{/other_user}", "gists_url": "https://api.github.com/users/lesteve/gists{/gist_id}", "starred_url": "https://api.github.com/users/lesteve/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lesteve/subscriptions", "organizations_url": "https://api.github.com/users/lesteve/orgs", "repos_url": "https://api.github.com/users/lesteve/repos", "events_url": "https://api.github.com/users/lesteve/events{/privacy}", "received_events_url": "https://api.github.com/users/lesteve/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33062/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33062/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33062", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33062", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33062.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33062.patch", "merged_at": "2026-01-13T11:07:04" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33061
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33061/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33061/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33061/events
https://github.com/scikit-learn/scikit-learn/pull/33061
3,807,315,380
PR_kwDOAAzd1s682duC
33,061
Enhanced readability and engagement of Examples section
{ "login": "DeeptiAgarwal16", "id": 115862867, "node_id": "U_kgDOBuftUw", "avatar_url": "https://avatars.githubusercontent.com/u/115862867?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DeeptiAgarwal16", "html_url": "https://github.com/DeeptiAgarwal16", "followers_url": "https://api.github.com/users/DeeptiAgarwal16/followers", "following_url": "https://api.github.com/users/DeeptiAgarwal16/following{/other_user}", "gists_url": "https://api.github.com/users/DeeptiAgarwal16/gists{/gist_id}", "starred_url": "https://api.github.com/users/DeeptiAgarwal16/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DeeptiAgarwal16/subscriptions", "organizations_url": "https://api.github.com/users/DeeptiAgarwal16/orgs", "repos_url": "https://api.github.com/users/DeeptiAgarwal16/repos", "events_url": "https://api.github.com/users/DeeptiAgarwal16/events{/privacy}", "received_events_url": "https://api.github.com/users/DeeptiAgarwal16/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 2399338178, "node_id": "MDU6TGFiZWwyMzk5MzM4MTc4", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/spam", "name": "spam", "color": "b60205", "default": false, "description": "spam PR and issues" } ]
closed
false
[]
null
0
2026-01-13T06:18:32
2026-01-13T10:04:32
2026-01-13T10:04:22
null
NONE
null
null
null
null
This PR improves the clarity and presentation of the Examples section by refining language, improving flow, and making the content more welcoming for new users while maintaining the existing documentation structure. <!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33061/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33061/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33061", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33061", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33061.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33061.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33060
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33060/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33060/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33060/events
https://github.com/scikit-learn/scikit-learn/pull/33060
3,805,690,862
PR_kwDOAAzd1s68xZHh
33,060
DOC: Fix typo "hyperparamters" in feature_extraction.rst
{ "login": "TejasAnalyst", "id": 254137677, "node_id": "U_kgDODyXVTQ", "avatar_url": "https://avatars.githubusercontent.com/u/254137677?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TejasAnalyst", "html_url": "https://github.com/TejasAnalyst", "followers_url": "https://api.github.com/users/TejasAnalyst/followers", "following_url": "https://api.github.com/users/TejasAnalyst/following{/other_user}", "gists_url": "https://api.github.com/users/TejasAnalyst/gists{/gist_id}", "starred_url": "https://api.github.com/users/TejasAnalyst/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TejasAnalyst/subscriptions", "organizations_url": "https://api.github.com/users/TejasAnalyst/orgs", "repos_url": "https://api.github.com/users/TejasAnalyst/repos", "events_url": "https://api.github.com/users/TejasAnalyst/events{/privacy}", "received_events_url": "https://api.github.com/users/TejasAnalyst/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995770, "node_id": "MDU6TGFiZWwxMjk5NTc3MA==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/Documentation", "name": "Documentation", "color": "0b02e1", "default": false, "description": null } ]
closed
false
[]
null
0
2026-01-12T19:29:52
2026-01-13T16:57:44
2026-01-13T10:20:01
null
CONTRIBUTOR
null
null
null
null
Corrected spelling from "hyperparamters" to "hyperparameters". <!-- ๐Ÿ™Œ Thanks for contributing a pull request! ๐Ÿ‘€ Please ensure you have taken a look at the contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/main/CONTRIBUTING.md โœ… In particular following the pull request checklist will increase the likelihood of having maintainers review your PR: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist ๐Ÿ“‹ If your PR is likely to affect users, you will need to add a changelog entry describing your PR changes, see: https://github.com/scikit-learn/scikit-learn/blob/main/doc/whats_new/upcoming_changes/README.md --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull requests you resolved, so that they will automatically be closed when your pull request is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests --> #### What does this implement/fix? Explain your changes. #### AI usage disclosure <!-- If AI tools were involved in creating this PR, please check all boxes that apply below and make sure that you adhere to our Automated Contributions Policy: https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy --> I used AI assistance for: - [ ] Code generation (e.g., when writing an implementation or fixing a bug) - [ ] Test/benchmark generation - [ ] Documentation (including examples) - [ ] Research and understanding #### Any other comments? <!-- Thank you for your patience. Changes to scikit-learn require careful attention, but with limited maintainer time, not every contribution can be reviewed quickly. For more information and tips on improving your pull request, see: https://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention. Thanks for contributing! -->
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33060/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33060/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33060", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33060", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33060.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33060.patch", "merged_at": "2026-01-13T10:20:01" }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33059
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33059/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33059/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33059/events
https://github.com/scikit-learn/scikit-learn/issues/33059
3,805,377,004
I_kwDOAAzd1s7i0XHs
33,059
Add built-in utilities for high-dimensional biological data preprocessing (gene expression, omics data)
{ "login": "mubashir1837", "id": 163585695, "node_id": "U_kgDOCcAenw", "avatar_url": "https://avatars.githubusercontent.com/u/163585695?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mubashir1837", "html_url": "https://github.com/mubashir1837", "followers_url": "https://api.github.com/users/mubashir1837/followers", "following_url": "https://api.github.com/users/mubashir1837/following{/other_user}", "gists_url": "https://api.github.com/users/mubashir1837/gists{/gist_id}", "starred_url": "https://api.github.com/users/mubashir1837/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mubashir1837/subscriptions", "organizations_url": "https://api.github.com/users/mubashir1837/orgs", "repos_url": "https://api.github.com/users/mubashir1837/repos", "events_url": "https://api.github.com/users/mubashir1837/events{/privacy}", "received_events_url": "https://api.github.com/users/mubashir1837/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 12995756, "node_id": "MDU6TGFiZWwxMjk5NTc1Ng==", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/New%20Feature", "name": "New Feature", "color": "02e10c", "default": false, "description": null }, { "id": 3631152487, "node_id": "LA_kwDOAAzd1s7Ybv1...
closed
false
[]
null
1
2026-01-12T17:58:58
2026-01-13T05:32:04
2026-01-13T05:32:04
null
NONE
null
null
{ "total": 0, "completed": 0, "percent_completed": 0 }
{ "blocked_by": 0, "total_blocked_by": 0, "blocking": 0, "total_blocking": 0 }
### Describe the workflow you want to enable Many users apply scikit-learn to biological datasets such as gene expression matrices, RNA-seq counts, proteomics, and metabolomics data. These datasets usually have: - Very high dimensionality (thousands of genes/features) - Strong sparsity or zero inflation - Batch effects and technical noise - Requirement for specific normalization and filtering steps Currently, users must rely on external libraries (scanpy, bioconductor, custom scripts) before they can use scikit-learn models. I want to enable a workflow where: - Raw biological feature matrices (e.g., genes ร— samples) can be directly processed. - Common bioinformatics preprocessing steps are available as sklearn-style transformers. - These transformers can be used inside Pipeline and GridSearchCV. This would make scikit-learn more accessible for bioinformatics and omics researchers. ### Describe your proposed solution Add a small submodule or set of transformers focused on high-dimensional biological - data, for example: **GeneFilter** - Remove genes with low variance, low counts, or low presence across samples. **LogNormalize** - Apply log(1 + x) or similar transformations common in RNA-seq and microarray analysis. **BatchEffectScaler** - Simple batch-aware scaling using provided batch labels. **ZeroInflationFilter** - Remove features dominated by zeros. All transformers should: - Follow sklearn API: fit, transform, fit_transform - Work with NumPy arrays and pandas DataFrames - Integrate with Pipeline ### Example usage: ```python from sklearn.pipeline import Pipeline from sklearn.preprocessing import StandardScaler from sklearn.bio import GeneFilter, LogNormalize pipe = Pipeline([ ("filter", GeneFilter(min_presence=0.1)), ("log", LogNormalize()), ("scale", StandardScaler()), ("model", LogisticRegression()) ]) ``` ### Describe alternatives you've considered, if relevant Currently, users rely on: - Scanpy / AnnData - Bioconductor (R ecosystem) - Custom preprocessing scripts However, these tools are not tightly integrated with scikit-learn Pipelines and cross-validation tools. Bridging this gap would reduce friction between bioinformatics preprocessing and machine learning modeling. ### Additional context Bioinformatics, genomics, and omics-based machine learning is a fast-growing field. Adding even basic biological-data-aware preprocessing tools would: - Attract more researchers from life sciences - Reduce dependency on external preprocessing stacks - Make scikit-learn more friendly for interdisciplinary research This proposal does not aim to replace specialized bioinformatics libraries, but to provide minimal, general-purpose utilities that cover common preprocessing needs before machine learning.
{ "login": "virchan", "id": 25701849, "node_id": "MDQ6VXNlcjI1NzAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/25701849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/virchan", "html_url": "https://github.com/virchan", "followers_url": "https://api.github.com/users/virchan/followers", "following_url": "https://api.github.com/users/virchan/following{/other_user}", "gists_url": "https://api.github.com/users/virchan/gists{/gist_id}", "starred_url": "https://api.github.com/users/virchan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/virchan/subscriptions", "organizations_url": "https://api.github.com/users/virchan/orgs", "repos_url": "https://api.github.com/users/virchan/repos", "events_url": "https://api.github.com/users/virchan/events{/privacy}", "received_events_url": "https://api.github.com/users/virchan/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33059/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33059/timeline
null
not_planned
null
null
null
false
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33058
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33058/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33058/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33058/events
https://github.com/scikit-learn/scikit-learn/pull/33058
3,805,040,886
PR_kwDOAAzd1s68vOTV
33,058
BUG Skip RANSAC iterations with non-finite score
{ "login": "shlok0603", "id": 181544490, "node_id": "U_kgDOCtImKg", "avatar_url": "https://avatars.githubusercontent.com/u/181544490?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shlok0603", "html_url": "https://github.com/shlok0603", "followers_url": "https://api.github.com/users/shlok0603/followers", "following_url": "https://api.github.com/users/shlok0603/following{/other_user}", "gists_url": "https://api.github.com/users/shlok0603/gists{/gist_id}", "starred_url": "https://api.github.com/users/shlok0603/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shlok0603/subscriptions", "organizations_url": "https://api.github.com/users/shlok0603/orgs", "repos_url": "https://api.github.com/users/shlok0603/repos", "events_url": "https://api.github.com/users/shlok0603/events{/privacy}", "received_events_url": "https://api.github.com/users/shlok0603/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815444632, "node_id": "MDU6TGFiZWwxODE1NDQ0NjMy", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:linear_model", "name": "module:linear_model", "color": "151e91", "default": false, "description": "" }, { "id": 2399338178, "node_id": "MDU6...
closed
false
[]
null
3
2026-01-12T16:21:55
2026-01-15T11:20:24
2026-01-15T11:20:16
null
NONE
null
null
null
null
Fixes an issue where RANSACRegressor does not properly skip iterations when estimator.score returns a non-finite value. This PR ensures such iterations are skipped without emitting warnings. Includes a regression test for GH-32908.
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33058/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33058/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33058", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33058", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33058.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33058.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33057
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33057/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33057/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33057/events
https://github.com/scikit-learn/scikit-learn/pull/33057
3,804,659,159
PR_kwDOAAzd1s68t9le
33,057
ENH add partial_fit method to NearestCentroid classifier
{ "login": "Othman-vram", "id": 202005322, "node_id": "U_kgDODApbSg", "avatar_url": "https://avatars.githubusercontent.com/u/202005322?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Othman-vram", "html_url": "https://github.com/Othman-vram", "followers_url": "https://api.github.com/users/Othman-vram/followers", "following_url": "https://api.github.com/users/Othman-vram/following{/other_user}", "gists_url": "https://api.github.com/users/Othman-vram/gists{/gist_id}", "starred_url": "https://api.github.com/users/Othman-vram/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Othman-vram/subscriptions", "organizations_url": "https://api.github.com/users/Othman-vram/orgs", "repos_url": "https://api.github.com/users/Othman-vram/repos", "events_url": "https://api.github.com/users/Othman-vram/events{/privacy}", "received_events_url": "https://api.github.com/users/Othman-vram/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815447666, "node_id": "MDU6TGFiZWwxODE1NDQ3NjY2", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:neighbors", "name": "module:neighbors", "color": "151e91", "default": false, "description": "" }, { "id": 9676567219, "node_id": "LA_kwDOAAz...
closed
false
[]
null
3
2026-01-12T14:50:21
2026-02-24T01:53:22
2026-02-24T01:53:22
null
NONE
null
null
null
null
**Fixes #12952** Added `partial_fit` to NearestCentroid so you can train it on data in batches. **What it does:** - You can now feed data to NearestCentroid bit by bit - Updates the class centers as new data comes in - Works like GaussianNB's partial_fit **What I changed:** - Added the partial_fit method - Keeps track of how many samples per class we've seen - Lets you add new classes later if they show up - Still works with sparse data
{ "login": "lucyleeow", "id": 23182829, "node_id": "MDQ6VXNlcjIzMTgyODI5", "avatar_url": "https://avatars.githubusercontent.com/u/23182829?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucyleeow", "html_url": "https://github.com/lucyleeow", "followers_url": "https://api.github.com/users/lucyleeow/followers", "following_url": "https://api.github.com/users/lucyleeow/following{/other_user}", "gists_url": "https://api.github.com/users/lucyleeow/gists{/gist_id}", "starred_url": "https://api.github.com/users/lucyleeow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lucyleeow/subscriptions", "organizations_url": "https://api.github.com/users/lucyleeow/orgs", "repos_url": "https://api.github.com/users/lucyleeow/repos", "events_url": "https://api.github.com/users/lucyleeow/events{/privacy}", "received_events_url": "https://api.github.com/users/lucyleeow/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33057/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33057/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33057", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33057", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33057.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33057.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33056
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33056/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33056/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33056/events
https://github.com/scikit-learn/scikit-learn/pull/33056
3,804,239,985
PR_kwDOAAzd1s68sjrk
33,056
doc: add integral dtype to supervised clustering metrics docstrings
{ "login": "Tushar9184", "id": 196015365, "node_id": "U_kgDOC671BQ", "avatar_url": "https://avatars.githubusercontent.com/u/196015365?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Tushar9184", "html_url": "https://github.com/Tushar9184", "followers_url": "https://api.github.com/users/Tushar9184/followers", "following_url": "https://api.github.com/users/Tushar9184/following{/other_user}", "gists_url": "https://api.github.com/users/Tushar9184/gists{/gist_id}", "starred_url": "https://api.github.com/users/Tushar9184/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Tushar9184/subscriptions", "organizations_url": "https://api.github.com/users/Tushar9184/orgs", "repos_url": "https://api.github.com/users/Tushar9184/repos", "events_url": "https://api.github.com/users/Tushar9184/events{/privacy}", "received_events_url": "https://api.github.com/users/Tushar9184/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[ { "id": 1815445423, "node_id": "MDU6TGFiZWwxODE1NDQ1NDIz", "url": "https://api.github.com/repos/scikit-learn/scikit-learn/labels/module:metrics", "name": "module:metrics", "color": "151e91", "default": false, "description": "" } ]
closed
false
[]
null
0
2026-01-12T13:03:50
2026-01-13T05:02:05
2026-01-13T05:02:05
null
NONE
null
null
null
null
Reference Issues/PRs Fixes #32930 What does this implement/fix? Explain your changes. This pull request standardizes the documentation for supervised clustering metrics in sklearn/metrics/cluster/_supervised.py. Changes made: Added dtype=integral to the labels_true and labels_pred parameters in the docstrings of all supervised clustering functions. This ensures that users are aware of the expected discrete/integer input types, maintaining consistency across the scikit-learn API. Functions updated:check_clusterings, contingency_matrix, pair_confusion_matrix, rand_score, adjusted_rand_score, homogeneity_completeness_v_measure, homogeneity_score, completeness_score, v_measure_score, mutual_info_score, adjusted_mutual_info_score, and normalized_mutual_info_score. AI usage disclosure I used AI assistance for: [ ] Code generation (e.g., when writing an implementation or fixing a bug) [ ] Test/benchmark generation [x] Documentation (Refining the language of the PR description) [x] Research and understanding (Analyzing the repository structure) Any other comments? This is my first contribution to scikit-learn. I have verified the changes and ensured only docstrings were modified.
{ "login": "virchan", "id": 25701849, "node_id": "MDQ6VXNlcjI1NzAxODQ5", "avatar_url": "https://avatars.githubusercontent.com/u/25701849?v=4", "gravatar_id": "", "url": "https://api.github.com/users/virchan", "html_url": "https://github.com/virchan", "followers_url": "https://api.github.com/users/virchan/followers", "following_url": "https://api.github.com/users/virchan/following{/other_user}", "gists_url": "https://api.github.com/users/virchan/gists{/gist_id}", "starred_url": "https://api.github.com/users/virchan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/virchan/subscriptions", "organizations_url": "https://api.github.com/users/virchan/orgs", "repos_url": "https://api.github.com/users/virchan/repos", "events_url": "https://api.github.com/users/virchan/events{/privacy}", "received_events_url": "https://api.github.com/users/virchan/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33056/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33056/timeline
null
null
null
false
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33056", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33056", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33056.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33056.patch", "merged_at": null }
true
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33055
https://api.github.com/repos/scikit-learn/scikit-learn
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33055/labels{/name}
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33055/comments
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33055/events
https://github.com/scikit-learn/scikit-learn/pull/33055
3,804,133,717
PR_kwDOAAzd1s68sMs3
33,055
BLD Add Android support
{ "login": "mhsmith", "id": 166954, "node_id": "MDQ6VXNlcjE2Njk1NA==", "avatar_url": "https://avatars.githubusercontent.com/u/166954?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mhsmith", "html_url": "https://github.com/mhsmith", "followers_url": "https://api.github.com/users/mhsmith/followers", "following_url": "https://api.github.com/users/mhsmith/following{/other_user}", "gists_url": "https://api.github.com/users/mhsmith/gists{/gist_id}", "starred_url": "https://api.github.com/users/mhsmith/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mhsmith/subscriptions", "organizations_url": "https://api.github.com/users/mhsmith/orgs", "repos_url": "https://api.github.com/users/mhsmith/repos", "events_url": "https://api.github.com/users/mhsmith/events{/privacy}", "received_events_url": "https://api.github.com/users/mhsmith/received_events", "type": "User", "user_view_type": "public", "site_admin": false }
[]
open
false
[]
null
1
2026-01-12T12:34:09
2026-01-12T12:42:37
null
null
NONE
null
null
null
null
I'm currently targeting the 1.7.X branch as part of a project I'm working on, but I'll rebase this PR on main once it's complete. * Requires https://github.com/pypa/cibuildwheel/pull/2695 * Requires https://github.com/mesonbuild/meson-python/pull/824 * Requires https://github.com/numpy/numpy/pull/30412 * Requires https://github.com/scipy/scipy/pull/24341
null
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/issues/33055/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/scikit-learn/scikit-learn/issues/33055/timeline
null
null
null
true
{ "url": "https://api.github.com/repos/scikit-learn/scikit-learn/pulls/33055", "html_url": "https://github.com/scikit-learn/scikit-learn/pull/33055", "diff_url": "https://github.com/scikit-learn/scikit-learn/pull/33055.diff", "patch_url": "https://github.com/scikit-learn/scikit-learn/pull/33055.patch", "merged_at": null }
true