Skip to content

TST Extend tests for scipy.sparse/*array in sklearn/tree/tests/test_tree - #27261

Merged
OmarManzoor merged 13 commits into
scikit-learn:mainfrom
Charlie-XIAO:tst_sp_tree
Sep 13, 2023
Merged

OmarManzoor merged 13 commits into
scikit-learn:mainfrom
Charlie-XIAO:tst_sp_tree

Conversation

@Charlie-XIAO

Copy link
Copy Markdown
Contributor

Towards #27090.

@github-actions

github-actions Bot commented Sep 1, 2023 •

Copy link
Copy Markdown

✔️ Linting Passed

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

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

Comment thread sklearn/tree/tests/test_tree.py Resolved
Comment thread sklearn/tree/tests/test_tree.py Resolved
Comment thread sklearn/tree/tests/test_tree.py Resolved
Comment thread sklearn/tree/tests/test_tree.py Resolved
@glemaitre

Copy link
Copy Markdown
Member

Otherwise, it looks good. Thanks for the refactoring as well. I think this is nice to avoid the two level functions.

@Charlie-XIAO

Copy link
Copy Markdown
Contributor Author

Trying to resolve CI now...

@glemaitre
glemaitre self-requested a review September 12, 2023 16:43
Comment thread sklearn/tree/tests/test_tree.py Resolved

@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.

Nice. The CIs are passing now. Thanks @Charlie-XIAO. LGTM

@glemaitre

Copy link
Copy Markdown
Member

This one is also ready @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.

Thanks @Charlie-XIAO. Just some minor comments otherwise LGTM.

Comment thread sklearn/tree/tests/test_tree.py Resolved
Comment thread sklearn/tree/tests/test_tree.py Resolved
Comment thread sklearn/tree/tests/test_tree.py Resolved
Comment thread sklearn/tree/tests/test_tree.py Resolved
@Charlie-XIAO

Copy link
Copy Markdown
Contributor Author

Done @OmarManzoor, I double checked the unpacking stuff but completed missed this PR, thanks for pointing out!

@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 @Charlie-XIAO

@OmarManzoor
OmarManzoor merged commit 1fe5350 into scikit-learn:main Sep 13, 2023
@Charlie-XIAO
Charlie-XIAO deleted the tst_sp_tree branch September 14, 2023 03:56
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