From 9717b963fcc86e7330da29a0f50b9d8db8a17114 Mon Sep 17 00:00:00 2001 From: yogabonito Date: Sat, 29 Jun 2024 18:21:06 +0200 Subject: [PATCH] docs: small fix in user guide Signed-off-by: yogabonito --- .../user_guide/modeling_gcm/estimating_confidence_intervals.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/user_guide/modeling_gcm/estimating_confidence_intervals.rst b/docs/source/user_guide/modeling_gcm/estimating_confidence_intervals.rst index 59072d9acc..0ba077b711 100644 --- a/docs/source/user_guide/modeling_gcm/estimating_confidence_intervals.rst +++ b/docs/source/user_guide/modeling_gcm/estimating_confidence_intervals.rst @@ -116,7 +116,7 @@ trained graph. To do this conveniently, the GCM package provides a function >>> data = pd.DataFrame(dict(X=X, Y=Y, Z=Z)) >>> >>> causal_model = gcm.StructuralCausalModel(nx.DiGraph([('Z', 'Y'), ('Z', 'X'), ('X', 'Y')])) ->>> gcm.auto.assign_causal_mechanisms(causal_model, data_old) +>>> gcm.auto.assign_causal_mechanisms(causal_model, data) we can now use ``fit_and_compute`` as follows: