Module Values.PredictionSource

The output from a Predict operation: Details - Contains the following attributes: DetailsAttributes.PREDICTIVE_MODEL_TYPE - REGRESSION | BINARY | MULTICLASS DetailsAttributes.ALGORITHM - SGD PredictedLabel - Present for either a BINARY or MULTICLASS MLModel request. PredictedScores - Contains the raw classification score corresponding to each label. PredictedValue - Present for a REGRESSION MLModel request.

Sourcetype nonrec t = {
  1. predictedLabel : Label.t option;
    (*

    The prediction label for either a BINARY or MULTICLASS MLModel.

    *)
  2. predictedValue : FloatLabel.t option;
    (*

    The prediction value for REGRESSION MLModel.

    *)
  3. predictedScores : ScoreValuePerLabelMap.t option;
  4. details : DetailsMap.t option;
}
Sourceval make : ?predictedLabel:??? -> ?predictedValue:??? -> ?predictedScores:??? -> ?details:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of FloatLabel.t | `Map of ([> `Enum of string | `String of Label.t ] * [> `Float of ScoreValue.t | `String of DetailsValue.t ]) list | `String of Label.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