https://github.com/dmlc/tl2cgen
TL2cgen (TreeLite 2 C GENerator) is a model compiler for decision tree models
https://github.com/dmlc/tl2cgen
Last synced: about 1 year ago
JSON representation
TL2cgen (TreeLite 2 C GENerator) is a model compiler for decision tree models
- Host: GitHub
- URL: https://github.com/dmlc/tl2cgen
- Owner: dmlc
- License: apache-2.0
- Created: 2023-03-28T02:55:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-19T05:43:46.000Z (over 1 year ago)
- Last Synced: 2025-04-01T18:12:06.746Z (about 1 year ago)
- Language: C++
- Homepage: https://tl2cgen.readthedocs.io/en/latest/
- Size: 459 KB
- Stars: 30
- Watchers: 7
- Forks: 8
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TL2cgen
[](http://tl2cgen.readthedocs.io/en/latest/?badge=latest)
[](https://codecov.io/gh/dmlc/tl2cgen)
[](./LICENSE)
[](https://pypi.python.org/pypi/tl2cgen/)
[](https://anaconda.org/conda-forge/tl2cgen)
**TL2cgen** is a model compiler for decision tree models.
You can convert any decision tree models (random forests, gradient boosting models) into C code and distribute it as a native binary.
TL2cgen seamlessly integrates with [Treelite](https://github.com/dmlc/treelite).
Any tree models that are supported by Treelite can be translated using TL2cgen.
## How are Treelite and TL2cgen related?
See [this page](https://tl2cgen.readthedocs.io/en/latest/#how-are-treelite-and-tl2cgen-related).