georgian-io-archive / foreshadow

An automatic machine learning system
https://foreshadow.readthedocs.io
Apache License 2.0
29 stars 2 forks source link

Fix a bug when using OneHotEncoder or HashingEncoder #219

Closed jichaoz closed 4 years ago

jichaoz commented 4 years ago

Fix a bug when using OneHotEncoder or HashingEncoder from category_encoders package. If the column names are not provided to these encoder, they will only encode columns with type object. For integer columns identified as categorical by intent resolver, it will not do anything.

This caused issues when generating submission for the house pricing kaggle competition. Without this fix, line 189 in test_smart.py will fail.

Related Issue

Description