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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/ml_v1/classes.rb,
lib/google/apis/ml_v1/representations.rb,
lib/google/apis/ml_v1/representations.rb

Overview

Represents results of a training job. Output only.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1TrainingOutput

Returns a new instance of GoogleCloudMlV1TrainingOutput.



2935
2936
2937
# File 'lib/google/apis/ml_v1/classes.rb', line 2935

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



2885
2886
2887
# File 'lib/google/apis/ml_v1/classes.rb', line 2885

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)


2891
2892
2893
# File 'lib/google/apis/ml_v1/classes.rb', line 2891

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)


2896
2897
2898
# File 'lib/google/apis/ml_v1/classes.rb', line 2896

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)


2904
2905
2906
# File 'lib/google/apis/ml_v1/classes.rb', line 2904

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)


2909
2910
2911
# File 'lib/google/apis/ml_v1/classes.rb', line 2909

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)


2915
2916
2917
# File 'lib/google/apis/ml_v1/classes.rb', line 2915

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



2922
2923
2924
# File 'lib/google/apis/ml_v1/classes.rb', line 2922

def trials
  @trials
end

#web_access_urisHash<String,String>

Output only. URIs for accessing interactive shells (one URI for each training node). Only available if training_input.enable_web_access is true. The keys are names of each node in the training job; for example, master- replica-0 for the master node, worker-replica-0 for the first worker, and ps-replica-0 for the first parameter server. The values are the URIs for each node's interactive shell. Corresponds to the JSON property webAccessUris

Returns:

  • (Hash<String,String>)


2933
2934
2935
# File 'lib/google/apis/ml_v1/classes.rb', line 2933

def web_access_uris
  @web_access_uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
# File 'lib/google/apis/ml_v1/classes.rb', line 2940

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)
  @web_access_uris = args[:web_access_uris] if args.key?(:web_access_uris)
end