Module Values.ClassifierMetadataSource

Provides information about a document classifier.

Sourcetype nonrec t = {
  1. numberOfLabels : Integer.t option;
    (*

    The number of labels in the input data.

    *)
  2. numberOfTrainedDocuments : Integer.t option;
    (*

    The number of documents in the input data that were used to train the classifier. Typically this is 80 to 90 percent of the input documents.

    *)
  3. numberOfTestDocuments : Integer.t option;
    (*

    The number of documents in the input data that were used to test the classifier. Typically this is 10 to 20 percent of the input documents, up to 10,000 documents.

    *)
  4. evaluationMetrics : ClassifierEvaluationMetrics.t option;
    (*

    Describes the result metrics for the test data associated with an documentation classifier.

    *)
}
Sourceval make : ?numberOfLabels:??? -> ?numberOfTrainedDocuments:??? -> ?numberOfTestDocuments:??? -> ?evaluationMetrics:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `Structure of (string * [> `Double of Double.t ]) list ]) 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