predict_forest_weights | R Documentation |
predict forest weights, i.e. out-of-sample weights based on honest or train sample produced by the random forest algorithm as defined in Wager & Athey (2018)
predict_forest_weights(forest, data, pred_data)
forest |
estimated forest object of type ranger |
data |
train (honest) dataframe |
pred_data |
prediction dataframe |
matrix of honest forest weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.