trans lightgbm.txt to lightgbm.pmml failed.
yuzhixing opened this issue · comments
yuzhixing commented
It's a real lightgbm model file, but trans to pmml failed.
because some value of section is null, such as “left_child”, then NPE will happen in parseStringArray of LightGBMUtil lined 100。
the model builed by lightgbm version 3.0.0。
how can i do it?
Villu Ruusmann commented
Closing as exact duplicate of #41.
Was fixed yesterday. Please upgrade.
Villu Ruusmann commented
It's a real lightgbm model file
Can be a real LightGBM model file, but when there are empty tree elements inside the tree ensemble, then it means that your model training process was incorrectly parameterized (typically, specified an unreasonably large n_estimators
value).
yuzhixing commented
thanks