dmlc / tl2cgen

TL2cgen (TreeLite 2 C GENerator) is a model compiler for decision tree models
https://tl2cgen.readthedocs.io/en/latest/
Apache License 2.0
21 stars 6 forks source link

Docs: Java deployment tutorial out of date #1

Closed thvasilo closed 1 year ago

thvasilo commented 2 years ago

A few changes have been made to the treelite4j codebase that have made the Java tutorial become out of date.

Two I could spot were were that the Predictor constructor now only takes 3 arguments, new Predictor("path/to/compiled_model.so", -1, true); and that there is no single-datapoint prediction method, there's only batch prediction predict(DMatrix batch, boolean verbose, boolean pred_margin).

hcho3 commented 1 year ago

Treelite4J has been migrated to a separate project, TL2cgen.

As part of the migration, I updated the tutorial to reflect the latest changes.