Class: Google::Apis::LanguageV2::XpsTuningTrial

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 a tuning job generated, will get forwarded to Stackdriver as model tuning logs. Setting this as a standalone message out of CreateModelMetadata to avoid confusion as we expose this message only to users.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTuningTrial

Returns a new instance of XpsTuningTrial.



4653
4654
4655
# File 'lib/google/apis/language_v2/classes.rb', line 4653

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

Instance Attribute Details

#model_structureGoogle::Apis::LanguageV2::XpsTablesModelStructure

A description of Tables model structure. Corresponds to the JSON property modelStructure



4646
4647
4648
# File 'lib/google/apis/language_v2/classes.rb', line 4646

def model_structure
  @model_structure
end

#training_objective_pointGoogle::Apis::LanguageV2::XpsTrainingObjectivePoint

The optimization objective evaluation of the eval split data. Corresponds to the JSON property trainingObjectivePoint



4651
4652
4653
# File 'lib/google/apis/language_v2/classes.rb', line 4651

def training_objective_point
  @training_objective_point
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4658
4659
4660
4661
# File 'lib/google/apis/language_v2/classes.rb', line 4658

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