Module Values.PredictOutputSource

Generates a prediction for the observation using the specified ML Model. Note: Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested.

Sourcetype nonrec t = {
  1. prediction : Prediction.t option;
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `InvalidInputException of InvalidInputException.t
  3. | `LimitExceededException of LimitExceededException.t
  4. | `PredictorNotMountedException of PredictorNotMountedException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?prediction:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerException of InternalServerException.t | `InvalidInputException of InvalidInputException.t | `LimitExceededException of LimitExceededException.t | `PredictorNotMountedException of PredictorNotMountedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServerException of InternalServerException.t | `InvalidInputException of InvalidInputException.t | `LimitExceededException of LimitExceededException.t | `PredictorNotMountedException of PredictorNotMountedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `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 ]) 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