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

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 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.



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

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)


604
605
606
# File 'lib/google/apis/ml_v1/classes.rb', line 604

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)


611
612
613
# File 'lib/google/apis/ml_v1/classes.rb', line 611

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)


616
617
618
# File 'lib/google/apis/ml_v1/classes.rb', line 616

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)


621
622
623
# File 'lib/google/apis/ml_v1/classes.rb', line 621

def runtime_version
  @runtime_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



628
629
630
631
632
633
# File 'lib/google/apis/ml_v1/classes.rb', line 628

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