Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec

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

Specification for how the data should be sliced.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec

Returns a new instance of GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec.



15002
15003
15004
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15002

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

Instance Attribute Details

#configsHash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecSliceConfig>

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



15000
15001
15002
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15000

def configs
  @configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15007
15008
15009
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15007

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