Skip to content
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

Add a warning when using matrix instead of array #79

Open
talolard opened this issue Mar 31, 2020 · 1 comment
Open

Add a warning when using matrix instead of array #79

talolard opened this issue Mar 31, 2020 · 1 comment

Comments

@talolard
Copy link

@talolard talolard commented Mar 31, 2020

I just spent a few hours debugging this.
I tried to play with this using a tfidf vectorizer which returns a sparse matrix. That didn't work with cryptic errors. I eventually tried todense but that didn't help.

After a long time, I thought, maybe toarray and that solved it. No idea why

@cosmic-cortex
Copy link
Member

@cosmic-cortex cosmic-cortex commented Apr 2, 2020

Hi!

Can you give a code snippet with the error log? I am not exactly sure what you refer to, but I would be happy to take a closer look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.