class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ExampleComparison
Example comparisons comparing ground truth output and predictions for a specific input.
Attributes
ground_truth_example[RW]
An Example is a piece of data and its annotation. For example, an image with label “house”. Corresponds to the JSON property `groundTruthExample` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example]
model_created_examples[RW]
Predictions by the model for the input. Corresponds to the JSON property `modelCreatedExamples` @return [Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Example>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 2117 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 2122 def update!(**args) @ground_truth_example = args[:ground_truth_example] if args.key?(:ground_truth_example) @model_created_examples = args[:model_created_examples] if args.key?(:model_created_examples) end