predict.PolynomialRegression {hana.ml.r} | R Documentation |
Similar to other predict methods, this function predicts fitted values from a fitted "PolynomialRegression" object.
## S3 method for class 'PolynomialRegression' predict(model, data, key, features = NULL, thread.ratio = NULL, model.format = NULL)
model |
|
data |
|
key |
|
features |
|
thread.ratio |
|
model.format |
|
Predicted values are returned as a DataFrame, structured as follows.
ID: with same name and type as data's ID column.
VALUE: type DOUBLE, representing predicted values.
## Not run: Predict with DataFrame predict.data and the "PolynomialRegression" Object pr: > predict(pr, predict.data, key = "ID") ID VALUE 0 1 6.157063 1 2 8.401269 2 3 15.668581 3 4 33.928501 ## End(Not run)