Skip to content

Commit

Permalink
extend gate plr tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenKlaassen committed Nov 29, 2023
1 parent 062e879 commit 016c845
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doubleml/tests/test_plr.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def test_dml_plr_ols_manual_boot(dml_plr_ols_manual_fixture):


@pytest.mark.ci
def test_dml_plr_cate_gate():
def test_dml_plr_cate_gate(score, dml_procedure):
n = 9

# collect data
Expand All @@ -299,8 +299,8 @@ def test_dml_plr_cate_gate():
dml_plr_obj = dml.DoubleMLPLR(obj_dml_data,
ml_g, ml_m, ml_l,
n_folds=2,
score='IV-type',
dml_procedure='dml2')
score=score,
dml_procedure=dml_procedure)
dml_plr_obj.fit()
random_basis = pd.DataFrame(np.random.normal(0, 1, size=(n, 5)))
cate = dml_plr_obj.cate(random_basis)
Expand Down

0 comments on commit 016c845

Please sign in to comment.