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