predict.adabag.prmdt {traineR} | R Documentation |
predict.adabag.prmdt
Description
Return prediction for a boosting
model.
Usage
## S3 method for class 'adabag.prmdt'
predict(object, newdata, type = "class", ...)
Arguments
object |
a |
newdata |
an optional data frame in which to look for variables with which to predict. |
type |
type of prediction 'prob' or 'class' (default). |
... |
additional arguments affecting the predictions produced. |
Value
a vector or matrix of predictions adabag model.
[Package traineR version 2.2.0 Index]