Skip to content

Conversation

EssamWisam
Copy link
Collaborator

@EssamWisam EssamWisam commented Jul 24, 2024

This PR introduces the missingness encoder. It shares an implementation/testing framework very similar to the cardinality reducer.

@ablaom ablaom self-assigned this Jul 26, 2024
The fields of `fitted_params(mach)` are:
- `new_cat_given_col_val`: A dictionary that for each column, maps `missing` into some value according to `label_for_missing`
Copy link
Member

Choose a reason for hiding this comment

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

Can we call this label_for_missing_given_feature` or similar? See my comments in the contrast encoding PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

Copy link
Member

@ablaom ablaom left a comment

Choose a reason for hiding this comment

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

Looking good, thank you. 🦾

@EssamWisam
Copy link
Collaborator Author

Addressed all points and will merge. Thank you so much for the nice review.

@EssamWisam EssamWisam merged commit d42a934 into main Jul 31, 2024
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.

2 participants