Class: Google::Apis::LanguageV2::XpsTablesTrainingOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsTablesTrainingOperationMetadata
- 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
Instance Attribute Summary collapse
-
#create_model_stage ⇒ String
Current stage of creating model.
-
#optimization_objective ⇒ String
The optimization objective for model.
-
#top_trials ⇒ Array<Google::Apis::LanguageV2::XpsTuningTrial>
This field is for training.
-
#train_budget_milli_node_hours ⇒ Fixnum
Creating model budget.
-
#training_objective_points ⇒ Array<Google::Apis::LanguageV2::XpsTrainingObjectivePoint>
This field records the training objective value with respect to time, giving insight into how the model architecture search is performing as training time elapses.
-
#training_start_time ⇒ String
Timestamp when training process starts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsTablesTrainingOperationMetadata
constructor
A new instance of XpsTablesTrainingOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsTablesTrainingOperationMetadata
Returns a new instance of XpsTablesTrainingOperationMetadata.
4009 4010 4011 |
# File 'lib/google/apis/language_v2/classes.rb', line 4009 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_model_stage ⇒ String
Current stage of creating model.
Corresponds to the JSON property createModelStage
3977 3978 3979 |
# File 'lib/google/apis/language_v2/classes.rb', line 3977 def create_model_stage @create_model_stage end |
#optimization_objective ⇒ String
The optimization objective for model.
Corresponds to the JSON property optimizationObjective
3982 3983 3984 |
# File 'lib/google/apis/language_v2/classes.rb', line 3982 def optimization_objective @optimization_objective end |
#top_trials ⇒ Array<Google::Apis::LanguageV2::XpsTuningTrial>
This field is for training. When the operation is terminated successfully,
AutoML Backend post this field to operation metadata in spanner. If the
metadata has no trials returned, the training operation is supposed to be a
failure.
Corresponds to the JSON property topTrials
3990 3991 3992 |
# File 'lib/google/apis/language_v2/classes.rb', line 3990 def top_trials @top_trials end |
#train_budget_milli_node_hours ⇒ Fixnum
Creating model budget.
Corresponds to the JSON property trainBudgetMilliNodeHours
3995 3996 3997 |
# File 'lib/google/apis/language_v2/classes.rb', line 3995 def train_budget_milli_node_hours @train_budget_milli_node_hours end |
#training_objective_points ⇒ Array<Google::Apis::LanguageV2::XpsTrainingObjectivePoint>
This field records the training objective value with respect to time, giving
insight into how the model architecture search is performing as training time
elapses.
Corresponds to the JSON property trainingObjectivePoints
4002 4003 4004 |
# File 'lib/google/apis/language_v2/classes.rb', line 4002 def training_objective_points @training_objective_points end |
#training_start_time ⇒ String
Timestamp when training process starts.
Corresponds to the JSON property trainingStartTime
4007 4008 4009 |
# File 'lib/google/apis/language_v2/classes.rb', line 4007 def training_start_time @training_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4014 4015 4016 4017 4018 4019 4020 4021 |
# File 'lib/google/apis/language_v2/classes.rb', line 4014 def update!(**args) @create_model_stage = args[:create_model_stage] if args.key?(:create_model_stage) @optimization_objective = args[:optimization_objective] if args.key?(:optimization_objective) @top_trials = args[:top_trials] if args.key?(:top_trials) @train_budget_milli_node_hours = args[:train_budget_milli_node_hours] if args.key?(:train_budget_milli_node_hours) @training_objective_points = args[:training_objective_points] if args.key?(:training_objective_points) @training_start_time = args[:training_start_time] if args.key?(:training_start_time) end |