-
Notifications
You must be signed in to change notification settings - Fork 93
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
IPW computation #66
Comments
Hi Winston, not a bug 🙃 🐞 The equation you presented is limited to binary treatment scenarios, while Thanks for bringing this up, and sorry for causing any confusion. I hope I was able to clear some of it up. |
To justify this further. There are other small benefits to this implementation that I have yet to seize. I hope this gives better context to the design decisions. |
I see. You turn the binary one-class label to a multi-class label first. That works. Thanks. |
Briefly read the codes around IPW, in particular this line:
My understanding of IPW is that outcomes are weighted by:$w_i = \frac{a_i}{e_i} + \frac{(1 - a_i)}{(1 - e_i)}$ . do I miss something or this is a bug?
The text was updated successfully, but these errors were encountered: