Skip to content

Commit

Permalink
Update src/med_bench/estimation/base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bthirion authored Dec 19, 2024
1 parent b22d50f commit dce928d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/med_bench/estimation/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ def _estimate_treatment_propensity_xm(self, m, x):
"""
xm = np.hstack((x, m))

# predict P(T=1|X), P(T=1|X, M)
p_xm = self._classifier_t_xm.predict_proba(xm)[:, 1]

return p_xm
Expand Down

0 comments on commit dce928d

Please sign in to comment.