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 ocf.forest object.

Usage

predict_forest_weights(forest, honest_sample, test_sample)

Arguments

forest

An ocf.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.


ocf documentation built on April 4, 2025, 4:44 a.m.