Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice (v0.47.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice.

Definition of a slice.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#dimension

def dimension() -> ::String
Returns
  • (::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.

#slice_spec

def slice_spec() -> ::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice::SliceSpec
Returns

#value

def value() -> ::String
Returns
  • (::String) — Output only. The value of the dimension in this slice.