predict.MLPRegressor.RdSimilar to other predict methods, this function predicts fitted values from a fitted "MLPRegressor" object.
# S3 method for MLPRegressor predict(model, data, key, features = NULL)
| model |
|
|---|---|
| data |
|
| key |
|
| features |
|
S3 methods
DataFrame
ID, integer - ID column, with the same name
and type as data's ID column
TARGET, nvarchar - predicted class name.
VALUE, double - softmax value for
the predicted class.
Call the function and predict with a "MLPRegressor" object mplr:
> predict (mplr, data, key = "ID")