Class ModelEvaluation
Evaluation results of a model.
Inheritance
Inherited Members
Namespace: Google.Cloud.AutoML.V1
Assembly: Google.Cloud.AutoML.V1.dll
Syntax
public sealed class ModelEvaluation : IMessage<ModelEvaluation>, IEquatable<ModelEvaluation>, IDeepCloneable<ModelEvaluation>, IBufferMessage, IMessage
Constructors
ModelEvaluation()
Declaration
public ModelEvaluation()
ModelEvaluation(ModelEvaluation)
Declaration
public ModelEvaluation(ModelEvaluation other)
Parameters
Type | Name | Description |
---|---|---|
ModelEvaluation | other |
Properties
AnnotationSpecId
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.
Declaration
public string AnnotationSpecId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClassificationEvaluationMetrics
Model evaluation metrics for image, text, video and tables classification. Tables problem is considered a classification when the target column is CATEGORY DataType.
Declaration
public ClassificationEvaluationMetrics ClassificationEvaluationMetrics { get; set; }
Property Value
Type | Description |
---|---|
ClassificationEvaluationMetrics |
CreateTime
Output only. Timestamp when this model evaluation was created.
Declaration
public Timestamp CreateTime { get; set; }
Property Value
Type | Description |
---|---|
Timestamp |
DisplayName
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.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EvaluatedExampleCount
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].
Declaration
public int EvaluatedExampleCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ImageObjectDetectionEvaluationMetrics
Model evaluation metrics for image object detection.
Declaration
public ImageObjectDetectionEvaluationMetrics ImageObjectDetectionEvaluationMetrics { get; set; }
Property Value
Type | Description |
---|---|
ImageObjectDetectionEvaluationMetrics |
MetricsCase
Declaration
public ModelEvaluation.MetricsOneofCase MetricsCase { get; }
Property Value
Type | Description |
---|---|
ModelEvaluation.MetricsOneofCase |
ModelEvaluationName
ModelEvaluationName-typed view over the Name resource name property.
Declaration
public ModelEvaluationName ModelEvaluationName { get; set; }
Property Value
Type | Description |
---|---|
ModelEvaluationName |
Name
Output only. Resource name of the model evaluation. Format:
projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TextExtractionEvaluationMetrics
Evaluation metrics for text extraction models.
Declaration
public TextExtractionEvaluationMetrics TextExtractionEvaluationMetrics { get; set; }
Property Value
Type | Description |
---|---|
TextExtractionEvaluationMetrics |
TextSentimentEvaluationMetrics
Evaluation metrics for text sentiment models.
Declaration
public TextSentimentEvaluationMetrics TextSentimentEvaluationMetrics { get; set; }
Property Value
Type | Description |
---|---|
TextSentimentEvaluationMetrics |
TranslationEvaluationMetrics
Model evaluation metrics for translation.
Declaration
public TranslationEvaluationMetrics TranslationEvaluationMetrics { get; set; }
Property Value
Type | Description |
---|---|
TranslationEvaluationMetrics |