Questions tagged [sparse-vector]
2 questions
0
votes
0 answers
How to create a regplot in Pyspark - tough time with sparse vector
I am using a Colab Notebook and doing a linear regression in Pyspark.
I completed the whole regression with no problems. However, we were asked to add a regression plot, and that's where I am stuck.
I had multiple features in my dataset which I…

Abraham Chandy
- 80
- 3
0
votes
1 answer
how to convert a matrix to BoW format?
I am trying to convert a matrix to the type that can be received by gensim. AuthorTopic Model, which means I should convert a matrix to a sparse vector. I have already tried several functions in gensim like gensim.matutils.full2sparse and…

Yu Fu
- 1