Learn R Programming

orf (version 0.1.4)

get_weights_C: Get honest weights (C++)

Description

Computes honest weights from the random forest as in Wager & Athey (2019) for the train and honest sample based on the honest training sample

Usage

get_weights_C(x, y, z)

Arguments

x

leaf_IDs_train - list of leaf IDs in train data

y

leaf_IDs - list of leaf IDs in honest data

z

leaf_size - list of leaf sizes in honest data