Learn R Programming

⚠️There's a newer version (1.2.3) of this package.Take me there.

policytree (version 1.1.1)

Policy Learning via Doubly Robust Empirical Welfare Maximization over Trees

Description

Learn optimal policies via doubly robust empirical welfare maximization over trees. This package implements the multi-action doubly robust approach of Zhou, Athey and Wager (2018) in the case where we want to learn policies that belong to the class of depth k decision trees.

Copy Link

Version

Install

install.packages('policytree')

Monthly Downloads

549

Version

1.1.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Erik Sverdrup

Last Published

July 7th, 2021

Functions in policytree (1.1.1)

predict.policy_tree

Predict method for policy_tree
print.policy_tree

Print a policy_tree object.
gen_data_mapl

Example data generating process from Offline Multi-Action Policy Learning: Generalization and Optimization
gen_data_epl

Example data generating process from Policy Learning With Observational Data
plot.policy_tree

Plot a policy_tree tree object.
multi_causal_forest

(deprecated) One vs. all causal forest for multiple treatment effect estimation
double_robust_scores.causal_forest

Matrix \(\Gamma\) of scores for each treatment \(a\)
export_graphviz

Export a tree in DOT format. This function generates a GraphViz representation of the tree, which is then written into dot_string.
conditional_means.causal_forest

Estimate mean rewards \(\mu\) for each treatment \(a\)
create_dot_body

Writes each node information If it is a leaf node: show it in different color, show number of samples, show leaf id If it is a non-leaf node: show its splitting variable and splitting value
policy_tree

Fit a policy with exact tree search
policytree-package

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