public interface Regression<T>
Modifier and Type | Method and Description |
---|---|
double |
predict(T x)
Predicts the dependent variable of an instance.
|
default double[] |
predict(T[] x)
Predicts the dependent variables of an array of instances.
|
double predict(T x)
x
- the instance.default double[] predict(T[] x)
x
- the instances.