The reason behind this error can be inferred from the error log:
*MLUtils.convertMatrixColumnsFromML *was used to convert ml.linalg.Matrix
to mllib.linalg.Matrix,
but it looks like the column type is ml.linalg.Vector in your case.
Could you check the type of column "features" in your dataframe
I am trying to run a SVD on a dataframe and I have used ml TF-IDF which has
created a dataframe.
Now for Singular Value Decomposition I am trying to use RowMatrix which
takes in RDD with mllib.Vector so I have to convert this Dataframe with what
I assumed was ml.Vector
However the conversion
val
I am trying to run a SVD on a dataframe and I have used ml TF-IDF which
has created a dataframe.
Now for Singular Value Decomposition I am trying to use RowMatrix which
takes in RDD with mllib.Vector so I have to convert this Dataframe with
what I assumed was ml.Vector
However the conversion