GoogleApi.Language.V2.Model.XPSClassificationEvaluationMetrics (google_api_language v0.16.3)

View Source

Model evaluation metrics for classification problems. It can be used for image and video classification. Next tag: 9.

Attributes

  • auPrc (type: number(), default: nil) - The Area under precision recall curve metric.
  • auRoc (type: number(), default: nil) - The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation.
  • baseAuPrc (type: number(), default: nil) - The Area under precision recall curve metric based on priors.
  • confidenceMetricsEntries (type: list(GoogleApi.Language.V2.Model.XPSConfidenceMetricsEntry.t), default: nil) - Metrics that have confidence thresholds. Precision-recall curve can be derived from it.
  • confusionMatrix (type: GoogleApi.Language.V2.Model.XPSConfusionMatrix.t, default: nil) - Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of annotation specs is no more than 10. Only set for model level evaluation, not for evaluation per label.
  • evaluatedExamplesCount (type: integer(), default: nil) - The number of examples used for model evaluation.
  • logLoss (type: number(), default: nil) - The Log Loss metric.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Language.V2.Model.XPSClassificationEvaluationMetrics{
  auPrc: number() | nil,
  auRoc: number() | nil,
  baseAuPrc: number() | nil,
  confidenceMetricsEntries:
    [GoogleApi.Language.V2.Model.XPSConfidenceMetricsEntry.t()] | nil,
  confusionMatrix: GoogleApi.Language.V2.Model.XPSConfusionMatrix.t() | nil,
  evaluatedExamplesCount: integer() | nil,
  logLoss: number() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.