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