Skip to content

Interventional samples gives inconsistent results. #1307

@PMK1991

Description

@PMK1991

@bloebp I am using interventional samples to estimate the effect of Intervention. When I run the below code, I do not get consitent results for any particular instance. This affects reproducibility. How do I make this reproducible for the same data?

from dowhy import gcm
causal_model = gcm.InvertibleStructuralCausalModel(G)
gcm.auto.assign_causal_mechanisms(causal_model, df_cvd,gcm.auto.AssignmentQuality.BETTER)
gcm.fit(causal_model, df_cvd)
cf_samples = gcm.interventional_samples(causal_model, intervention_dict, observed_data=X_high_risk_tp)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions