y0-causal-inference / y0

❓y0 (pronounced "why not?") is for causal inference in Python
https://y0.readthedocs.io
BSD 3-Clause "New" or "Revised" License
44 stars 10 forks source link

Promote transport nodes to first class objects #212

Open djinnome opened 8 months ago

djinnome commented 8 months ago

Currently in both surrogate outcomes and counterfactual transportability, the transport nodes are only identified by a string prefix T_. If this node was a subclass of Variable, then it would be possible to filter for them in a more generic and safe way.