Class: Google::Apis::LanguageV1beta2::XpsImageSegmentationEvaluationMetrics
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsImageSegmentationEvaluationMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/representations.rb
Overview
Model evaluation metrics for image segmentation problems. Next tag: 4.
Instance Attribute Summary collapse
-
#confidence_metrics_entries ⇒ Array<Google::Apis::LanguageV1beta2::XpsImageSegmentationEvaluationMetricsConfidenceMetricsEntry>
Metrics that have confidence thresholds.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsImageSegmentationEvaluationMetrics
constructor
A new instance of XpsImageSegmentationEvaluationMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsImageSegmentationEvaluationMetrics
Returns a new instance of XpsImageSegmentationEvaluationMetrics.
2902 2903 2904 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2902 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_metrics_entries ⇒ Array<Google::Apis::LanguageV1beta2::XpsImageSegmentationEvaluationMetricsConfidenceMetricsEntry>
Metrics that have confidence thresholds. Precision-recall curve can be derived
from it.
Corresponds to the JSON property confidenceMetricsEntries
2900 2901 2902 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2900 def confidence_metrics_entries @confidence_metrics_entries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2907 2908 2909 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2907 def update!(**args) @confidence_metrics_entries = args[:confidence_metrics_entries] if args.key?(:confidence_metrics_entries) end |