[ 
https://issues.apache.org/jira/browse/SPARK-8563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14597641#comment-14597641
 ] 

Apache Spark commented on SPARK-8563:
-------------------------------------

User 'lee19' has created a pull request for this issue:
https://github.com/apache/spark/pull/6953

> Bug that IndexedRowMatrix.computeSVD() yields the U with wrong numCols
> ----------------------------------------------------------------------
>
>                 Key: SPARK-8563
>                 URL: https://issues.apache.org/jira/browse/SPARK-8563
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib
>    Affects Versions: 1.3.1
>            Reporter: 19 Lee
>
> IndexedRowMatrix.computeSVD() yields a wrong U which *U.numCols() = 
> self.nCols*.
> It should have been *U.numCols() = k = svd.U.numCols()*
> {code}
> self = U * sigma * V.transpose
> (m x n) = (m x n) * (k x k) * (k x n)
> -->
> (m x n) = (m x k) * (k x k) * (k x n)
> {code}
> Proposed fix: https://github.com/apache/spark/pull/6949



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to