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
- 
  
    
      #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. 
- 
  
    
      #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
| 1220 1221 1222 | # File 'generated/google/apis/ml_v1/classes.rb', line 1220 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#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
| 1201 1202 1203 | # File 'generated/google/apis/ml_v1/classes.rb', line 1201 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
| 1206 1207 1208 | # File 'generated/google/apis/ml_v1/classes.rb', line 1206 def consumed_ml_units @consumed_ml_units 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
| 1211 1212 1213 | # File 'generated/google/apis/ml_v1/classes.rb', line 1211 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
| 1218 1219 1220 | # File 'generated/google/apis/ml_v1/classes.rb', line 1218 def trials @trials end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1225 1226 1227 1228 1229 1230 | # File 'generated/google/apis/ml_v1/classes.rb', line 1225 def update!(**args) @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) @is_hyperparameter_tuning_job = args[:is_hyperparameter_tuning_job] if args.key?(:is_hyperparameter_tuning_job) @trials = args[:trials] if args.key?(:trials) end |