You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by rakeshchalasani <gi...@git.apache.org> on 2015/04/16 05:59:46 UTC

[GitHub] spark pull request: Add dropout regularization to logistic regress...

GitHub user rakeshchalasani opened a pull request:

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

    Add dropout regularization to logistic regression.

    Right now implemented only for logistic regression wit SGD. 
    
    If everything is ok, I can add the same for LR with LBGFS as well.

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

    $ git pull https://github.com/rakeshchalasani/spark dropout

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

    https://github.com/apache/spark/pull/5539.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 #5539
    
----
commit 16b76681808d0c84f3c63e83709c7440a1565f8d
Author: rakeshchalasani <vn...@gmail.com>
Date:   2015-04-16T03:46:02Z

    [SPARK-6867][MLlib] Add dropout regularization to logistic regression with SGD.
    
    Check JIRA https://issues.apache.org/jira/browse/SPARK-6867 for details.
    
    Author: Rakesh Chalasani <vn...@gmail.com>
    
    Add gradient with dropout and logistic regression with dropout regularization
    
    Add LR dropout to examples

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6867][MLlib] Add dropout regularization...

Posted by rakeshchalasani <gi...@git.apache.org>.
Github user rakeshchalasani commented on the pull request:

    https://github.com/apache/spark/pull/5539#issuecomment-93807247
  
    @jkbradley Thanks for looking into the PR. 
    
    Sounds good. With so much discussion going on over introducing neural nets, I was not sure myself about this. I will make this into a package and see if I can run some experiments on it (i am on a tight schedule, might take sometime for that), though in most of the experiments I ran LR usual performs better with dropout than without.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [GitHub] spark pull request: Add dropout regularization to logistic regress...

Posted by Debasish Das <de...@gmail.com>.
If there is L1 from DB's OWLQN development, why do we need dropout
regularization ?

On Wed, Apr 15, 2015 at 8:59 PM, rakeshchalasani <gi...@git.apache.org> wrote:

> GitHub user rakeshchalasani opened a pull request:
>
>     https://github.com/apache/spark/pull/5539
>
>     Add dropout regularization to logistic regression.
>
>     Right now implemented only for logistic regression wit SGD.
>
>     If everything is ok, I can add the same for LR with LBGFS as well.
>
> You can merge this pull request into a Git repository by running:
>
>     $ git pull https://github.com/rakeshchalasani/spark dropout
>
> Alternatively you can review and apply these changes as the patch at:
>
>     https://github.com/apache/spark/pull/5539.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 #5539
>
> ----
> commit 16b76681808d0c84f3c63e83709c7440a1565f8d
> Author: rakeshchalasani <vn...@gmail.com>
> Date:   2015-04-16T03:46:02Z
>
>     [SPARK-6867][MLlib] Add dropout regularization to logistic regression
> with SGD.
>
>     Check JIRA https://issues.apache.org/jira/browse/SPARK-6867 for
> details.
>
>     Author: Rakesh Chalasani <vn...@gmail.com>
>
>     Add gradient with dropout and logistic regression with dropout
> regularization
>
>     Add LR dropout to examples
>
> ----
>
>
> ---
> 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 infrastructure@apache.org or file a JIRA ticket
> with INFRA.
> ---
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
> For additional commands, e-mail: reviews-help@spark.apache.org
>
>

[GitHub] spark pull request: [SPARK-6867][MLlib] Add dropout regularization...

Posted by rakeshchalasani <gi...@git.apache.org>.
Github user rakeshchalasani closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6867][MLlib] Add dropout regularization...

Posted by jkbradley <gi...@git.apache.org>.
Github user jkbradley commented on the pull request:

    https://github.com/apache/spark/pull/5539#issuecomment-93791077
  
    @rakeshchalasani Dropout regularization has been widely used for deep learning, but it is still pretty experimental for other types of models.  Because of that, I think it's unlikely that this PR will be accepted for now.  There are also quite a few changes being planned for the optimization framework, so this will likely conflict with those and be delayed.  (I don't want to waste your time.)
    
    However, there may well be Spark users who would like to try your code, so I'd recommend proceeding as follows:
    * Make a package users can download on [http://spark-packages.org/]
    * Meanwhile, if you can, run some experiments on a cluster to see how much & in what situations dropout improves speed and/or accuracy.
    * If the experiments prove successful, then we could discuss more about porting your code into Spark itself once the optimization framework changes are complete.
    
    Does that sound good?  If so, can you please close the PR?  Once you turn this into a package, I'd recommend posting the link on the JIRA to help others find it.  Thanks very much!


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6867][MLlib] Add dropout regularization...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/5539#issuecomment-93633304
  
    Can one of the admins verify this patch?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org