caisar.xgboost
Caisar_xgboost.Tree
caisar.nir
caisar.nnet
caisar.onnx
caisar.ovo
type tree =
| Split of {
split_indice : int;
split_condition : float;
left : tree;
right : tree;
missing : [ `Left ];
}
| Leaf of {
leaf_value : float;
type op =
| Identity
| Sigmoid
type t = {
base_score : float;
trees : tree array;
after_sum : op;
the value is op(base_score + sum(tree))
op(base_score + sum(tree))
val convert : Parser.t -> t
val predict : t -> Input.t -> float