pyspark.mllib.linalg.
SparseMatrix
Sparse Matrix stored in CSC format.
Methods
asML()
asML
Convert this matrix to the new mllib-local representation.
toArray()
toArray
Return an numpy.ndarray
toDense()
toDense
Methods Documentation
Convert this matrix to the new mllib-local representation. This does NOT copy the data; it copies references.
New in version 2.0.0.
pyspark.ml.linalg.SparseMatrix