public class LassoModel extends GeneralizedLinearModel implements RegressionModel, scala.Serializable
Constructor and Description |
---|
LassoModel(Vector weights,
double intercept) |
Modifier and Type | Method and Description |
---|---|
double |
intercept() |
Vector |
weights() |
predict, predict, toString
predict, predict, predict
public LassoModel(Vector weights, double intercept)
public Vector weights()
weights
in class GeneralizedLinearModel
public double intercept()
intercept
in class GeneralizedLinearModel