Module Values.EntityRecognizerEvaluationMetricsSource

Detailed information about the accuracy of an entity recognizer.

Sourcetype nonrec t = {
  1. precision : Double.t option;
    (*

    A measure of the usefulness of the recognizer results in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.

    *)
  2. recall : Double.t option;
    (*

    A measure of how complete the recognizer results are for the test data. High recall means that the recognizer returned most of the relevant results.

    *)
  3. f1Score : Double.t option;
    (*

    A measure of how accurate the recognizer results are for the test data. It is derived from the Precision and Recall values. The F1Score is the harmonic average of the two scores. For plain text entity recognizer models, the range is 0 to 100, where 100 is the best score. For PDF/Word entity recognizer models, the range is 0 to 1, where 1 is the best score.

    *)
}
Sourceval make : ?precision:??? -> ?recall:??? -> ?f1Score:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t