Computes forest in-sample honest weights for a morf.forest
object relative to the m-th class.
forest_weights_fitted_cpp(
leaf_IDs_train_list,
leaf_IDs_honest_list,
leaf_size_honest_list
)
List of size n.trees
, storing the leaf of each tree where training units fall into.
List of size n.trees
, storing the leaf of each tree where honest units fall into.
List of size n.trees
, storing the size of the leaves of each tree computed with honest units.