Class: Google::Apis::MlV1::GoogleCloudMlV1Trial
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1Trial
- 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
A message representing a Trial.
Instance Attribute Summary collapse
-
#client_id ⇒ String
Output only.
-
#end_time ⇒ String
Output only.
-
#final_measurement ⇒ Google::Apis::MlV1::GoogleCloudMlV1Measurement
A message representing a Measurement.
-
#infeasible_reason ⇒ String
Output only.
-
#measurements ⇒ Array<Google::Apis::MlV1::GoogleCloudMlV1Measurement>
A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_time).
-
#name ⇒ String
Output only.
-
#parameters ⇒ Array<Google::Apis::MlV1::GoogleCloudMlV1TrialParameter>
The parameters of the Trial.
-
#start_time ⇒ String
Output only.
-
#state ⇒ String
The detailed state of a trial.
-
#trial_infeasible ⇒ Boolean
(also: #trial_infeasible?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1Trial
constructor
A new instance of GoogleCloudMlV1Trial.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1Trial
Returns a new instance of GoogleCloudMlV1Trial.
2652 2653 2654 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2652 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_id ⇒ String
Output only. The identifier of the client that originally requested this trial.
Corresponds to the JSON property clientId
2600 2601 2602 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2600 def client_id @client_id end |
#end_time ⇒ String
Output only. Time the Trial's status changed to COMPLETED.
Corresponds to the JSON property endTime
2605 2606 2607 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2605 def end_time @end_time end |
#final_measurement ⇒ Google::Apis::MlV1::GoogleCloudMlV1Measurement
A message representing a Measurement.
Corresponds to the JSON property finalMeasurement
2610 2611 2612 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2610 def final_measurement @final_measurement end |
#infeasible_reason ⇒ String
Output only. A human readable string describing why the Trial is
infeasible. This should only be set if trial_infeasible is true.
Corresponds to the JSON property infeasibleReason
2616 2617 2618 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2616 def infeasible_reason @infeasible_reason end |
#measurements ⇒ Array<Google::Apis::MlV1::GoogleCloudMlV1Measurement>
A list of measurements that are strictly lexicographically
ordered by their induced tuples (steps, elapsed_time).
These are used for early stopping computations.
Corresponds to the JSON property measurements
2623 2624 2625 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2623 def measurements @measurements end |
#name ⇒ String
Output only. Name of the trial assigned by the service.
Corresponds to the JSON property name
2628 2629 2630 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2628 def name @name end |
#parameters ⇒ Array<Google::Apis::MlV1::GoogleCloudMlV1TrialParameter>
The parameters of the Trial.
Corresponds to the JSON property parameters
2633 2634 2635 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2633 def parameters @parameters end |
#start_time ⇒ String
Output only. Time the Trial was started.
Corresponds to the JSON property startTime
2638 2639 2640 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2638 def start_time @start_time end |
#state ⇒ String
The detailed state of a trial.
Corresponds to the JSON property state
2643 2644 2645 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2643 def state @state end |
#trial_infeasible ⇒ Boolean Also known as: trial_infeasible?
Output only. True if the parameters in this trial should not be attempted
again.
Corresponds to the JSON property trialInfeasible
2649 2650 2651 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2649 def trial_infeasible @trial_infeasible end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 |
# File 'generated/google/apis/ml_v1/classes.rb', line 2657 def update!(**args) @client_id = args[:client_id] if args.key?(:client_id) @end_time = args[:end_time] if args.key?(:end_time) @final_measurement = args[:final_measurement] if args.key?(:final_measurement) @infeasible_reason = args[:infeasible_reason] if args.key?(:infeasible_reason) @measurements = args[:measurements] if args.key?(:measurements) @name = args[:name] if args.key?(:name) @parameters = args[:parameters] if args.key?(:parameters) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) @trial_infeasible = args[:trial_infeasible] if args.key?(:trial_infeasible) end |