XPSTextSentimentEvaluationMetrics
import type { XPSTextSentimentEvaluationMetrics } from "https://googleapis.deno.dev/v1/language:v2.ts";
Model evaluation metrics for text sentiment problems.
interface XPSTextSentimentEvaluationMetrics {
confusionMatrix?: XPSConfusionMatrix;
f1Score?: number;
linearKappa?: number;
meanAbsoluteError?: number;
meanSquaredError?: number;
precision?: number;
quadraticKappa?: number;
recall?: number;
}§Properties
§
confusionMatrix?: XPSConfusionMatrix
[src]Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
§
linearKappa?: number
[src]Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
§
meanAbsoluteError?: number
[src]Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.
§
meanSquaredError?: number
[src]Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.