GitHub user avulanov opened a pull request:

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

    [MLLIB] SPARK-5362 (4526, 2372) Gradient and Optimizer to support generic 
output (instead of label) and data batches

    Currently, Gradient and Optimizer interfaces support data in form of 
RDD[Double, Vector] which refers to label and features. This limits its 
application to classification problems. For example, artificial neural network 
demands Vector as output (instead of label: Double). Moreover, current 
interface does not support data batches. I propose to replace label: Double 
with output: Vector. It enables passing generic output instead of label and 
also passing data and output batches stored in corresponding vectors.

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

    $ git pull https://github.com/avulanov/spark batch-gradient

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

    https://github.com/apache/spark/pull/4152.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 #4152
    
----
commit 43c6fec8caa72a9d853284736fb81efe66a820cd
Author: Alexander Ulanov <[email protected]>
Date:   2015-01-22T00:44:12Z

    Vector instead of label in gradient and optimizer

----


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

Reply via email to