Apply hierarchical shrinkage to a ranger object. Hierarchical shrinkage is a regularization technique that recursively shrinks node predictions towards parent node predictions. For details see Agarwal et al. (2022).
Arguments
- rf
ranger object, created with
node.stats = TRUE
.- lambda
Non-negative shrinkage parameter.