get_weights_C: Get honest weights (C++)

View source: R/RcppExports.R

get_weights_CR Documentation

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


orf documentation built on July 24, 2022, 1:05 a.m.