dmlc / dmlc/tl2cgen

TestLightGBMIntegration::test_sparse_categorical_model test fails with MSVC and Apple Clang

Open
#13 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

`tests/python/test_lightgbm_integration.py::TestLightGBMIntegration::test_sparse_categorical_model` test generates code with high-cardinality categorical splits. For such splits, Treelite currently generates massively long `if` conditions. This doesn't cause issue with GCC, but crashes Apple Clang and freezes MSVC.

TODO. Implement a more compact representation for categorical splits.

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.