Class: Google::Apis::BigqueryV2::DoubleCandidates

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

Discrete candidates of a double hyperparameter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DoubleCandidates

Returns a new instance of DoubleCandidates.



2471
2472
2473
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2471

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

Instance Attribute Details

#candidatesArray<Float>

Candidates for the double parameter in increasing order. Corresponds to the JSON property candidates

Returns:

  • (Array<Float>)


2469
2470
2471
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2469

def candidates
  @candidates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2476
2477
2478
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2476

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