SingularValueDecomposition¶
- 
class 
pyspark.mllib.linalg.distributed.SingularValueDecomposition(java_model: py4j.java_gateway.JavaObject)¶ Represents singular value decomposition (SVD) factors.
Methods
call(name, *a)Call method of java_model
Attributes
Returns a distributed matrix whose columns are the left singular vectors of the SingularValueDecomposition if computeU was set to be True.
Returns a DenseMatrix whose columns are the right singular vectors of the SingularValueDecomposition.
Returns a DenseVector with singular values in descending order.
Methods Documentation
- 
call(name: str, *a: Any) → Any¶ Call method of java_model
Attributes Documentation
- 
U¶ Returns a distributed matrix whose columns are the left singular vectors of the SingularValueDecomposition if computeU was set to be True.
- 
V¶ Returns a DenseMatrix whose columns are the right singular vectors of the SingularValueDecomposition.
- 
s¶ Returns a DenseVector with singular values in descending order.
-