DistributedMatrix

class pyspark.mllib.linalg.distributed.DistributedMatrix

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

Get or compute the number of cols.

numRows() → int

Get or compute the number of rows.