package caisar

  1. Overview
  2. Docs
A platform for characterizing the safety and robustness of artificial intelligence based software

Install

Dune Dependency

Authors

Maintainers

Sources

caisar-1.0.tbz
sha256=cd24b647565aaa4bb82d46c195c692d56ba0ad4b39bc86ef6baaf2d7a08c92a5
sha512=073761d95d6d8f6eb6f687643054297eb47db5d5bdc3a72ba42bf1509ab76415d485f536e5e42c11bd59c972ab7ad72e398d19af6e74c4f0778f28ef5bf4935e

doc/caisar.xgboost/Caisar_xgboost/Tree/index.html

Module Caisar_xgboost.TreeSource

Sourcetype tree =
  1. | Split of {
    1. split_indice : int;
    2. split_condition : float;
    3. left : tree;
    4. right : tree;
    5. missing : [ `Left ];
    }
  2. | Leaf of {
    1. leaf_value : float;
    }
Sourcetype op =
  1. | Identity
  2. | Sigmoid
Sourcetype t = {
  1. base_score : float;
  2. trees : tree array;
  3. after_sum : op;
}

the value is op(base_score + sum(tree))

Sourceval convert : Parser.t -> t
Sourceval predict : t -> Input.t -> float
OCaml

Innovation. Community. Security.