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.



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

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



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