Skip to content

Releases: dmlc/treelite

Patch release 3.9.1

13 Sep 17:16
346d925
Compare
Choose a tag to compare

This release is almost identical to 3.9.0 release. It was updated to be compatible with XGBoost 2.0.

3.9.0 Release

09 May 19:40
Compare
Choose a tag to compare

Deprecation notice

The following parts of Treelite are deprecated and will be removed in Treelite 4.0.0.
You may use TL2cgen for equivalent functionalities. See the migration guide.

  • treelite.Model.export_lib
  • treelite.Model.export_srcpkg
  • treelite.Model.compile
  • treelite.Annotator
  • treelite.generate_makefile
  • treelite.generate_cmakelists
  • treelite.create_shared
  • treelite_runtime.Predictor
  • treelite_runtime.DMatrix

What's Changed

  • Don't install gtest if building from source by @hcho3 in #491
  • Deprecate C codegen by @hcho3 in #493
  • [CI] Make nightly builds of CPack for amd64 and aarch64 by @hcho3 in #494

Full Changelog: 3.4.0...3.9.0

3.4.0 Release

02 May 04:27
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.3.0...3.4.0

3.3.0 Release

28 Apr 01:19
Compare
Choose a tag to compare

What's Changed

  • Add instruction to build sdist in release script by @hcho3 in #462
  • [CI] Use Python 3.8 by @hcho3 in #476
  • Set type fields in ConcatenateModelObjects() by @hcho3 in #475
  • Add API function to serialize to strings by @hcho3 in #480

Full Changelog: 3.2.0...3.3.0

3.2.0 Release

25 Mar 15:56
Compare
Choose a tag to compare

The 3.2 release implements three new features:

  • predict_leaf: predict leaf node IDs
  • predict_per_tree: obtain prediction per tree
  • import_from_json: build Treelite model using a JSON string

What's Changed

  • Add allow_unknown_field flag to XGBoost JSON parser by @hcho3 in #423
  • Bump development version by @hcho3 in #437
  • [CI] Fix test timeout for test_extra_field_in_xgb_json by @hcho3 in #436
  • [CI] Require C++17 by @hcho3 in #440
  • Implement predict_leaf and predict_per_tree by @hcho3 in #442
  • Improve pytest coverage for GTIL by @hcho3 in #447
  • Add warning when loading from newer minor version by @hcho3 in #450
  • Fix docstring for predict_leaf by @hcho3 in #451
  • Add ability to import model from JSON by @hcho3 in #448
  • Initial support for HistGradientBoostingClassifier / HistGradientBoostingRegressor by @hcho3 in #444
  • Fix up documentation by @hcho3 in #454
  • Fix up documentation, round 2 by @hcho3 in #455
  • Fix up documentation, round 3 by @hcho3 in #456
  • Fix link for Doxygen by @hcho3 in #457
  • Add tutorial for JSON import by @hcho3 in #459

Full Changelog: 3.1.0...3.2.0

3.1.0 Release

19 Jan 21:36
Compare
Choose a tag to compare

The 3.1 release implements a new feature to concatenate multiple models into one (#412). Also it's now compatible with scikit-learn 1.2.0 (#425).

What's Changed

  • Fix OpenMP build with libomp 15+ by @hcho3 in #410
  • Implement model concatenation by @hcho3 in #412
  • [CI] Trigger CI daily by @hcho3 in #418
  • [CI] Various CI improvements by @hcho3 in #419
  • [CI] Fix the script that names wheels by @hcho3 in #421
  • [CI] Add convenience script to automate PyPI release by @hcho3 in #422
  • Use n_features_in_ instead of deprecated n_features_ attribute by @oliverholworthy in #425
  • [CI] Replace load_boston with a randomly generated regression data by @hcho3 in #428
  • Fix undefined behavior in tree's Clone() by @hcho3 in #430

New Contributors

Full Changelog: 3.0.1...3.1.0

3.0.1 Patch Release

21 Nov 20:42
Compare
Choose a tag to compare

This patch release makes the following changes:

  • Support XGBoost 1.7.0, by handling the new boost_from_average field in the XGBoost JSON format.
  • Support building with libomp 15+ on MacOS

Full Changelog: 3.0.0...3.0.1

3.0.0 Release

11 Sep 20:12
Compare
Choose a tag to compare

The new release is 3.0 due to a major breaking change:

  • [Breaking] New serializer with improved compatibility by @hcho3 in #401

Now it is possible to exchange serialized tree models between two different versions of Treelite, with certain restrictions. See the expected compatibility matrix here.

In addition, 3.0.0 incorporates the following changes:

What's Changed

  • docs: add missing supported sklearn models by @tczhao in #385
  • Replace all generic exceptions with treelite::Error by @hcho3 in #389
  • Use development version in mainline branch by @hcho3 in #397
  • [CI] Clean up pipeline definition by @hcho3 in #402
  • [CI] Migrate MacOS tests to Azure pipelines by @hcho3 in #403
  • Various improvements for Windows by @hcho3 in #404
  • Various doc improvements by @hcho3 in #405
  • A gtest to simulate forward compatibility in serializer by @hcho3 in #406

New Contributors

Full Changelog: 2.4.0...3.0.0

2.4.0 Release

19 Aug 23:29
dcd5477
Compare
Choose a tag to compare

The new release will incorporate the following changes:

  • Test GTIL with IsolationForest (#370)
  • [CI] Use supported versions of Windows (#381)
  • [XGBoost 1.6] Handle pseudo-Huber loss with slope (#380)
  • Support XGBoost classifiers with num_class > 2, num_parallel_tree > 1 (#383)

2.3.0 Release

17 Feb 21:53
b65bedc
Compare
Choose a tag to compare

The new release will incorporate the following changes:

  • GTIL optimization using multiple CPU threads (#353, #355, #357, #358, #362, #367)
  • Ensure compatibility with XGBoost 1.6+ in from_xgboost() method (#365)
  • Remove all uses of distutils (#366)
  • Windows compatibility fix (#368)