public interface DataFrameRegression
Modifier and Type | Method and Description |
---|---|
smile.data.formula.Formula |
formula()
Returns the formula associated with the model.
|
default double[] |
predict(smile.data.DataFrame data)
Predicts the dependent variables of a data frame.
|
double |
predict(smile.data.Tuple x)
Predicts the dependent variable of a tuple instance.
|
smile.data.type.StructType |
schema()
Returns the design matrix schema.
|
double predict(smile.data.Tuple x)
x
- a tuple instance.default double[] predict(smile.data.DataFrame data)
data
- the data frame.smile.data.formula.Formula formula()
smile.data.type.StructType schema()