dmlc / treelite

Universal model exchange and serialization format for decision tree forests
https://treelite.readthedocs.io/en/latest/
Apache License 2.0
723 stars 98 forks source link

Fix categorical data handling for HistGradientBoosting in scikit-learn 1.4.0+ #553

Closed hcho3 closed 4 months ago

hcho3 commented 4 months ago

Accommodate the changes made in https://github.com/scikit-learn/scikit-learn/pull/26411.

Closes #544 Closes #471

codecov[bot] commented 4 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (87e01ca) 84.44% compared to head (69b1984) 84.42%.

Files Patch % Lines
src/model_loader/sklearn.cc 75.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## mainline #553 +/- ## ============================================ - Coverage 84.44% 84.42% -0.02% ============================================ Files 71 71 Lines 6139 6171 +32 Branches 517 518 +1 ============================================ + Hits 5184 5210 +26 - Misses 955 961 +6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.