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