Package: policytree 1.2.4

policytree: Policy Learning via Doubly Robust Empirical Welfare Maximization over Trees

Learn optimal policies via doubly robust empirical welfare maximization over trees. Given doubly robust reward estimates, this package finds a rule-based treatment prescription policy, where the policy takes the form of a shallow decision tree that is globally (or close to) optimal.

Authors:Erik Sverdrup [aut, cre], Ayush Kanodia [aut], Zhengyuan Zhou [aut], Susan Athey [aut], Stefan Wager [aut]

policytree_1.2.4.tar.gz
policytree_1.2.4.zip(r-4.7)policytree_1.2.4.zip(r-4.6)policytree_1.2.4.zip(r-4.5)
policytree_1.2.4.tgz(r-4.6-x86_64)policytree_1.2.4.tgz(r-4.6-arm64)policytree_1.2.4.tgz(r-4.5-x86_64)policytree_1.2.4.tgz(r-4.5-arm64)
policytree_1.2.4.tar.gz(r-4.7-arm64)policytree_1.2.4.tar.gz(r-4.7-x86_64)policytree_1.2.4.tar.gz(r-4.6-arm64)policytree_1.2.4.tar.gz(r-4.6-x86_64)
policytree_1.2.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
policytree/json (API)

# Install 'policytree' in R:
install.packages('policytree', repos = c('https://anumbat.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/grf-labs/policytree/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

3.84 score 4 packages 119 scripts 4.9k downloads 7 exports 10 dependencies

Last updated from:c797df4523. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK144
linux-devel-x86_64OK145
source / vignettesOK223
linux-release-arm64OK169
linux-release-x86_64OK141
macos-release-arm64OK92
macos-release-x86_64OK225
macos-oldrel-arm64OK94
macos-oldrel-x86_64OK269
windows-develOK116
windows-releaseOK114
windows-oldrelOK139
wasm-releaseOK133

Exports:conditional_meansdouble_robust_scoresgen_data_eplgen_data_maplhybrid_policy_treemulti_causal_forestpolicy_tree

Dependencies:BHDiceKriginggrflatticelmtestMatrixRcppRcppEigensandwichzoo

Readme and manuals

Help Manual

Help pageTopics
Estimate mean rewards mu for each treatment aconditional_means conditional_means.causal_forest conditional_means.causal_survival_forest conditional_means.instrumental_forest conditional_means.multi_arm_causal_forest
Matrix Gamma of scores for each treatment adouble_robust_scores double_robust_scores.causal_forest double_robust_scores.causal_survival_forest double_robust_scores.instrumental_forest double_robust_scores.multi_arm_causal_forest
Example data generating process from Policy Learning With Observational Datagen_data_epl
Example data generating process from Offline Multi-Action Policy Learning: Generalization and Optimizationgen_data_mapl
Hybrid tree searchhybrid_policy_tree
(deprecated) One vs. all causal forest for multiple treatment effect estimationmulti_causal_forest
Plot a policy_tree tree object.plot.policy_tree
Fit a policy with exact tree searchpolicy_tree
Predict method for policy_treepredict.policy_tree
Print a policy_tree object.print.policy_tree