GitHub user dbtsai opened a pull request: https://github.com/apache/spark/pull/1410
[SPARK-2477][MLlib] Using appendBias for adding intercept in GeneralizedLinearAlgorithm Instead of using prependOne currently in GeneralizedLinearAlgorithm, we would like to use appendBias for 1) keeping the indices of original training set unchanged by adding the intercept into the last element of vector and 2) using the same public API for consistently adding intercept. You can merge this pull request into a Git repository by running: $ git pull https://github.com/AlpineNow/spark SPARK-2477_intercept_with_appendBias Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/1410.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 #1410 ---- commit 011432cd2f815aacd9b12e770e5c6ec16ea716aa Author: DB Tsai <dbt...@alpinenow.com> Date: 2014-07-14T22:04:01Z From Alpine Data Labs ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---