dmlc/tl2cgen

predict has a diff with lightgbm when zero_as_missing is True

fuchen319 opened this issue · 0 comments

lightgbm source code:
image
treelite source code:
image

when lightgbm param zero_as_missing is True(missing_type=Zero), and feature is zero, predictor should go by default_left, for example
image

treelite: 2.2.2
lightgbm: 3.2.1