xarray-contrib / datatree

WIP implementation of a tree-like hierarchical data structure for xarray.
https://xarray-datatree.readthedocs.io
Apache License 2.0
161 stars 43 forks source link

decision analysis in datatree? #331

Open vnijs opened 2 months ago

vnijs commented 2 months ago

Looks like an interesting package. I have been looking for a package in python that either (1) does decision analysis directly or (2) can be used as a tool for decision analysis. In R I have used data.tree as part of Radiant

The application I built on top of data.tree loads a yaml file that described the structure of the tree with choice nodes, chance nodes, probabilities, payoffs, costs, etc.. Give the structure of the tree, the best decision path is determined based on the expected value of each path. For more specific examples, see the documentation (incl. video) of using data.tree for decision analysis in Radiant see: https://radiant-rstats.github.io/docs/model/dtree.html

Question: Is something like this (already) possible with datatree?