Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SummaryMetrics
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SummaryMetrics
- 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
The summary metrics for the evaluation run.
Instance Attribute Summary collapse
-
#failed_items ⇒ Fixnum
Optional.
-
#metrics ⇒ Hash<String,Object>
Optional.
-
#total_items ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1SummaryMetrics
constructor
A new instance of GoogleCloudAiplatformV1SummaryMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1SummaryMetrics
Returns a new instance of GoogleCloudAiplatformV1SummaryMetrics.
42533 42534 42535 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 42533 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failed_items ⇒ Fixnum
Optional. The number of items that failed to be evaluated.
Corresponds to the JSON property failedItems
42521 42522 42523 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 42521 def failed_items @failed_items end |
#metrics ⇒ Hash<String,Object>
Optional. Map of metric name to metric value.
Corresponds to the JSON property metrics
42526 42527 42528 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 42526 def metrics @metrics end |
#total_items ⇒ Fixnum
Optional. The total number of items that were evaluated.
Corresponds to the JSON property totalItems
42531 42532 42533 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 42531 def total_items @total_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42538 42539 42540 42541 42542 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 42538 def update!(**args) @failed_items = args[:failed_items] if args.key?(:failed_items) @metrics = args[:metrics] if args.key?(:metrics) @total_items = args[:total_items] if args.key?(:total_items) end |