You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Type Error thrown for Isomap Embedding when calling fit with scipy.sparse.csr.csr_matrix #7426
Yea, changing the check_array in the _fit_transform method to include accept_sparse="csr" allows the example above to run successfully. With this change the fit_transform method results in the expected (1000, 2) ndarray.
On 15 September 2016 at 10:09, Garrett Hoffman [email protected]
wrote:
Yea, changing the check_array in the _fit_transform method to include
accept_sparse="csr" allows the example above to run successfully. With
this change the fit_transform method results in the expected (1000, 8)
ndarray.
On 15 September 2016 at 10:10, Joel Nothman [email protected] wrote:
A PR including a test are very welcome.
On 15 September 2016 at 10:09, Garrett Hoffman [email protected]
wrote:
Yea, changing the check_array in the _fit_transform method to include
accept_sparse="csr" allows the example above to run successfully. With
this change the fit_transform method results in the expected (1000, 8)
ndarray.
Activity
amueller commentedon Sep 14, 2016
I'm not sure if it's an issue in the input validation or the docstring. Can you try to change the
check_arrayinIsomap.fittoaccept_sparse="csr"?jnothman commentedon Sep 14, 2016
At a glance it looks like it should support sparse and it's a problem with
the use of check_array.
On 15 September 2016 at 09:04, Andreas Mueller [email protected]
wrote:
garretthoffman commentedon Sep 15, 2016
Yea, changing the
check_arrayin the_fit_transformmethod to includeaccept_sparse="csr"allows the example above to run successfully. With this change thefit_transformmethod results in the expected (1000, 2) ndarray.jnothman commentedon Sep 15, 2016
A PR including a test are very welcome.
On 15 September 2016 at 10:09, Garrett Hoffman [email protected]
wrote:
jnothman commentedon Sep 15, 2016
*is
On 15 September 2016 at 10:10, Joel Nothman [email protected] wrote:
garretthoffman commentedon Sep 15, 2016
no problem, I can handle that
amueller commentedon Oct 13, 2016
@garretthoffman have you looked into this?
garretthoffman commentedon Oct 13, 2016
I have the test code with the fix but got caught up in a bunch of stuff at work and Pushed the fix yet. I can get to this this weekend.
amueller commentedon Oct 14, 2016
much appreciated @garretthoffman and no rush :)
dalmia commentedon Nov 9, 2016
Hi @garretthoffman, are you still working on this?
garretthoffman commentedon Nov 9, 2016
Yes - things have gotten busy again but I will actually be able to get to this this weekend.
TomDLT commentedon Sep 18, 2019
Fixed in #10482