Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotation
- 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
Model error analysis for each annotation.
Instance Attribute Summary collapse
-
#attributed_items ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotationAttributedItem>
Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.
-
#outlier_score ⇒ Float
The outlier score of this annotated item.
-
#outlier_threshold ⇒ Float
The threshold used to determine if this annotation is an outlier or not.
-
#query_type ⇒ String
The query type used for finding the attributed items.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotation
constructor
A new instance of GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotation
Returns a new instance of GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotation.
6390 6391 6392 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6390 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attributed_items ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ErrorAnalysisAnnotationAttributedItem>
Attributed items for a given annotation, typically representing neighbors from
the training sets constrained by the query type.
Corresponds to the JSON property attributedItems
6372 6373 6374 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6372 def attributed_items @attributed_items end |
#outlier_score ⇒ Float
The outlier score of this annotated item. Usually defined as the min of all
distances from attributed items.
Corresponds to the JSON property outlierScore
6378 6379 6380 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6378 def outlier_score @outlier_score end |
#outlier_threshold ⇒ Float
The threshold used to determine if this annotation is an outlier or not.
Corresponds to the JSON property outlierThreshold
6383 6384 6385 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6383 def outlier_threshold @outlier_threshold end |
#query_type ⇒ String
The query type used for finding the attributed items.
Corresponds to the JSON property queryType
6388 6389 6390 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6388 def query_type @query_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6395 6396 6397 6398 6399 6400 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6395 def update!(**args) @attributed_items = args[:attributed_items] if args.key?(:attributed_items) @outlier_score = args[:outlier_score] if args.key?(:outlier_score) @outlier_threshold = args[:outlier_threshold] if args.key?(:outlier_threshold) @query_type = args[:query_type] if args.key?(:query_type) end |