Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
f1Score?: number
[src]

Output only. The harmonic mean of recall and precision.

§
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.

§
precision?: number
[src]

Output only. Precision.

§
quadraticKappa?: number
[src]

Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.

§
recall?: number
[src]

Output only. Recall.