Skip to content

Commit

Permalink
Pass fit_cate_intercept correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
kbattocchi committed Aug 11, 2020
1 parent 4c1bb3a commit d11b6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion econml/ortho_iv.py
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ def __init__(self, model_Y_X, model_T_XZ,
super().__init__(model_Y_X, model_T_XZ,
flexible_model_effect=flexible_model_effect,
featurizer=featurizer,
fit_cate_intercept=True,
fit_cate_intercept=fit_cate_intercept,
final_model_effect=StatsModelsLinearRegression(fit_intercept=False),
cov_clip=cov_clip, n_splits=n_splits, opt_reweighted=opt_reweighted,
categories=categories)
Expand Down

0 comments on commit d11b6d8

Please sign in to comment.