GitHub user freeman-lab opened a pull request:
https://github.com/apache/spark/pull/4306
[SPARK-4979][MLLIB] Streaming logisitic regression
This adds support for streaming logistic regression with stochastic
gradient descent, in the same manner as the existing implementation of
streaming linear regression. It is a relatively simple addition because most of
the work is already done by the abstract class `StreamingLinearAlgorithm` and
existing algorithms and models from MLlib.
The PR includes
- Streaming Logistic Regression algorithm
- Unit tests for accuracy, streaming convergence, and streaming prediction
- An example use
cc @mengxr @tdas
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/freeman-lab/spark
streaming-logisitic-regression
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/4306.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 #4306
----
commit 321cc66171a37722b0babb1b5dd49bf9c9bdae24
Author: freeman <[email protected]>
Date: 2015-02-02T08:39:32Z
Set private and protected within mllib
commit e78fe2894da216ab541c7069b3338ab3b0e14f1b
Author: freeman <[email protected]>
Date: 2015-02-02T08:39:46Z
Add streaming logistic regression example
commit 59d7ecb6a8e9eed4b459a4f910717299cb3b8bc1
Author: freeman <[email protected]>
Date: 2015-02-02T08:40:05Z
Add streaming logistic regression
commit d88f717463263c2a297627981201306f7ab3f94e
Author: freeman <[email protected]>
Date: 2015-02-02T08:43:25Z
Remove stray comment
----
---
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]