predict.ocf.forest | R Documentation |
Prediction method for class ocf.forest
.
## S3 method for class 'ocf.forest'
predict(object, data, type = "response", ...)
object |
An |
data |
Data set of class |
type |
Type of prediction. Either |
... |
Further arguments passed to or from other methods. |
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.
Prediction results.
Riccardo Di Francesco
Di Francesco, R. (2025). Ordered Correlation Forest. Econometric Reviews, 1–17. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/07474938.2024.2429596")}.
ocf
, marginal_effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.