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 through conf-libxgboost 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" & arch != "riscv64"
Dependencies
Source [http] https://github.com/tarides/xgboost-ocaml/archive/refs/tags/v0.3.0.tar.gz
md5=6d1971616c0b0e3d1a6fb43ad3a09eb2
sha512=56c94c0720ec6eebfc10c7fcbfc5f3d84c97652e4ae6cf4ae522d9781e5e60b8b00ff4addb826fba908cf8790d6ce088277ee4829ee54274ccc89b834f638d5d
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/xgboost/xgboost.0.3.0/opam
No package is dependent