Skip to content

TST Extend tests for scipy.sparse.*array in sklearn/linear_model/tests/test_passive_aggressive.py - #27273

Merged
glemaitre merged 6 commits into
scikit-learn:mainfrom
yuanx749:sparse-test-passive-aggressive
Sep 11, 2023
Merged

glemaitre merged 6 commits into
scikit-learn:mainfrom
yuanx749:sparse-test-passive-aggressive

Conversation

@yuanx749

@yuanx749 yuanx749 commented Sep 3, 2023

Copy link
Copy Markdown
Contributor

Towards #27090.

The original test creates X_csr at the module level, so I keep it there. But if parametrization is preferred (to be consistent with other tests), I can revert to a previous commit which uses parametrize.

@github-actions

github-actions Bot commented Sep 3, 2023 •

Copy link
Copy Markdown

✔️ Linting Passed

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

Generated for commit: bc3c051. Link to the linter CI: here

@OmarManzoor OmarManzoor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the PR @yuanx749 . I think parametrization would be preferred for this series of PRs.

@yuanx749

yuanx749 commented Sep 7, 2023

Copy link
Copy Markdown
Contributor Author

OK, I applied parametrization. @OmarManzoor

@OmarManzoor OmarManzoor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thanks @yuanx749

@glemaitre
glemaitre self-requested a review September 11, 2023 17:58

@glemaitre glemaitre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Thanks @yuanx749

@glemaitre
glemaitre merged commit a0bdf60 into scikit-learn:main Sep 11, 2023
@yuanx749
yuanx749 deleted the sparse-test-passive-aggressive branch September 12, 2023 03:19
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