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.



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

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



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

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



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

def training_objective_point
  @training_objective_point
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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