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.



16312
16313
16314
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16312

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



16310
16311
16312
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16310

def configs
  @configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16317
16318
16319
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16317

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