Skip to content

Commit

Permalink
revert pred index to tree/forest_ite_pred
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandrmgservices committed Nov 28, 2023
1 parent c86d0c6 commit 9040882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_causal_trees.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_fit(self, generate_regression_data):
treatment_col="is_treated",
treatment_effect_col="treatment_effect",
)
assert df_qini["pred"] > df_qini["Random"]
assert df_qini["ctree_ite_pred"] > df_qini["Random"]

@pytest.mark.parametrize("return_ci", (False, True))
@pytest.mark.parametrize("bootstrap_size", (500, 800))
Expand Down Expand Up @@ -165,7 +165,7 @@ def test_fit(self, generate_regression_data, n_estimators):
treatment_col="is_treated",
treatment_effect_col="treatment_effect",
)
assert df_qini["pred"] > df_qini["Random"]
assert df_qini["crforest_ite_pred"] > df_qini["Random"]

@pytest.mark.parametrize("n_estimators", (5,))
def test_predict(self, generate_regression_data, n_estimators):
Expand Down

0 comments on commit 9040882

Please sign in to comment.