Class: Google::Apis::BigqueryV2::IntHparamSearchSpace
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::IntHparamSearchSpace
- 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
Search space for an int hyperparameter.
Instance Attribute Summary collapse
-
#candidates ⇒ Google::Apis::BigqueryV2::IntCandidates
Discrete candidates of an int hyperparameter.
-
#range ⇒ Google::Apis::BigqueryV2::IntRange
Range of an int hyperparameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IntHparamSearchSpace
constructor
A new instance of IntHparamSearchSpace.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IntHparamSearchSpace
Returns a new instance of IntHparamSearchSpace.
3432 3433 3434 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3432 def initialize(**args) update!(**args) end |
Instance Attribute Details
#candidates ⇒ Google::Apis::BigqueryV2::IntCandidates
Discrete candidates of an int hyperparameter.
Corresponds to the JSON property candidates
3425 3426 3427 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3425 def candidates @candidates end |
#range ⇒ Google::Apis::BigqueryV2::IntRange
Range of an int hyperparameter.
Corresponds to the JSON property range
3430 3431 3432 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3430 def range @range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3437 3438 3439 3440 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3437 def update!(**args) @candidates = args[:candidates] if args.key?(:candidates) @range = args[:range] if args.key?(:range) end |