Skip to content

Limit the range of parameter values or define input value distributions ? #928

Answered by bloebp
bernddude asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
if you mean to limit the range of the output of the models, then unfortunately not. In this case, you would need to define a custom model (see for example https://www.pywhy.org/dowhy/v0.9.1/user_guide/gcm_based_inference/customizing_model_assignment.html). However, one thing to keep in mind: If you use an additive noise model (ANM), then it has the form Y = f(X) + N, where the f would be your gcm.ml model. Without additionally constraints on the causal mechanism or the N, it could still happen that you, e.g., get a negative value, even if f doesn't produce any (because N can be negative). In this case, you would need the define a customized ConditionalStochasticModel. The ConditionalS…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@bernddude
Comment options

@bernddude
Comment options

@bloebp
Comment options

@bernddude
Comment options

@bloebp
Comment options

Answer selected by bernddude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants