DenseMatrix¶
-
class
pyspark.ml.linalg.
DenseMatrix
(numRows, numCols, values, isTransposed=False)[source]¶ Column-major dense matrix.
Methods
toArray
()Return a
numpy.ndarray
toSparse
()Convert to SparseMatrix
Methods Documentation
pyspark.ml.linalg.
DenseMatrix
(numRows, numCols, values, isTransposed=False)[source]¶Column-major dense matrix.
Methods
|
Return a |
|
Convert to SparseMatrix |
Methods Documentation