-
- Downloads
SPARK-1791 - SVM implementation does not use threshold parameter
Summary: https://issues.apache.org/jira/browse/SPARK-1791 Simple fix, and backward compatible, since - anyone who set the threshold was getting completely wrong answers. - anyone who did not set the threshold had the default 0.0 value for the threshold anyway. Test Plan: Unit test added that is verified to fail under the old implementation, and pass under the new implementation. Reviewers: CC: Author: Andrew Tulloch <andrew@tullo.ch> Closes #725 from ajtulloch/SPARK-1791-SVM and squashes the following commits: 770f55d [Andrew Tulloch] SPARK-1791 - SVM implementation does not use threshold parameter
Showing
- mllib/src/main/scala/org/apache/spark/mllib/classification/SVM.scala 1 addition, 1 deletion...ain/scala/org/apache/spark/mllib/classification/SVM.scala
- mllib/src/test/scala/org/apache/spark/mllib/classification/SVMSuite.scala 37 additions, 0 deletions...cala/org/apache/spark/mllib/classification/SVMSuite.scala
Please register or sign in to comment