Skip to content

HashingEncoder does not accept handle_unknown argument #120

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
janmotl opened this issue Sep 6, 2018 · 2 comments
Closed

HashingEncoder does not accept handle_unknown argument #120

janmotl opened this issue Sep 6, 2018 · 2 comments

Comments

@janmotl
Copy link
Collaborator

janmotl commented Sep 6, 2018

Can HashingEncoder accept new values (values that are not observed in the training set) in the testing dataset?

If yes, it should possibly be noted in the documentation of the encoder.

@wdm0006
Copy link
Collaborator

wdm0006 commented Sep 9, 2018

Yes, it can. Agreed on documentation, it behaves differently than many of the other encoders in that it does not maintain a dictionary of potential categories, you can throw whatever you want at it.

@janmotl
Copy link
Collaborator Author

janmotl commented Sep 16, 2018

Documentation extended with b418a2a

@janmotl janmotl closed this as completed Sep 16, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants