DistributedMatrix#

class pyspark.mllib.linalg.distributed.DistributedMatrix[source]#

Represents a distributively stored matrix backed by one or more RDDs.

Methods

numCols()

Get or compute the number of cols.

numRows()

Get or compute the number of rows.

Methods Documentation

numCols()[source]#

Get or compute the number of cols.

numRows()[source]#

Get or compute the number of rows.