Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecRange

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/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) ⇒ GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecRange

Returns a new instance of GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecRange.



13673
13674
13675
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13673

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

Instance Attribute Details

#highFloat

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

Returns:

  • (Float)


13666
13667
13668
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13666

def high
  @high
end

#lowFloat

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

Returns:

  • (Float)


13671
13672
13673
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13671

def low
  @low
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13678
13679
13680
13681
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13678

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