Class: Google::Apis::LanguageV1::XpsTablesEvaluationMetrics
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1::XpsTablesEvaluationMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1/classes.rb,
lib/google/apis/language_v1/representations.rb,
lib/google/apis/language_v1/representations.rb
Instance Attribute Summary collapse
-
#classification_metrics ⇒ Google::Apis::LanguageV1::XpsTablesClassificationMetrics
Metrics for Tables classification problems.
-
#regression_metrics ⇒ Google::Apis::LanguageV1::XpsTablesRegressionMetrics
Metrics for Tables regression problems.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsTablesEvaluationMetrics
constructor
A new instance of XpsTablesEvaluationMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsTablesEvaluationMetrics
Returns a new instance of XpsTablesEvaluationMetrics.
4026 4027 4028 |
# File 'lib/google/apis/language_v1/classes.rb', line 4026 def initialize(**args) update!(**args) end |
Instance Attribute Details
#classification_metrics ⇒ Google::Apis::LanguageV1::XpsTablesClassificationMetrics
Metrics for Tables classification problems.
Corresponds to the JSON property classificationMetrics
4019 4020 4021 |
# File 'lib/google/apis/language_v1/classes.rb', line 4019 def classification_metrics @classification_metrics end |
#regression_metrics ⇒ Google::Apis::LanguageV1::XpsTablesRegressionMetrics
Metrics for Tables regression problems.
Corresponds to the JSON property regressionMetrics
4024 4025 4026 |
# File 'lib/google/apis/language_v1/classes.rb', line 4024 def regression_metrics @regression_metrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4031 4032 4033 4034 |
# File 'lib/google/apis/language_v1/classes.rb', line 4031 def update!(**args) @classification_metrics = args[:classification_metrics] if args.key?(:classification_metrics) @regression_metrics = args[:regression_metrics] if args.key?(:regression_metrics) end |