Simple constraints for the SCM
priamai opened this issue · comments
Hi there,
with reference to this:
https://www.pywhy.org/dowhy/v0.10.1/example_notebooks/gcm_draw_samples.html
how can we provide simple constraints to draw samples in specific use cases?
Examples of real applications:
a) sales are integers positive or zero numbers
b) revenue is float but positive or zero numbers
c) a satisfaction rating is an integer between 0 to 10
d) a bio marker is a continuous number between 0.0 to 1.0
Hope it makes sense.
Hey,
yes that definitely makes sense and it is currently not that straightforward to enforce these constraints beyond customizing the causal mechanisms. A similar discussion came up before here: #928
Definitely need to work on a way to simplify this.