Class: Google::Apis::BigqueryV2::DoubleHparamSearchSpace

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 a double hyperparameter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DoubleHparamSearchSpace

Returns a new instance of DoubleHparamSearchSpace.



2128
2129
2130
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2128

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

Instance Attribute Details

#candidatesGoogle::Apis::BigqueryV2::DoubleCandidates

Discrete candidates of a double hyperparameter. Corresponds to the JSON property candidates



2121
2122
2123
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2121

def candidates
  @candidates
end

#rangeGoogle::Apis::BigqueryV2::DoubleRange

Range of a double hyperparameter. Corresponds to the JSON property range



2126
2127
2128
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2126

def range
  @range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2133
2134
2135
2136
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2133

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