Class: Google::Cloud::AIPlatform::V1::ErrorAnalysisAnnotation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb

Overview

Model error analysis for each annotation.

Defined Under Namespace

Modules: QueryType Classes: AttributedItem

Instance Attribute Summary collapse

Instance Attribute Details

#attributed_items::Array<::Google::Cloud::AIPlatform::V1::ErrorAnalysisAnnotation::AttributedItem>

Returns Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.

Returns:



150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# File 'proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb', line 150

class ErrorAnalysisAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Attributed items for a given annotation, typically representing neighbors
  # from the training sets constrained by the query type.
  # @!attribute [rw] annotation_resource_name
  #   @return [::String]
  #     The unique ID for each annotation. Used by FE to allocate the annotation
  #     in DB.
  # @!attribute [rw] distance
  #   @return [::Float]
  #     The distance of this item to the annotation.
  class AttributedItem
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The query type used for finding the attributed items.
  module QueryType
    # Unspecified query type for model error analysis.
    QUERY_TYPE_UNSPECIFIED = 0

    # Query similar samples across all classes in the dataset.
    ALL_SIMILAR = 1

    # Query similar samples from the same class of the input sample.
    SAME_CLASS_SIMILAR = 2

    # Query dissimilar samples from the same class of the input sample.
    SAME_CLASS_DISSIMILAR = 3
  end
end

#outlier_score::Float

Returns The outlier score of this annotated item. Usually defined as the min of all distances from attributed items.

Returns:

  • (::Float)

    The outlier score of this annotated item. Usually defined as the min of all distances from attributed items.



150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# File 'proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb', line 150

class ErrorAnalysisAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Attributed items for a given annotation, typically representing neighbors
  # from the training sets constrained by the query type.
  # @!attribute [rw] annotation_resource_name
  #   @return [::String]
  #     The unique ID for each annotation. Used by FE to allocate the annotation
  #     in DB.
  # @!attribute [rw] distance
  #   @return [::Float]
  #     The distance of this item to the annotation.
  class AttributedItem
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The query type used for finding the attributed items.
  module QueryType
    # Unspecified query type for model error analysis.
    QUERY_TYPE_UNSPECIFIED = 0

    # Query similar samples across all classes in the dataset.
    ALL_SIMILAR = 1

    # Query similar samples from the same class of the input sample.
    SAME_CLASS_SIMILAR = 2

    # Query dissimilar samples from the same class of the input sample.
    SAME_CLASS_DISSIMILAR = 3
  end
end

#outlier_threshold::Float

Returns The threshold used to determine if this annotation is an outlier or not.

Returns:

  • (::Float)

    The threshold used to determine if this annotation is an outlier or not.



150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# File 'proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb', line 150

class ErrorAnalysisAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Attributed items for a given annotation, typically representing neighbors
  # from the training sets constrained by the query type.
  # @!attribute [rw] annotation_resource_name
  #   @return [::String]
  #     The unique ID for each annotation. Used by FE to allocate the annotation
  #     in DB.
  # @!attribute [rw] distance
  #   @return [::Float]
  #     The distance of this item to the annotation.
  class AttributedItem
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The query type used for finding the attributed items.
  module QueryType
    # Unspecified query type for model error analysis.
    QUERY_TYPE_UNSPECIFIED = 0

    # Query similar samples across all classes in the dataset.
    ALL_SIMILAR = 1

    # Query similar samples from the same class of the input sample.
    SAME_CLASS_SIMILAR = 2

    # Query dissimilar samples from the same class of the input sample.
    SAME_CLASS_DISSIMILAR = 3
  end
end

#query_type::Google::Cloud::AIPlatform::V1::ErrorAnalysisAnnotation::QueryType

Returns The query type used for finding the attributed items.

Returns:



150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# File 'proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb', line 150

class ErrorAnalysisAnnotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Attributed items for a given annotation, typically representing neighbors
  # from the training sets constrained by the query type.
  # @!attribute [rw] annotation_resource_name
  #   @return [::String]
  #     The unique ID for each annotation. Used by FE to allocate the annotation
  #     in DB.
  # @!attribute [rw] distance
  #   @return [::Float]
  #     The distance of this item to the annotation.
  class AttributedItem
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The query type used for finding the attributed items.
  module QueryType
    # Unspecified query type for model error analysis.
    QUERY_TYPE_UNSPECIFIED = 0

    # Query similar samples across all classes in the dataset.
    ALL_SIMILAR = 1

    # Query similar samples from the same class of the input sample.
    SAME_CLASS_SIMILAR = 2

    # Query dissimilar samples from the same class of the input sample.
    SAME_CLASS_DISSIMILAR = 3
  end
end