Class: Google::Apis::MlV1::GoogleCloudMlV1BuiltInAlgorithmOutput

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 output related to a built-in algorithm Job.

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) ⇒ GoogleCloudMlV1BuiltInAlgorithmOutput

Returns a new instance of GoogleCloudMlV1BuiltInAlgorithmOutput.



227
228
229
# File 'generated/google/apis/ml_v1/classes.rb', line 227

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

Instance Attribute Details

#frameworkString

Framework on which the built-in algorithm was trained. Corresponds to the JSON property framework

Returns:

  • (String)


207
208
209
# File 'generated/google/apis/ml_v1/classes.rb', line 207

def framework
  @framework
end

#model_pathString

The Cloud Storage path to the model/ directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning. Corresponds to the JSON property modelPath

Returns:

  • (String)


214
215
216
# File 'generated/google/apis/ml_v1/classes.rb', line 214

def model_path
  @model_path
end

#python_versionString

Python version on which the built-in algorithm was trained. Corresponds to the JSON property pythonVersion

Returns:

  • (String)


219
220
221
# File 'generated/google/apis/ml_v1/classes.rb', line 219

def python_version
  @python_version
end

#runtime_versionString

AI Platform runtime version on which the built-in algorithm was trained. Corresponds to the JSON property runtimeVersion

Returns:

  • (String)


225
226
227
# File 'generated/google/apis/ml_v1/classes.rb', line 225

def runtime_version
  @runtime_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



232
233
234
235
236
237
# File 'generated/google/apis/ml_v1/classes.rb', line 232

def update!(**args)
  @framework = args[:framework] if args.key?(:framework)
  @model_path = args[:model_path] if args.key?(:model_path)
  @python_version = args[:python_version] if args.key?(:python_version)
  @runtime_version = args[:runtime_version] if args.key?(:runtime_version)
end