package xgboost

  1. Overview
  2. No Docs
OCaml bindings for the XGBoost gradient boosting library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.2.6.tar.gz
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)

  1. ctypes-foreign >= "0.20"
  2. ctypes >= "0.20"
  3. conf-libxgboost (os-distribution = "debian" & os-version >= "13") | (os-distribution = "ubuntu" & os-version >= "25.10") | (os = "macos" & os-distribution = "homebrew") | os = "freebsd"
  4. conf-c++ build
  5. conf-cmake build
  6. dune-configurator build
  7. ocaml >= "4.11"
  8. dune >= "3.18"

Dev Dependencies (4)

  1. odoc with-doc
  2. qcheck-alcotest with-test & >= "0.20"
  3. qcheck-core with-test & >= "0.20"
  4. 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.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.2.1 n/a n/a good good good
  • 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