jpmml / jpmml-lightgbm

Java library and command-line application for converting LightGBM models to PMML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trans lightgbm.txt to lightgbm.pmml failed.

yuzhixing opened this issue · comments

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?

Closing as exact duplicate of #41.

Was fixed yesterday. Please upgrade.

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).

thanks