dmlc / dmlc/tl2cgen

predict has a diff with lightgbm when zero_as_missing is True

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
55
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.