Andrew Tulloch created SPARK-1791:
-------------------------------------
Summary: SVM implementation does not use threshold parameter
Key: SPARK-1791
URL: https://issues.apache.org/jira/browse/SPARK-1791
Project: Spark
Issue Type: New Feature
Components: MLlib
Reporter: Andrew Tulloch
The key error is in SVM.scala, in `predictPoint`
```
threshold match {
case Some(t) => if (margin < 0.0) 0.0 else 1.0
case None => margin
}
```
--
This message was sent by Atlassian JIRA
(v6.2#6252)
