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

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1BuiltInAlgorithmOutput

Returns a new instance of GoogleCloudMlV1BuiltInAlgorithmOutput.



625
626
627
# File 'generated/google/apis/ml_v1/classes.rb', line 625

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)


606
607
608
# File 'generated/google/apis/ml_v1/classes.rb', line 606

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)


613
614
615
# File 'generated/google/apis/ml_v1/classes.rb', line 613

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)


618
619
620
# File 'generated/google/apis/ml_v1/classes.rb', line 618

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)


623
624
625
# File 'generated/google/apis/ml_v1/classes.rb', line 623

def runtime_version
  @runtime_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



630
631
632
633
634
635
# File 'generated/google/apis/ml_v1/classes.rb', line 630

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