Class: Google::Apis::LanguageV1::XpsTuningTrial

Inherits:
Object
  • Object
show all
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

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.



4938
4939
4940
# File 'lib/google/apis/language_v1/classes.rb', line 4938

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

Instance Attribute Details

#model_structureGoogle::Apis::LanguageV1::XpsTablesModelStructure

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



4931
4932
4933
# File 'lib/google/apis/language_v1/classes.rb', line 4931

def model_structure
  @model_structure
end

#training_objective_pointGoogle::Apis::LanguageV1::XpsTrainingObjectivePoint

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



4936
4937
4938
# File 'lib/google/apis/language_v1/classes.rb', line 4936

def training_objective_point
  @training_objective_point
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4943
4944
4945
4946
# File 'lib/google/apis/language_v1/classes.rb', line 4943

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