Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple constraints for the SCM #1046

Open
priamai opened this issue Oct 11, 2023 · 1 comment
Open

Simple constraints for the SCM #1046

priamai opened this issue Oct 11, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@priamai
Copy link

priamai commented Oct 11, 2023

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.

@priamai priamai added the enhancement New feature or request label Oct 11, 2023
@bloebp
Copy link
Member

bloebp commented Oct 11, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants