forked from py-why/EconML
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve discreteness handling, allow binary outcomes (py-why#816)
Adds a binary_outcome keyword arg to most estimators, where if True then the outcome nuisance model will be a classifier. Additionally add constraints to ensure nuisance model discreteness is handled appropriately by the user. If a nuisance model has a continuous target but a classifier is passed, then will raise an AttributeError. Conversely, if a nuisance model has a discrete target but a regressor is passed, then a warning is issued.
- Loading branch information
1 parent
c9c522d
commit 1943507
Showing
21 changed files
with
1,422 additions
and
431 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.