Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpec

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

Specification for how the data should be sliced.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpec

Returns a new instance of GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpec.



18587
18588
18589
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18587

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

Instance Attribute Details

#configsHash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecSliceConfig>

Mapping configuration for this SliceSpec. The key is the name of the feature. By default, the key will be prefixed by "instance" as a dictionary prefix for Vertex Batch Predictions output format. Corresponds to the JSON property configs



18585
18586
18587
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18585

def configs
  @configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18592
18593
18594
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18592

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