Class: Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/ml_v1/classes.rb,
generated/google/apis/ml_v1/representations.rb,
generated/google/apis/ml_v1/representations.rb
Overview
Represents results of a training job. Output only.
Instance Attribute Summary collapse
-
#built_in_algorithm_output ⇒ Google::Apis::MlV1::GoogleCloudMlV1BuiltInAlgorithmOutput
Represents output related to a built-in algorithm Job.
-
#completed_trial_count ⇒ Fixnum
The number of hyperparameter tuning trials that completed successfully.
-
#consumed_ml_units ⇒ Float
The amount of ML units consumed by the job.
-
#hyperparameter_metric_tag ⇒ String
The TensorFlow summary tag name used for optimizing hyperparameter tuning trials.
-
#is_built_in_algorithm_job ⇒ Boolean
(also: #is_built_in_algorithm_job?)
Whether this job is a built-in Algorithm job.
-
#is_hyperparameter_tuning_job ⇒ Boolean
(also: #is_hyperparameter_tuning_job?)
Whether this job is a hyperparameter tuning job.
-
#trials ⇒ Array<Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput>
Results for individual Hyperparameter trials.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1TrainingOutput
constructor
A new instance of GoogleCloudMlV1TrainingOutput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1TrainingOutput
Returns a new instance of GoogleCloudMlV1TrainingOutput.
2577 2578 2579 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2577 def initialize(**args) update!(**args) end |
Instance Attribute Details
#built_in_algorithm_output ⇒ Google::Apis::MlV1::GoogleCloudMlV1BuiltInAlgorithmOutput
Represents output related to a built-in algorithm Job.
Corresponds to the JSON property builtInAlgorithmOutput
2537 2538 2539 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2537 def built_in_algorithm_output @built_in_algorithm_output end |
#completed_trial_count ⇒ Fixnum
The number of hyperparameter tuning trials that completed successfully.
Only set for hyperparameter tuning jobs.
Corresponds to the JSON property completedTrialCount
2543 2544 2545 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2543 def completed_trial_count @completed_trial_count end |
#consumed_ml_units ⇒ Float
The amount of ML units consumed by the job.
Corresponds to the JSON property consumedMLUnits
2548 2549 2550 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2548 def consumed_ml_units @consumed_ml_units end |
#hyperparameter_metric_tag ⇒ String
The TensorFlow summary tag name used for optimizing hyperparameter tuning
trials. See
HyperparameterSpec.hyperparameterMetricTag
for more information. Only set for hyperparameter tuning jobs.
Corresponds to the JSON property hyperparameterMetricTag
2557 2558 2559 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2557 def hyperparameter_metric_tag @hyperparameter_metric_tag end |
#is_built_in_algorithm_job ⇒ Boolean Also known as: is_built_in_algorithm_job?
Whether this job is a built-in Algorithm job.
Corresponds to the JSON property isBuiltInAlgorithmJob
2562 2563 2564 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2562 def is_built_in_algorithm_job @is_built_in_algorithm_job end |
#is_hyperparameter_tuning_job ⇒ Boolean Also known as: is_hyperparameter_tuning_job?
Whether this job is a hyperparameter tuning job.
Corresponds to the JSON property isHyperparameterTuningJob
2568 2569 2570 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2568 def is_hyperparameter_tuning_job @is_hyperparameter_tuning_job end |
#trials ⇒ Array<Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput>
Results for individual Hyperparameter trials.
Only set for hyperparameter tuning jobs.
Corresponds to the JSON property trials
2575 2576 2577 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2575 def trials @trials end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2582 2583 2584 2585 2586 2587 2588 2589 2590 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2582 def update!(**args) @built_in_algorithm_output = args[:built_in_algorithm_output] if args.key?(:built_in_algorithm_output) @completed_trial_count = args[:completed_trial_count] if args.key?(:completed_trial_count) @consumed_ml_units = args[:consumed_ml_units] if args.key?(:consumed_ml_units) @hyperparameter_metric_tag = args[:hyperparameter_metric_tag] if args.key?(:hyperparameter_metric_tag) @is_built_in_algorithm_job = args[:is_built_in_algorithm_job] if args.key?(:is_built_in_algorithm_job) @is_hyperparameter_tuning_job = args[:is_hyperparameter_tuning_job] if args.key?(:is_hyperparameter_tuning_job) @trials = args[:trials] if args.key?(:trials) end |