Class: Google::Apis::LanguageV1beta2::XpsTablesEvaluationMetrics

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTablesEvaluationMetrics

Returns a new instance of XpsTablesEvaluationMetrics.



4046
4047
4048
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4046

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

Instance Attribute Details

#classification_metricsGoogle::Apis::LanguageV1beta2::XpsTablesClassificationMetrics

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



4039
4040
4041
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4039

def classification_metrics
  @classification_metrics
end

#regression_metricsGoogle::Apis::LanguageV1beta2::XpsTablesRegressionMetrics

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



4044
4045
4046
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4044

def regression_metrics
  @regression_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4051
4052
4053
4054
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4051

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