-
Notifications
You must be signed in to change notification settings - Fork 743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue associated with Causal Forest DML when calling Score() method #760
Comments
Thanks for reporting this, and sorry for the inconvenience, this certainly looks like a bug, and is not limited to CausalForestDML. We'll take a look. |
Thanks Keith! May i ask what might be the cause for the bug? is it when we apply multiple mc_iters the model is passing multiple result to the method that brings the index error? |
The nuisances are indexed by both mc_iters and the number of cross-fitting folds, and the logic we use to index into them here isn't correct EconML/econml/_ortho_learner.py Line 902 in 8b7fe33
because |
Signed-off-by: Keith Battocchi <kebatt@microsoft.com> Signed-off-by: star1327p <star1327p@gmail.com>
Hi, thanks for the fascinating work you guys provide!
I'm new to causal inference field and i found this package super to help build model. While i came across an IndexError when trying to call the model.score() as i built a causal forest model.
The model parameter i used is as following:
And when i call the score method i received the following error:

And my guess for why it happened is the mc_iter parameter, as when i changed the mc_iters = 2, i can run the score method without any error. Really appreciate any advice or help, Thanks!
The text was updated successfully, but these errors were encountered: