public sealed class ModelEvaluation : IMessage<ModelEvaluation>, IEquatable<ModelEvaluation>, IDeepCloneable<ModelEvaluation>, IBufferMessage, IMessage
Evaluation results of a model.
Implements
IMessage<ModelEvaluation>, IEquatable<ModelEvaluation>, IDeepCloneable<ModelEvaluation>, IBufferMessage, IMessageNamespace
Google.Cloud.AutoML.V1Assembly
Google.Cloud.AutoML.V1.dll
Constructors
ModelEvaluation()
public ModelEvaluation()
ModelEvaluation(ModelEvaluation)
public ModelEvaluation(ModelEvaluation other)
Parameter | |
---|---|
Name | Description |
other | ModelEvaluation |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ClassificationEvaluationMetrics |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Timestamp when this model evaluation was created.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Int32 |
ImageObjectDetectionEvaluationMetrics
public ImageObjectDetectionEvaluationMetrics ImageObjectDetectionEvaluationMetrics { get; set; }
Model evaluation metrics for image object detection.
Property Value | |
---|---|
Type | Description |
ImageObjectDetectionEvaluationMetrics |
MetricsCase
public ModelEvaluation.MetricsOneofCase MetricsCase { get; }
Property Value | |
---|---|
Type | Description |
ModelEvaluation.MetricsOneofCase |
ModelEvaluationName
public ModelEvaluationName ModelEvaluationName { get; set; }
ModelEvaluationName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
TextExtractionEvaluationMetrics
public TextExtractionEvaluationMetrics TextExtractionEvaluationMetrics { get; set; }
Evaluation metrics for text extraction models.
Property Value | |
---|---|
Type | Description |
TextExtractionEvaluationMetrics |
TextSentimentEvaluationMetrics
public TextSentimentEvaluationMetrics TextSentimentEvaluationMetrics { get; set; }
Evaluation metrics for text sentiment models.
Property Value | |
---|---|
Type | Description |
TextSentimentEvaluationMetrics |
TranslationEvaluationMetrics
public TranslationEvaluationMetrics TranslationEvaluationMetrics { get; set; }
Model evaluation metrics for translation.
Property Value | |
---|---|
Type | Description |
TranslationEvaluationMetrics |