grf-labs/policytree

policy_tree crashes when depth=0

halflearned opened this issue ยท 0 comments

Minimal example:

library(policytree)
xs = matrix(runif(50), 10, 5)
gammahat = matrix(runif(30), 10, 3)
policy_tree(xs, gammahat, depth=0)   # ๐Ÿ’ฅ๐ŸŽ๏ธ

Version: master (Feb 24, 2020).