You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When calling BaseXlearner.estimate_ate() with pretrain=True and external propensity scores (i.e. p is not None), a retrain of the model is triggered because the case where pretrain=True and p is not None is not handled
To Reproduce
Train the Xlearner with externally computed propensity scores and call estimate_ate using pretrain=True and external propensity scores. The model will be retrained.
Expected behavior
The model should not be retrained, instead the ate should be computed using the passed propensity scores
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Describe the bug
When calling BaseXlearner.estimate_ate() with pretrain=True and external propensity scores (i.e. p is not None), a retrain of the model is triggered because the case where pretrain=True and p is not None is not handled
To Reproduce
Train the Xlearner with externally computed propensity scores and call estimate_ate using pretrain=True and external propensity scores. The model will be retrained.
Expected behavior
The model should not be retrained, instead the ate should be computed using the passed propensity scores
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
pandas==1.2.4
,scikit-learn==1.2.0
,cython==0.29.23
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: