predict.ocf.forest {ocf} | R Documentation |
Prediction Method for ocf.forest Objects
Description
Prediction method for class ocf.forest
.
Usage
## S3 method for class 'ocf.forest'
predict(object, data, type = "response", ...)
Arguments
object |
An |
data |
Data set of class |
type |
Type of prediction. Either |
... |
Further arguments passed to or from other methods. |
Details
If type === "response"
(the default), the predicted conditional class probabilities are returned. If forests are
honest, these predictions are honest.
If type == "terminalNodes"
, the IDs of the terminal node in each tree for each observation in data
are returned.
Value
Prediction results.
Author(s)
Riccardo Di Francesco
See Also
[Package ocf version 1.0.0 Index]