jpmml / jpmml-lightgbm

Java library and command-line application for converting LightGBM models to PMML
GNU Affero General Public License v3.0
174 stars 58 forks source link

Improve invalid value treatment #23

Closed puuzll closed 5 years ago

puuzll commented 5 years ago

Light GBM enables the missing value handle by default and support "Categorical Feature" https://github.com/Microsoft/LightGBM/blob/master/docs/Advanced-Topics.rst

Directly use pmml file converted by jpmml-lightgbm is prone to failed in such case.

https://github.com/jpmml/jpmml-evaluator/issues/145 https://github.com/jpmml/jpmml-lightgbm/issues/19

I think setting invalid value treatment method as default behavior will help