forest_weights_fitted {ocf}R 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.


[Package ocf version 1.0.0 Index]