-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
TST Extend tests for scipy.sparse.*array
in sklearn/tests/test_multioutput.py
#27171
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
TST Extend tests for scipy.sparse.*array
in sklearn/tests/test_multioutput.py
#27171
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
And thanks, your code helped me in fixing some error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @naman1608
There is actually a bug in SciPy: /usr/share/miniconda/envs/testvenv/lib/python3.11/site-packages/scipy/sparse/_base.py:251: in __iter__
yield self[r, :]
r = 0
self = <50x100 sparse array of type '<class 'numpy.float64'>'
with 5000 stored elements in Dictionary Of Keys format>
/usr/share/miniconda/envs/testvenv/lib/python3.11/site-packages/scipy/sparse/_index.py:53: in __getitem__
self._raise_on_1d_array_slice()
col = slice(None, None, None)
key = (0, slice(None, None, None))
row = 0
self = <50x100 sparse array of type '<class 'numpy.float64'>'
with 5000 stored elements in Dictionary Of Keys format> We should absolutely trigger the CI with |
@glemaitre do you have a link to the full traceback? |
Reference Issues/PRs
Towards #27090.
What does this implement/fix? Explain your changes.
Any other comments?