package modelkit-xgboost

  1. Overview
  2. Docs

Module Modelkit_xgboostSource

Optional XGBoost input and CPU histogram-tree specifications.

This package depends on the OCaml xgboost binding; the portable modelkit package does not. The supported binding is 0.2.6 with native libxgboost 3.x. Native input conversion copies float64 values to row-major float32 storage. Native provides scoped interoperability with upstream handles. Artifact persists trusted fitted models without refitting.

Sourcemodule Specification : sig ... end
Sourcemodule Input : sig ... end
Sourcemodule Native : sig ... end
Sourcemodule Regressor : sig ... end
Sourcemodule Classifier : sig ... end

Binary and multiclass CPU histogram-tree classification.

Sourcemodule Artifact : sig ... end

Trusted native-model persistence, independent of training data and refitting. Native payloads must come from this supported writer. Checksums detect corruption and do not authenticate artifacts. Arbitrary external model JSON remains outside XGBoost's safe-loading guarantees.