predict_forest_weights {ocf} | R Documentation |
Computes forest out-of-sample honest weights for an ocf.forest
object.
predict_forest_weights(forest, honest_sample, test_sample)
forest |
An |
honest_sample |
Honest sample. |
test_sample |
Test sample. |
forest
must have been grown using only the training sample.
Matrix of out-of-sample honest weights.