Class: Google::Apis::MlV1::GoogleCloudMlV1ListOptimalTrialsResponse

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

The response message for the ListOptimalTrials method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1ListOptimalTrialsResponse

Returns a new instance of GoogleCloudMlV1ListOptimalTrialsResponse.



1542
1543
1544
# File 'generated/google/apis/ml_v1/classes.rb', line 1542

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

Instance Attribute Details

#trialsArray<Google::Apis::MlV1::GoogleCloudMlV1Trial>

The pareto-optimal trials for multiple objective study or the optimal trial for single objective study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency Corresponds to the JSON property trials



1540
1541
1542
# File 'generated/google/apis/ml_v1/classes.rb', line 1540

def trials
  @trials
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1547
1548
1549
# File 'generated/google/apis/ml_v1/classes.rb', line 1547

def update!(**args)
  @trials = args[:trials] if args.key?(:trials)
end