@Deprecated public final class LinearRegressionModel extends Object implements IgniteModel<Vector,Double>, Exportable<LinearRegressionModel>, Serializable
| Constructor and Description |
|---|
LinearRegressionModel(Vector weights,
double intercept)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Deprecated.
|
double |
getIntercept()
Deprecated.
|
Vector |
getWeights()
Deprecated.
|
int |
hashCode()
Deprecated.
|
Double |
predict(Vector input)
Deprecated.
Make a prediction for the specified input arguments.
|
<P> void |
saveModel(Exporter<LinearRegressionModel,P> exporter,
P path)
Deprecated.
Save model by the given path.
|
String |
toString()
Deprecated.
|
String |
toString(boolean pretty)
Deprecated.
|
public LinearRegressionModel(Vector weights, double intercept)
public Vector getWeights()
public double getIntercept()
public Double predict(Vector input)
public <P> void saveModel(Exporter<LinearRegressionModel,P> exporter, P path)
saveModel in interface Exportable<LinearRegressionModel>exporter - Exporter.path - Path to saved model.public String toString(boolean pretty)
toString in interface IgniteModel<Vector,Double>pretty - Use pretty mode.
GridGain In-Memory Computing Platform : ver. 8.9.38 Release Date : September 22 2026