# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/datalabeling/v1beta1/evaluation.proto require 'google/api/annotations_pb' require 'google/api/resource_pb' require 'google/cloud/datalabeling/v1beta1/annotation_pb' require 'google/cloud/datalabeling/v1beta1/annotation_spec_set_pb' require 'google/protobuf/timestamp_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/datalabeling/v1beta1/evaluation.proto", :syntax => :proto3) do add_message "google.cloud.datalabeling.v1beta1.Evaluation" do optional :name, :string, 1 optional :config, :message, 2, "google.cloud.datalabeling.v1beta1.EvaluationConfig" optional :evaluation_job_run_time, :message, 3, "google.protobuf.Timestamp" optional :create_time, :message, 4, "google.protobuf.Timestamp" optional :evaluation_metrics, :message, 5, "google.cloud.datalabeling.v1beta1.EvaluationMetrics" optional :annotation_type, :enum, 6, "google.cloud.datalabeling.v1beta1.AnnotationType" optional :evaluated_item_count, :int64, 7 end add_message "google.cloud.datalabeling.v1beta1.EvaluationConfig" do oneof :vertical_option do optional :bounding_box_evaluation_options, :message, 1, "google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions" end end add_message "google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions" do optional :iou_threshold, :float, 1 end add_message "google.cloud.datalabeling.v1beta1.EvaluationMetrics" do oneof :metrics do optional :classification_metrics, :message, 1, "google.cloud.datalabeling.v1beta1.ClassificationMetrics" optional :object_detection_metrics, :message, 2, "google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics" end end add_message "google.cloud.datalabeling.v1beta1.ClassificationMetrics" do optional :pr_curve, :message, 1, "google.cloud.datalabeling.v1beta1.PrCurve" optional :confusion_matrix, :message, 2, "google.cloud.datalabeling.v1beta1.ConfusionMatrix" end add_message "google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics" do optional :pr_curve, :message, 1, "google.cloud.datalabeling.v1beta1.PrCurve" end add_message "google.cloud.datalabeling.v1beta1.PrCurve" do optional :annotation_spec, :message, 1, "google.cloud.datalabeling.v1beta1.AnnotationSpec" optional :area_under_curve, :float, 2 repeated :confidence_metrics_entries, :message, 3, "google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry" optional :mean_average_precision, :float, 4 end add_message "google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry" do optional :confidence_threshold, :float, 1 optional :recall, :float, 2 optional :precision, :float, 3 optional :f1_score, :float, 4 optional :recall_at1, :float, 5 optional :precision_at1, :float, 6 optional :f1_score_at1, :float, 7 optional :recall_at5, :float, 8 optional :precision_at5, :float, 9 optional :f1_score_at5, :float, 10 end add_message "google.cloud.datalabeling.v1beta1.ConfusionMatrix" do repeated :row, :message, 1, "google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row" end add_message "google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry" do optional :annotation_spec, :message, 1, "google.cloud.datalabeling.v1beta1.AnnotationSpec" optional :item_count, :int32, 2 end add_message "google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row" do optional :annotation_spec, :message, 1, "google.cloud.datalabeling.v1beta1.AnnotationSpec" repeated :entries, :message, 2, "google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry" end end end module Google module Cloud module DataLabeling module V1beta1 Evaluation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.Evaluation").msgclass EvaluationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.EvaluationConfig").msgclass BoundingBoxEvaluationOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.BoundingBoxEvaluationOptions").msgclass EvaluationMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.EvaluationMetrics").msgclass ClassificationMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.ClassificationMetrics").msgclass ObjectDetectionMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.ObjectDetectionMetrics").msgclass PrCurve = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.PrCurve").msgclass PrCurve::ConfidenceMetricsEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry").msgclass ConfusionMatrix = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.ConfusionMatrix").msgclass ConfusionMatrix::ConfusionMatrixEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.ConfusionMatrix.ConfusionMatrixEntry").msgclass ConfusionMatrix::Row = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datalabeling.v1beta1.ConfusionMatrix.Row").msgclass end end end end