Class: Google::Apis::LanguageV1beta2::XpsTuningTrial

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

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.



4958
4959
4960
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4958

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

Instance Attribute Details

#model_structureGoogle::Apis::LanguageV1beta2::XpsTablesModelStructure

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



4951
4952
4953
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4951

def model_structure
  @model_structure
end

#training_objective_pointGoogle::Apis::LanguageV1beta2::XpsTrainingObjectivePoint

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



4956
4957
4958
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4956

def training_objective_point
  @training_objective_point
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4963
4964
4965
4966
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4963

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