Class: Google::Apis::LanguageV2::XpsImageSegmentationEvaluationMetrics
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsImageSegmentationEvaluationMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/representations.rb
Overview
Model evaluation metrics for image segmentation problems. Next tag: 4.
Instance Attribute Summary collapse
-
#confidence_metrics_entries ⇒ Array<Google::Apis::LanguageV2::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.
2596 2597 2598 |
# File 'lib/google/apis/language_v2/classes.rb', line 2596 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_metrics_entries ⇒ Array<Google::Apis::LanguageV2::XpsImageSegmentationEvaluationMetricsConfidenceMetricsEntry>
Metrics that have confidence thresholds. Precision-recall curve can be derived
from it.
Corresponds to the JSON property confidenceMetricsEntries
2594 2595 2596 |
# File 'lib/google/apis/language_v2/classes.rb', line 2594 def confidence_metrics_entries @confidence_metrics_entries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2601 2602 2603 |
# File 'lib/google/apis/language_v2/classes.rb', line 2601 def update!(**args) @confidence_metrics_entries = args[:confidence_metrics_entries] if args.key?(:confidence_metrics_entries) end |