SparseMatrix#
- class pyspark.mllib.linalg.SparseMatrix(numRows, numCols, colPtrs, rowIndices, values, isTransposed=False)[source]#
- Sparse Matrix stored in CSC format. - Methods - asML()- Convert this matrix to the new mllib-local representation. - toArray()- Return an numpy.ndarray - toDense()- Methods Documentation