predict.rforest | R Documentation |
Compute predictions from an "rftree"
object.
## S3 method for class 'rforest' predict(object, newX, predict.all = FALSE, ...)
object |
An object of class |
newX |
Data frame or matrix of new feature values. |
predict.all |
Logical indicating whether or not to return predictions
for each individual tree. Default is |
... |
Additional optional arguments. (Currently ignored.) |
A vector of predictions. For binary outcomes coded as 0/1, the predictions represent Pr(Y = 1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.