Skip to content
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

Add fit_cate_intercept to DML, rework feature generation #174

Merged
merged 23 commits into from
Nov 21, 2019

Conversation

kbattocchi
Copy link
Collaborator

No description provided.

@kbattocchi
Copy link
Collaborator Author

Fixes #119.

Copy link
Contributor

@vasilismsr vasilismsr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a weirdness now if I want to get the feature names. There is no good way to access the original featurizer, as the original featurizer is embedded in the new pipeline. For instance I cannot do:
est.featurizer.get_feature_names(['A', 'B', 'C', 'D'])

However, the featurizer method is the right thing, as this is what the inference methods need to access.

I think the best would be to add the method: cate_feature_names, as I had done in the DRLearner, which will access the second stage of the pipeline and call the get_feature_names. This will uniformize even more the API between the two methods.

Copy link
Collaborator Author

@kbattocchi kbattocchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vasilismsr
As the original PR author, I can't request changes, but please address these comments.

@kbattocchi kbattocchi marked this pull request as ready for review November 21, 2019 21:42
@kbattocchi kbattocchi dismissed vasilismsr’s stale review November 21, 2019 23:30

Dismissing review since changes have been addressed and we're trying to get out the release.

@kbattocchi kbattocchi merged commit 9b6c939 into master Nov 21, 2019
@kbattocchi kbattocchi deleted the kebatt/dmlIntercept branch November 21, 2019 23:31
@kbattocchi kbattocchi mentioned this pull request Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants