GitHub user jkbradley opened a pull request:

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

    [SPARK-20929][ML] LinearSVC should use its own threshold param

    ## What changes were proposed in this pull request?
    
    LinearSVC should use its own threshold param, rather than the shared one, 
since it applies to rawPrediction instead of probability.  This PR changes the 
param in the Scala, Python and R APIs.
    
    ## How was this patch tested?
    
    New unit test to make sure the threshold can be set to any Double value.

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

    $ git pull https://github.com/jkbradley/spark ml-2.2-linearsvc-cleanup

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

    https://github.com/apache/spark/pull/18151.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 #18151
    
----
commit 5a612c3d9b417f559275006e45dae40e72653f6d
Author: Joseph K. Bradley <[email protected]>
Date:   2017-05-31T00:39:43Z

    LinearSVC should use its own threshold param, rather than the shared one, 
since it applies to rawPrediction instead of probability

----


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