View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictPredictionClassificationPredictionResult (google_api_ai_platform v0.13.0)

Prediction output format for Image and Text Classification.

Attributes

  • confidences (type: list(number()), default: nil) - The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
  • displayNames (type: list(String.t), default: nil) - The display names of the AnnotationSpecs that had been identified, order matches the IDs.
  • ids (type: list(String.t), default: nil) - The resource IDs of the AnnotationSpecs that had been identified.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaPredictPredictionClassificationPredictionResult{
    confidences: [number()] | nil,
    displayNames: [String.t()] | nil,
    ids: [String.t()] | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.