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

Model evaluation metrics for text sentiment problems.

Attributes

  • confusionMatrix (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix.t, default: nil) - Confusion matrix of the evaluation. Only set for ModelEvaluations, not for ModelEvaluationSlices.
  • f1Score (type: number(), default: nil) - The harmonic mean of recall and precision.
  • linearKappa (type: number(), default: nil) - Linear weighted kappa. Only set for ModelEvaluations, not for ModelEvaluationSlices.
  • meanAbsoluteError (type: number(), default: nil) - Mean absolute error. Only set for ModelEvaluations, not for ModelEvaluationSlices.
  • meanSquaredError (type: number(), default: nil) - Mean squared error. Only set for ModelEvaluations, not for ModelEvaluationSlices.
  • precision (type: number(), default: nil) - Precision.
  • quadraticKappa (type: number(), default: nil) - Quadratic weighted kappa. Only set for ModelEvaluations, not for ModelEvaluationSlices.
  • recall (type: number(), default: nil) - Recall.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaModelevaluationMetricsTextSentimentEvaluationMetrics{
    confusionMatrix:
      GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaModelevaluationMetricsConfusionMatrix.t()
      | nil,
    f1Score: number() | nil,
    linearKappa: number() | nil,
    meanAbsoluteError: number() | nil,
    meanSquaredError: number() | nil,
    precision: number() | nil,
    quadraticKappa: number() | nil,
    recall: number() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.