pyspark.mllib.linalg.
Matrices
Methods
Methods Documentation
dense
Create a DenseMatrix
fromML
Convert a matrix from the new mllib-local representation. This does NOT copy the data; it copies references.
mat – a pyspark.ml.linalg.Matrix
pyspark.ml.linalg.Matrix
a pyspark.mllib.linalg.Matrix
pyspark.mllib.linalg.Matrix
New in version 2.0.0.
sparse
Create a SparseMatrix