predict_forest_weights: Forest Out-of-Sample Weights

View source: R/weights.R

predict_forest_weightsR Documentation

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)

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.

Value

Matrix of out-of-sample honest weights.


morf documentation built on March 31, 2023, 8:14 p.m.