SingularValueDecomposition¶
-
class
pyspark.mllib.linalg.distributed.SingularValueDecomposition(java_model)[source]¶ Represents singular value decomposition (SVD) factors.
New in version 2.2.0.
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, *a)¶ 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.
New in version 2.2.0.
-
V¶ Returns a DenseMatrix whose columns are the right singular vectors of the SingularValueDecomposition.
New in version 2.2.0.
-
s¶ Returns a DenseVector with singular values in descending order.
New in version 2.2.0.
-