GitHub user mengxr opened a pull request:

    https://github.com/apache/spark/pull/236

    [SPARK-1327] GLM needs to check addIntercept for intercept and weights

    GLM needs to check addIntercept for intercept and weights. The current 
implementation always uses the first weight as intercept. Added a test for 
training without adding intercept.
    
    JIRA: https://spark-project.atlassian.net/browse/SPARK-1327

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mengxr/spark glm

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/236.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 #236
    
----
commit d7f629f902aab81cf3637f07f9eb9f7119d9230c
Author: Xiangrui Meng <[email protected]>
Date:   2014-03-26T06:05:35Z

    fix a bug in GLM when intercept is not used

----


---
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.
---

Reply via email to