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