xgboostversion Documentation on ocaml.org

OCaml bindings for the XGBoost gradient boosting library

Native OCaml bindings to libxgboost (>=3.0). Three-layer FFI: the upstream stable C ABI, statically generated ctypes stubs, and a high-level GC-aware OCaml API. Supports dense and sparse DMatrix construction (Bigarray, zero-copy), training, prediction, JSON config, and external-memory streaming via a callback iterator.

The native libxgboost dependency is satisfied in one of two ways, decided at build time: a system libxgboost >= 3.0 discovered through pkg-config (installed via depexts where the platform packages it), or, failing that, a vendored copy of XGBoost built from source with CMake and linked statically (needs no network).

Tags xgboost machine-learning gradient-boosting bindings ctypes
AuthorCuihtlauac ALVARADO <cuihtlauac@tarides.com>
LicenseMIT
Published
Homepagehttps://github.com/tarides/xgboost-ocaml
Issue Trackerhttps://github.com/tarides/xgboost-ocaml/issues
MaintainerCuihtlauac ALVARADO <cuihtlauac@tarides.com>
Availableos != "win32"
Dependencies
Source [http] https://github.com/tarides/xgboost-ocaml/archive/refs/tags/v0.2.1.tar.gz
md5=df39458954596436cba315813cede5fa
sha512=3acac1b835b9bbc4c96bfd5c2483d783800d33da1708436f78c6d7629bd0f8add6f7b021ec87392f3226971001e66b126855fc19251fa6ca4ca743fbd80ad12f
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/xgboost/xgboost.0.2.1/opam
No package is dependent