predict_forest_weights: Forest Out-of-Sample Weights
Description
Computes forest out-of-sample honest weights for an morf.forest
object.
Usage
predict_forest_weights(forest, honest_sample, test_sample)
Value
Matrix of out-of-sample honest weights.
Arguments
- forest
An morf.forest
object.
- honest_sample
Honest sample.
- test_sample
Test sample.
Details
forest
must have been grown using only the training sample.