package xgboost
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
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)
-
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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page