package xgboost

  1. Overview
  2. 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

doc/src/xgboost.bindings/type_description.ml.html

Source file type_description.ml

1
2
3
4
5
6
7
8
9
10
11
12
(* Type-level bindings for libxgboost.
 *
 * The XGBoost C API is built almost entirely on `void*` opaque handles
 * (DMatrixHandle, BoosterHandle, DataIterHandle) and integer/float
 * scalars. There are no struct or enum declarations from the header that
 * we need to materialise on the OCaml side. This functor stays empty;
 * the plugin still requires it to produce the generated bindings
 * scaffold. Concrete types are introduced in [Function_description]. *)

module Types (F : Ctypes.TYPE) = struct
  let _ = (module F : Ctypes.TYPE)
end