Matrix¶
-
class
pyspark.mllib.linalg.Matrix(numRows, numCols, isTransposed=False)[source]¶ Methods
asML()Convert this matrix to the new mllib-local representation.
toArray()Returns its elements in a NumPy ndarray.
Methods Documentation
pyspark.mllib.linalg.Matrix(numRows, numCols, isTransposed=False)[source]¶Methods
|
Convert this matrix to the new mllib-local representation. |
|
Returns its elements in a NumPy ndarray. |
Methods Documentation