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() → int[source]

Get or compute the number of cols.

numRows() → int[source]

Get or compute the number of rows.