auto_ml icon indicating copy to clipboard operation
auto_ml copied to clipboard

categorical column with float and np.nan throws error when being converted to strings only with lgbm

Open ClimbsRocks opened this issue 8 years ago • 2 comments

maybe try explicitly casting to strings any column that should be categorical?

ClimbsRocks avatar Aug 16 '17 17:08 ClimbsRocks

Not sure if it's related to the above error, but I'm getting the following error while running LightGBM on the get_boston_dataset() test set.

TypeError: 'NoneType' object is not iterable as well as TypeError: Unknown type(ndarray)

samching avatar Sep 01 '17 13:09 samching

@samuelcwl : bah, that was a really, really annoying error. lightgbm is generally run as an awesome engineering project, but in this case, they deprecated one of their formerly accepted data formats, without a deprecation warning.

the second of those two errors should be fixed in the release i just finished and pushed to pypi (v2.6.0). but let me know if you keep encountering that first issue, or any other issues, and i'll try to fix them up asap!

i also love success stories and general use stories, so if you've got any, i'm all ears.

ClimbsRocks avatar Sep 09 '17 02:09 ClimbsRocks