forest_weights_fitted: Forest In-Sample Honest Weights

View source: R/weights.R

forest_weights_fittedR Documentation

Forest In-Sample Honest Weights

Description

Computes forest in-sample honest weights for an ocf.forest object.

Usage

forest_weights_fitted(forest, honest_sample, train_sample)

Arguments

forest

An ocf.forest object.

honest_sample

Honest sample.

train_sample

Training sample.

Details

forest must have been grown using only the training sample.

Value

Matrix of in-sample honest weights.


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