modAL icon indicating copy to clipboard operation
modAL copied to clipboard

Add a warning when using matrix instead of array

Open talolard opened this issue 4 years ago • 1 comments

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

talolard avatar Mar 31 '20 17:03 talolard

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.

cosmic-cortex avatar Apr 02 '20 06:04 cosmic-cortex