GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1ClassificationMetrics (google_api_data_labeling v0.4.1)

View Source

Metrics calculated for a classification model.

Attributes

  • confusionMatrix (type: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1ConfusionMatrix.t, default: nil) - Confusion matrix of predicted labels vs. ground truth labels.
  • prCurve (type: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1PrCurve.t, default: nil) - Precision-recall curve based on ground truth labels, predicted labels, and scores for the predicted labels.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1ClassificationMetrics{
    confusionMatrix:
      GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1ConfusionMatrix.t()
      | nil,
    prCurve:
      GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1PrCurve.t()
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.