predict.ada.prmdt | R Documentation |
Return prediction for a ada
model.
## S3 method for class 'ada.prmdt'
predict(object, newdata, type = "class", n.iter = NULL, ...)
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). |
n.iter |
number of iterations to consider for the prediction. By default this is iter from the ada call (n.iter< iter). |
... |
additional arguments affecting the predictions produced. |
a vector or matrix of predictions for ada model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.