Class: Google::Apis::BigqueryV2::IntHparamSearchSpace

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IntHparamSearchSpace

Returns a new instance of IntHparamSearchSpace.



4120
4121
4122
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4120

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

Instance Attribute Details

#candidatesGoogle::Apis::BigqueryV2::IntCandidates

Discrete candidates of an int hyperparameter. Corresponds to the JSON property candidates



4113
4114
4115
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4113

def candidates
  @candidates
end

#rangeGoogle::Apis::BigqueryV2::IntRange

Range of an int hyperparameter. Corresponds to the JSON property range



4118
4119
4120
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4118

def range
  @range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4125
4126
4127
4128
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4125

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