com.google.cloud.automl.v1.TextSentimentEvaluationMetricsOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-automl-v1 Show documentation
Show all versions of proto-google-cloud-automl-v1 Show documentation
PROTO library for proto-google-cloud-automl-v1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/automl/v1/text_sentiment.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.automl.v1;
public interface TextSentimentEvaluationMetricsOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.automl.v1.TextSentimentEvaluationMetrics)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. Precision.
*
*
* float precision = 1;
*
* @return The precision.
*/
float getPrecision();
/**
*
*
*
* Output only. Recall.
*
*
* float recall = 2;
*
* @return The recall.
*/
float getRecall();
/**
*
*
*
* Output only. The harmonic mean of recall and precision.
*
*
* float f1_score = 3;
*
* @return The f1Score.
*/
float getF1Score();
/**
*
*
*
* Output only. Mean absolute error. Only set for the overall model
* evaluation, not for evaluation of a single annotation spec.
*
*
* float mean_absolute_error = 4;
*
* @return The meanAbsoluteError.
*/
float getMeanAbsoluteError();
/**
*
*
*
* Output only. Mean squared error. Only set for the overall model
* evaluation, not for evaluation of a single annotation spec.
*
*
* float mean_squared_error = 5;
*
* @return The meanSquaredError.
*/
float getMeanSquaredError();
/**
*
*
*
* Output only. Linear weighted kappa. Only set for the overall model
* evaluation, not for evaluation of a single annotation spec.
*
*
* float linear_kappa = 6;
*
* @return The linearKappa.
*/
float getLinearKappa();
/**
*
*
*
* Output only. Quadratic weighted kappa. Only set for the overall model
* evaluation, not for evaluation of a single annotation spec.
*
*
* float quadratic_kappa = 7;
*
* @return The quadraticKappa.
*/
float getQuadraticKappa();
/**
*
*
*
* Output only. Confusion matrix of the evaluation.
* Only set for the overall model evaluation, not for evaluation of a single
* annotation spec.
*
*
*
* .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 8;
*
*
* @return Whether the confusionMatrix field is set.
*/
boolean hasConfusionMatrix();
/**
*
*
*
* Output only. Confusion matrix of the evaluation.
* Only set for the overall model evaluation, not for evaluation of a single
* annotation spec.
*
*
*
* .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 8;
*
*
* @return The confusionMatrix.
*/
com.google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix getConfusionMatrix();
/**
*
*
*
* Output only. Confusion matrix of the evaluation.
* Only set for the overall model evaluation, not for evaluation of a single
* annotation spec.
*
*
*
* .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 8;
*
*/
com.google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrixOrBuilder
getConfusionMatrixOrBuilder();
}