public class SVMModel extends GeneralizedLinearModel implements ClassificationModel, scala.Serializable
| Modifier and Type | Method and Description |
|---|---|
SVMModel |
clearThreshold()
:: Experimental ::
Clears the threshold so that
predict will output raw prediction scores. |
double |
intercept() |
SVMModel |
setThreshold(double threshold)
:: Experimental ::
Sets the threshold that separates positive predictions from negative predictions.
|
Vector |
weights() |
predict, predictequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpredict, predict, predictpublic Vector weights()
weights in class GeneralizedLinearModelpublic double intercept()
intercept in class GeneralizedLinearModelpublic SVMModel setThreshold(double threshold)
public SVMModel clearThreshold()
predict will output raw prediction scores.