package xgboost

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.2.1.tar.gz
md5=df39458954596436cba315813cede5fa
sha512=3acac1b835b9bbc4c96bfd5c2483d783800d33da1708436f78c6d7629bd0f8add6f7b021ec87392f3226971001e66b126855fc19251fa6ca4ca743fbd80ad12f

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 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).

Dependencies (7)

  1. ctypes-foreign >= "0.20"
  2. ctypes >= "0.20"
  3. conf-c++ build
  4. conf-cmake build
  5. dune-configurator build
  6. ocaml >= "5.1"
  7. 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