Class: Google::Apis::LanguageV2::XpsTablesEvaluationMetrics

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTablesEvaluationMetrics

Returns a new instance of XpsTablesEvaluationMetrics.



3740
3741
3742
# File 'lib/google/apis/language_v2/classes.rb', line 3740

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

Instance Attribute Details

#classification_metricsGoogle::Apis::LanguageV2::XpsTablesClassificationMetrics

Metrics for Tables classification problems. Corresponds to the JSON property classificationMetrics



3733
3734
3735
# File 'lib/google/apis/language_v2/classes.rb', line 3733

def classification_metrics
  @classification_metrics
end

#regression_metricsGoogle::Apis::LanguageV2::XpsTablesRegressionMetrics

Metrics for Tables regression problems. Corresponds to the JSON property regressionMetrics



3738
3739
3740
# File 'lib/google/apis/language_v2/classes.rb', line 3738

def regression_metrics
  @regression_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3745
3746
3747
3748
# File 'lib/google/apis/language_v2/classes.rb', line 3745

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