8000 TST Extend tests for `scipy.sparse/*array` in `sklearn/utils/tests/test_multiclass` by Charlie-XIAO · Pull Request #27274 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

TST Extend tests for scipy.sparse/*array in sklearn/utils/tests/test_multiclass #27274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 12, 2023

Conversation

Charlie-XIAO
Copy link
Contributor

Towards #27090.

@github-actions
Copy link
github-actions bot commented Sep 3, 2023

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 5f33e08. Link to the linter CI: here

Copy link
Contributor
@OmarManzoor OmarManzoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Charlie-XIAO. I think this one might require a change log entry because it is changing the code to support spare arrays.

@glemaitre glemaitre self-requested a review September 11, 2023 17:57
Copy link
Member
@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise, it looks good.

@Charlie-XIAO
Copy link
Contributor Author
Charlie-XIAO commented Sep 12, 2023

Thanks for the review @glemaitre, I think I have used [*l1, *l2] in all my other PRs. Seems that l1 + l2 is preferred, and I will make the changes ASAP. By the way, may I ask why this is preferred (maybe for readability)?

Update: Sorry this question seems to be a duplicate of #27262 (comment), please just ignore this.

@glemaitre
Copy link
Member

By the way, may I ask why this is preferred (maybe for readability)?

I answer here: #27262 (comment). But the unpacking is not fundamentally wrong.

Copy link
Member
@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Waiting for the CIs to turn green.

@glemaitre
Copy link
Member

@OmarManzoor This one should be good to go.

Copy link
Contributor
@OmarManzoor OmarManzoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @Charlie-XIAO

@OmarManzoor OmarManzoor merged commit 18a13f2 into scikit-learn:main Sep 12, 2023
@Charlie-XIAO Charlie-XIAO deleted the tst_sp_multiclass branch September 12, 2023 12:15
REDVM pushed a commit to REDVM/scikit-learn that referenced this pull request Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0