-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementNew feature or requestNew feature or request
Description
All the theory references for policytree are for adaptive trees, but some users may want to construct "honest" trees by fitting in one sample, then repopulating with the argmax in a new sample, like tree.new <- repopulate_leaves(tree.old. X, Y)
. This is fairly straight forward to implement in R (predict region with type="node.id"
, select argmax, then replace action ids in the internal tree data structure stored in the R object. We would not take pruning into account here though).
Leaving as an issue for now, awaiting feedback on potential interest, as @halflearned already has a separate Python solution working for his use case.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
[-]Add `repopulation_leaves` functionality[/-][+]Add `repopulate_leaves` functionality[/+]