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

Use `long` to represent `unsigned int` attributes #9

Closed vruusmann closed 6 years ago

vruusmann commented 6 years ago

The cat_threshold attribute may take values that exceed the numeric range of the int data type: https://groups.google.com/d/msg/jpmml/10uOILNhXY8/wpWrAJjrCQAJ

IanUtley commented 6 years ago

Patch I used to read unsigned ints using larger datatype (long) cat_threshold.txt