Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecRange

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

A range of values for slice(s). low is inclusive, high is exclusive.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecRange

Returns a new instance of GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecRange.



16336
16337
16338
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16336

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

Instance Attribute Details

#highFloat

Exclusive high value for the range. Corresponds to the JSON property high

Returns:

  • (Float)


16329
16330
16331
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16329

def high
  @high
end

#lowFloat

Inclusive low value for the range. Corresponds to the JSON property low

Returns:

  • (Float)


16334
16335
16336
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16334

def low
  @low
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16341
16342
16343
16344
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16341

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