GitHub user srowen opened a pull request:
https://github.com/apache/spark/pull/12779
[SPARK-14533] [MLLIB] RowMatrix.computeCovariance inaccurate when values
are very large (partial fix)
## What changes were proposed in this pull request?
Fix for part of SPARK-14533: trivial simplification and more accurate
computation of column means. See also
https://github.com/apache/spark/pull/12299 which contained a complete fix that
was very slow. This PR does _not_ resolve SPARK-14533 entirely.
## How was this patch tested?
Existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/srowen/spark SPARK-14533.2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12779.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #12779
----
commit b154d4e0c33e70e35ff6ca996dd879bf3f2e36ea
Author: Sean Owen <[email protected]>
Date: 2016-04-29T15:06:16Z
Fix for part of SPARK-14533: trivial simplification and more accurate
computation of column means
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]