Predict from a greedy concentration-index forest
Arguments
- object
A fitted
ci_forestobject fromci_forest().- newdata
Optional data for prediction. If omitted, the training data stored in
objectare used.- type
Prediction type.
"response"returns averaged terminal-node summaries."node"returns terminal node ids for each tree.- OOB
Should predictions for training rows use only trees where the row was out-of-bag?
- FUN
Optional function with signature
function(y, w)used to summarize terminal nodes. By default, the weighted mean ofoutcome_nameis used.- ...
Currently ignored.