package xgboost
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=9f3bfc144e2c80e3e4848db6a85ed0a9
sha512=a96612c6f855e9508ae00b10d892e6085b5ad431b0e48651807f540fef9f22ba0905c721f921a487f14b6096992850845011c68a0c7f2c98c540fb6b73570322
Description
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).
Dependencies (8)
-
ctypes-foreign
>= "0.20" -
ctypes
>= "0.20" -
conf-libxgboost
(os-distribution = "debian" & os-version >= "13") | (os-distribution = "ubuntu" & os-version >= "25.10") | (os = "macos" & os-distribution = "homebrew") | os = "freebsd" -
conf-c++
build -
conf-cmake
build -
dune-configurator
build -
ocaml
>= "4.11" -
dune
>= "3.18"
Dev Dependencies (4)
-
odoc
with-doc -
qcheck-alcotest
with-test & >= "0.20" -
qcheck-core
with-test & >= "0.20" -
alcotest
with-test
Used by
None
Conflicts
None
Build status
Results of building xgboost with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
This version is not in the latest run; the versions below are.
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure