GitHub user WeichenXu123 opened a pull request:
https://github.com/apache/spark/pull/17706
fix MLOR coeffs centering when reg == 0
## What changes were proposed in this pull request?
When reg == 0, MLOR has multiple solutions and we need to centralize the
coeffs to get identical result.
BUT current implementation centralize the `coefficientMatrix` by the global
coeffs means.
In fact the `coefficientMatrix` should be centralized on each feature index
itself.
## How was this patch tested?
N/A
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/WeichenXu123/spark mlor_center
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17706.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 #17706
----
commit 1d0fb873080e29b2da667e2be35172ff3be10194
Author: WeichenXu <[email protected]>
Date: 2017-04-21T02:21:44Z
init pr
----
---
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]