[
https://issues.apache.org/jira/browse/SPARK-8563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Or updated SPARK-8563:
-----------------------------
Target Version/s: 1.0.3, 1.1.2, 1.2.3, 1.3.2, 1.4.1, 1.5.0 (was: 1.0.3,
1.1.2, 1.2.3, 1.3.2, 1.5.0, 1.4.2)
> 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.0.2, 1.1.1, 1.2.2, 1.3.1, 1.4.1
> Reporter: 19 Lee
> Assignee: 19 Lee
> Fix For: 1.0.3, 1.1.2, 1.2.3, 1.3.2, 1.4.1, 1.5.0
>
>
> 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/6953
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]