View Source GoogleApi.Language.V1.Model.XPSTextSentimentEvaluationMetrics (google_api_language v0.15.0)
Model evaluation metrics for text sentiment problems.
Attributes
-
confusionMatrix
(type:GoogleApi.Language.V1.Model.XPSConfusionMatrix.t
, default:nil
) - Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for evaluation of a single annotation spec. -
f1Score
(type:number()
, default:nil
) - Output only. The harmonic mean of recall and precision. -
linearKappa
(type:number()
, default:nil
) - Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec. -
meanAbsoluteError
(type:number()
, default:nil
) - Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec. -
meanSquaredError
(type:number()
, default:nil
) - Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec. -
precision
(type:number()
, default:nil
) - Output only. Precision. -
quadraticKappa
(type:number()
, default:nil
) - Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec. -
recall
(type:number()
, default:nil
) - Output only. Recall.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Language.V1.Model.XPSTextSentimentEvaluationMetrics{ confusionMatrix: GoogleApi.Language.V1.Model.XPSConfusionMatrix.t() | nil, f1Score: number() | nil, linearKappa: number() | nil, meanAbsoluteError: number() | nil, meanSquaredError: number() | nil, precision: number() | nil, quadraticKappa: number() | nil, recall: number() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.