public class RidgeRegressionModel extends GeneralizedLinearModel implements RegressionModel, scala.Serializable
Constructor and Description |
---|
RidgeRegressionModel(Vector weights,
double intercept) |
Modifier and Type | Method and Description |
---|---|
double |
intercept() |
Vector |
weights() |
predict, predict
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
predict, predict, predict
public RidgeRegressionModel(Vector weights, double intercept)
public Vector weights()
weights
in class GeneralizedLinearModel
public double intercept()
intercept
in class GeneralizedLinearModel