Matrices#
- class pyspark.mllib.linalg.Matrices[source]#
Methods
dense(numRows, numCols, values)Create a DenseMatrix
fromML(mat)Convert a matrix from the new mllib-local representation.
sparse(numRows, numCols, colPtrs, ...)Create a SparseMatrix
Methods Documentation