Class: Google::Apis::BigqueryV2::DoubleCandidates
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::DoubleCandidates
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
Discrete candidates of a double hyperparameter.
Instance Attribute Summary collapse
-
#candidates ⇒ Array<Float>
Candidates for the double parameter in increasing order.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DoubleCandidates
constructor
A new instance of DoubleCandidates.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DoubleCandidates
Returns a new instance of DoubleCandidates.
2104 2105 2106 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2104 def initialize(**args) update!(**args) end |
Instance Attribute Details
#candidates ⇒ Array<Float>
Candidates for the double parameter in increasing order.
Corresponds to the JSON property candidates
2102 2103 2104 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2102 def candidates @candidates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2109 2110 2111 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2109 def update!(**args) @candidates = args[:candidates] if args.key?(:candidates) end |