Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationSliceSlice
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationSliceSlice
- 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
Definition of a slice.
Instance Attribute Summary collapse
-
#dimension ⇒ String
Output only.
-
#slice_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpec
Specification for how the data should be sliced.
-
#value ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelEvaluationSliceSlice
constructor
A new instance of GoogleCloudAiplatformV1beta1ModelEvaluationSliceSlice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelEvaluationSliceSlice
Returns a new instance of GoogleCloudAiplatformV1beta1ModelEvaluationSliceSlice.
16289 16290 16291 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16289 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension ⇒ String
Output only. The dimension of the slice. Well-known dimensions are: *
annotationSpec
: This slice is on the test data that has either ground truth
or prediction with AnnotationSpec.display_name equals to value. * slice
:
This slice is a user customized slice defined by its SliceSpec.
Corresponds to the JSON property dimension
16277 16278 16279 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16277 def dimension @dimension end |
#slice_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpec
Specification for how the data should be sliced.
Corresponds to the JSON property sliceSpec
16282 16283 16284 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16282 def slice_spec @slice_spec end |
#value ⇒ String
Output only. The value of the dimension in this slice.
Corresponds to the JSON property value
16287 16288 16289 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16287 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16294 16295 16296 16297 16298 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16294 def update!(**args) @dimension = args[:dimension] if args.key?(:dimension) @slice_spec = args[:slice_spec] if args.key?(:slice_spec) @value = args[:value] if args.key?(:value) end |