Class ModelEvaluation (3.0.0)

public sealed class ModelEvaluation : IMessage<ModelEvaluation>, IEquatable<ModelEvaluation>, IDeepCloneable<ModelEvaluation>, IBufferMessage, IMessage

Evaluation results of a model.

Inheritance

Object > ModelEvaluation

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Constructors

ModelEvaluation()

public ModelEvaluation()

ModelEvaluation(ModelEvaluation)

public ModelEvaluation(ModelEvaluation other)
Parameter
NameDescription
otherModelEvaluation

Properties

AnnotationSpecId

public string AnnotationSpecId { get; set; }

Output only. The ID of the annotation spec that the model evaluation applies to. The The ID is empty for the overall model evaluation. For Tables annotation specs in the dataset do not exist and this ID is always not set, but for CLASSIFICATION [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type] the [display_name][google.cloud.automl.v1.ModelEvaluation.display_name] field is used.

Property Value
TypeDescription
String

ClassificationEvaluationMetrics

public ClassificationEvaluationMetrics ClassificationEvaluationMetrics { get; set; }

Model evaluation metrics for image, text, video and tables classification. Tables problem is considered a classification when the target column is CATEGORY DataType.

Property Value
TypeDescription
ClassificationEvaluationMetrics

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Timestamp when this model evaluation was created.

Property Value
TypeDescription
Timestamp

DisplayName

public string DisplayName { get; set; }

Output only. The value of [display_name][google.cloud.automl.v1.AnnotationSpec.display_name] at the moment when the model was trained. Because this field returns a value at model training time, for different models trained from the same dataset, the values may differ, since display names could had been changed between the two model's trainings. For Tables CLASSIFICATION [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type] distinct values of the target column at the moment of the model evaluation are populated here. The display_name is empty for the overall model evaluation.

Property Value
TypeDescription
String

EvaluatedExampleCount

public int EvaluatedExampleCount { get; set; }

Output only. The number of examples used for model evaluation, i.e. for which ground truth from time of model creation is compared against the predicted annotations created by the model. For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is the total number of all examples used for evaluation. Otherwise, this is the count of examples that according to the ground truth were annotated by the [annotation_spec_id][google.cloud.automl.v1.ModelEvaluation.annotation_spec_id].

Property Value
TypeDescription
Int32

ImageObjectDetectionEvaluationMetrics

public ImageObjectDetectionEvaluationMetrics ImageObjectDetectionEvaluationMetrics { get; set; }

Model evaluation metrics for image object detection.

Property Value
TypeDescription
ImageObjectDetectionEvaluationMetrics

MetricsCase

public ModelEvaluation.MetricsOneofCase MetricsCase { get; }
Property Value
TypeDescription
ModelEvaluation.MetricsOneofCase

ModelEvaluationName

public ModelEvaluationName ModelEvaluationName { get; set; }

ModelEvaluationName-typed view over the Name resource name property.

Property Value
TypeDescription
ModelEvaluationName

Name

public string Name { get; set; }

Output only. Resource name of the model evaluation. Format: projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}

Property Value
TypeDescription
String

TextExtractionEvaluationMetrics

public TextExtractionEvaluationMetrics TextExtractionEvaluationMetrics { get; set; }

Evaluation metrics for text extraction models.

Property Value
TypeDescription
TextExtractionEvaluationMetrics

TextSentimentEvaluationMetrics

public TextSentimentEvaluationMetrics TextSentimentEvaluationMetrics { get; set; }

Evaluation metrics for text sentiment models.

Property Value
TypeDescription
TextSentimentEvaluationMetrics

TranslationEvaluationMetrics

public TranslationEvaluationMetrics TranslationEvaluationMetrics { get; set; }

Model evaluation metrics for translation.

Property Value
TypeDescription
TranslationEvaluationMetrics