GitHub user JeremyNixon opened a pull request:

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

    [SPARK-11834][ML] Ignore Thresholds in LogisticRegression

    ## What changes were proposed in this pull request?
    Ignore the setThresholds call in ML's LogisticRegression. It currently 
clears any user defined threshold, but it should be disabled until multi-class 
Logistic Regression is added.
    
    
    ## How was this patch tested?
    I have built and run setThresholds() with the classes LogisticRegression 
and LogisticRegressionModel, both return the appropriate warning messages.
    
    ![screen shot 2016-04-14 at 11 39 33 
am](https://cloud.githubusercontent.com/assets/4738024/14539574/d274c9c0-0235-11e6-943c-d4a40d1c06af.png)
    
    


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

    $ git pull https://github.com/JeremyNixon/spark thresholds

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

    https://github.com/apache/spark/pull/12400.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 #12400
    
----
commit fc3687f043a75dea6a4aa64e93c703282d2a526c
Author: JeremyNixon <[email protected]>
Date:   2016-04-14T18:34:09Z

    ignore setThresholds()

----


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