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-2.1.tbz
sha256=1b25c8668d428bcfc83c95147b6e45ff0a3bfa05ecd11369d12e963e29819e2e
sha512=edc7d7c0e96802811de3cb1caa3d14cc3d867ee7310748e8188eca9246a362549545c7816c8037511931dc4b7770b5ccc11b0d03abe8843b7c4db7880bf8e1fd

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.