Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#classification_metrics ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ClassificationMetrics
Metrics calculated for a classification model.
-
#object_detection_metrics ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics
Metrics calculated for an image object detection (bounding box) model.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1EvaluationMetrics
constructor
A new instance of GoogleCloudDatalabelingV1beta1EvaluationMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1EvaluationMetrics
Returns a new instance of GoogleCloudDatalabelingV1beta1EvaluationMetrics.
2009 2010 2011 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2009 def initialize(**args) update!(**args) end |
Instance Attribute Details
#classification_metrics ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ClassificationMetrics
Metrics calculated for a classification model.
Corresponds to the JSON property classificationMetrics
2002 2003 2004 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2002 def classification_metrics @classification_metrics end |
#object_detection_metrics ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics
Metrics calculated for an image object detection (bounding box) model.
Corresponds to the JSON property objectDetectionMetrics
2007 2008 2009 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2007 def object_detection_metrics @object_detection_metrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2014 2015 2016 2017 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2014 def update!(**args) @classification_metrics = args[:classification_metrics] if args.key?(:classification_metrics) @object_detection_metrics = args[:object_detection_metrics] if args.key?(:object_detection_metrics) end |