You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Andrew Tulloch (JIRA)" <ji...@apache.org> on 2014/05/11 01:27:14 UTC
[jira] [Created] (SPARK-1791) SVM implementation does not use
threshold parameter
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)