Class: Google::Apis::LanguageV2::XpsTablesClassificationMetrics

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

Metrics for Tables classification problems.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTablesClassificationMetrics

Returns a new instance of XpsTablesClassificationMetrics.



3549
3550
3551
# File 'lib/google/apis/language_v2/classes.rb', line 3549

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

Instance Attribute Details

#curve_metricsArray<Google::Apis::LanguageV2::XpsTablesClassificationMetricsCurveMetrics>

Metrics building a curve. Corresponds to the JSON property curveMetrics



3547
3548
3549
# File 'lib/google/apis/language_v2/classes.rb', line 3547

def curve_metrics
  @curve_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3554
3555
3556
# File 'lib/google/apis/language_v2/classes.rb', line 3554

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