Class: Google::Apis::MlV1::GoogleCloudMlV1TrainingOutput

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1TrainingOutput

Returns a new instance of GoogleCloudMlV1TrainingOutput.



1746
1747
1748
# File 'generated/google/apis/ml_v1/classes.rb', line 1746

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

Instance Attribute Details

#built_in_algorithm_outputGoogle::Apis::MlV1::GoogleCloudMlV1BuiltInAlgorithmOutput

Represents output related to a built-in algorithm Job. Corresponds to the JSON property builtInAlgorithmOutput



1706
1707
1708
# File 'generated/google/apis/ml_v1/classes.rb', line 1706

def built_in_algorithm_output
  @built_in_algorithm_output
end

#completed_trial_countFixnum

The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs. Corresponds to the JSON property completedTrialCount

Returns:

  • (Fixnum)


1712
1713
1714
# File 'generated/google/apis/ml_v1/classes.rb', line 1712

def completed_trial_count
  @completed_trial_count
end

#consumed_ml_unitsFloat

The amount of ML units consumed by the job. Corresponds to the JSON property consumedMLUnits

Returns:

  • (Float)


1717
1718
1719
# File 'generated/google/apis/ml_v1/classes.rb', line 1717

def consumed_ml_units
  @consumed_ml_units
end

#hyperparameter_metric_tagString

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

Returns:

  • (String)


1726
1727
1728
# File 'generated/google/apis/ml_v1/classes.rb', line 1726

def hyperparameter_metric_tag
  @hyperparameter_metric_tag
end

#is_built_in_algorithm_jobBoolean Also known as: is_built_in_algorithm_job?

Whether this job is a built-in Algorithm job. Corresponds to the JSON property isBuiltInAlgorithmJob

Returns:

  • (Boolean)


1731
1732
1733
# File 'generated/google/apis/ml_v1/classes.rb', line 1731

def is_built_in_algorithm_job
  @is_built_in_algorithm_job
end

#is_hyperparameter_tuning_jobBoolean Also known as: is_hyperparameter_tuning_job?

Whether this job is a hyperparameter tuning job. Corresponds to the JSON property isHyperparameterTuningJob

Returns:

  • (Boolean)


1737
1738
1739
# File 'generated/google/apis/ml_v1/classes.rb', line 1737

def is_hyperparameter_tuning_job
  @is_hyperparameter_tuning_job
end

#trialsArray<Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput>

Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs. Corresponds to the JSON property trials



1744
1745
1746
# File 'generated/google/apis/ml_v1/classes.rb', line 1744

def trials
  @trials
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1751
1752
1753
1754
1755
1756
1757
1758
1759
# File 'generated/google/apis/ml_v1/classes.rb', line 1751

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