Skip to content

TST Extend tests for scipy.sparse.*array in sklearn/svm/tests/test_bounds.py#27121

Merged
ogrisel merged 4 commits intoscikit-learn:mainfrom
naman1608:skl_sprint
Aug 22, 2023
Merged

TST Extend tests for scipy.sparse.*array in sklearn/svm/tests/test_bounds.py#27121
ogrisel merged 4 commits intoscikit-learn:mainfrom
naman1608:skl_sprint

Conversation

@naman1608
Copy link
Copy Markdown
Contributor

@naman1608 naman1608 commented Aug 20, 2023

Towards: #27090.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 20, 2023

✔️ Linting Passed

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

Generated for commit: 9c7d46f. Link to the linter CI: here

Copy link
Copy Markdown
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 @naman1608. LGTM!

Copy link
Copy Markdown
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

I would rather avoid the csr_container=csr_array/X_label="dense" and csr_container=csr_matrix/X_label="dense" cases.

Instead you could update this test to drop X_label and parametrize X_container with CSR_CONTAINERS + [np.array].

@naman1608 naman1608 requested a review from ogrisel August 22, 2023 00:21
Copy link
Copy Markdown
Member

@ogrisel ogrisel 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!

@ogrisel ogrisel merged commit 768dbb0 into scikit-learn:main Aug 22, 2023
@naman1608 naman1608 deleted the skl_sprint branch August 22, 2023 15:23
akaashpatelmns pushed a commit to akaashp2000/scikit-learn that referenced this pull request Aug 25, 2023
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