Skip to content

Commit 5bee405

Browse files
committed
Removed implicit argument order from some python scripts
1 parent b437622 commit 5bee405

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demo/debug/causal_inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
# Run BCF
6565
bcf_model = BCFModel()
66-
bcf_model.sample(X_train, Z_train, y_train, pi_train, X_test, Z_test, pi_test, num_gfr=10, num_mcmc=1000)
66+
bcf_model.sample(X_train = X_train, Z_train = Z_train, y_train = y_train, propensity_train = pi_train, X_test = X_test, Z_test = Z_test, propensity_test = pi_test, num_gfr=10, num_mcmc=1000)
6767

6868
# Inspect the MCMC (BART) samples
6969
forest_preds_y_mcmc = bcf_model.y_hat_test

demo/debug/multivariate_treatment_causal_inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@
4343

4444
# Run BCF
4545
bcf_model = BCFModel()
46-
bcf_model.sample(X_train, Z_train, y_train, pi_train, X_test, Z_test, pi_test, num_gfr=10, num_mcmc=100)
46+
bcf_model.sample(X_train = X_train, Z_train = Z_train, y_train = y_train, propensity_train = pi_train, X_test = X_test, Z_test = Z_test, propensity_test = pi_test, num_gfr=10, num_mcmc=100)

0 commit comments

Comments
 (0)