Revision 514a7e6f8a11801c0c1e040796816f154480e75e authored by Joseph K. Bradley on 20 June 2017, 06:04:17 UTC, committed by Joseph K. Bradley on 20 June 2017, 06:04:27 UTC
## 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.

Author: Joseph K. Bradley <joseph@databricks.com>

Closes #18151 from jkbradley/ml-2.2-linearsvc-cleanup.

(cherry picked from commit cc67bd573264c9046c4a034927ed8deb2a732110)
Signed-off-by: Joseph K. Bradley <joseph@databricks.com>
1 parent 8bf7f1e
History
File Mode Size
scala-2.10
scala-2.11
src
pom.xml -rw-r--r-- 6.4 KB

back to top