ShifuML / shifu

An end-to-end machine learning and data mining framework on Hadoop
https://github.com/ShifuML/shifu/wiki
Apache License 2.0
251 stars 109 forks source link

Empty binCategory if >= maxCategories in Stats Step #693

Open zhangpengshan opened 4 years ago

zhangpengshan commented 4 years ago

If # of categories > maxCategories , stats result binCategory would be empty but there are sample values and no warn messages.

A better fix is to keep maxCategories in binCategory (leave others as null category), and poped error message.