Class: Google::Apis::LanguageV1beta2::XpsImageSegmentationEvaluationMetrics

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsImageSegmentationEvaluationMetrics

Returns a new instance of XpsImageSegmentationEvaluationMetrics.



2897
2898
2899
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2897

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#confidence_metrics_entriesArray<Google::Apis::LanguageV1beta2::XpsImageSegmentationEvaluationMetricsConfidenceMetricsEntry>

Metrics that have confidence thresholds. Precision-recall curve can be derived from it. Corresponds to the JSON property confidenceMetricsEntries



2895
2896
2897
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2895

def confidence_metrics_entries
  @confidence_metrics_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2902
2903
2904
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2902

def update!(**args)
  @confidence_metrics_entries = args[:confidence_metrics_entries] if args.key?(:confidence_metrics_entries)
end