georgian-io-archive / foreshadow

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

Fix missing transform method in the cleaner mapper. #195

Closed jzhang-gp closed 4 years ago

jzhang-gp commented 4 years ago

Description

Fix a missing transform method override in the cleaner mapper. Since the drop action is done by the mapper, not the smart transformer, we have to do the same in the mapper's transform method too. This allows empty columns to be dropped during the test/predict/score phase. Otherwise it will not work properly.