Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AggregationResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AggregationResult
- 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
The aggregation result for a single metric.
Instance Attribute Summary collapse
-
#aggregation_metric ⇒ String
Aggregation metric.
-
#bleu_metric_value ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BleuMetricValue
Bleu metric value for an instance.
-
#custom_code_execution_result ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CustomCodeExecutionResult
Result for custom code execution metric.
-
#exact_match_metric_value ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExactMatchMetricValue
Exact match metric value for an instance.
-
#pairwise_metric_result ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PairwiseMetricResult
Spec for pairwise metric result.
-
#pointwise_metric_result ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PointwiseMetricResult
Spec for pointwise metric result.
-
#rouge_metric_value ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RougeMetricValue
Rouge metric value for an instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AggregationResult
constructor
A new instance of GoogleCloudAiplatformV1beta1AggregationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AggregationResult
Returns a new instance of GoogleCloudAiplatformV1beta1AggregationResult.
1308 1309 1310 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1308 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aggregation_metric ⇒ String
Aggregation metric.
Corresponds to the JSON property aggregationMetric
1276 1277 1278 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1276 def aggregation_metric @aggregation_metric end |
#bleu_metric_value ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BleuMetricValue
Bleu metric value for an instance.
Corresponds to the JSON property bleuMetricValue
1281 1282 1283 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1281 def bleu_metric_value @bleu_metric_value end |
#custom_code_execution_result ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CustomCodeExecutionResult
Result for custom code execution metric.
Corresponds to the JSON property customCodeExecutionResult
1286 1287 1288 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1286 def custom_code_execution_result @custom_code_execution_result end |
#exact_match_metric_value ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExactMatchMetricValue
Exact match metric value for an instance.
Corresponds to the JSON property exactMatchMetricValue
1291 1292 1293 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1291 def exact_match_metric_value @exact_match_metric_value end |
#pairwise_metric_result ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PairwiseMetricResult
Spec for pairwise metric result.
Corresponds to the JSON property pairwiseMetricResult
1296 1297 1298 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1296 def pairwise_metric_result @pairwise_metric_result end |
#pointwise_metric_result ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PointwiseMetricResult
Spec for pointwise metric result.
Corresponds to the JSON property pointwiseMetricResult
1301 1302 1303 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1301 def pointwise_metric_result @pointwise_metric_result end |
#rouge_metric_value ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RougeMetricValue
Rouge metric value for an instance.
Corresponds to the JSON property rougeMetricValue
1306 1307 1308 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1306 def rouge_metric_value @rouge_metric_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1313 1314 1315 1316 1317 1318 1319 1320 1321 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1313 def update!(**args) @aggregation_metric = args[:aggregation_metric] if args.key?(:aggregation_metric) @bleu_metric_value = args[:bleu_metric_value] if args.key?(:bleu_metric_value) @custom_code_execution_result = args[:custom_code_execution_result] if args.key?(:custom_code_execution_result) @exact_match_metric_value = args[:exact_match_metric_value] if args.key?(:exact_match_metric_value) @pairwise_metric_result = args[:pairwise_metric_result] if args.key?(:pairwise_metric_result) @pointwise_metric_result = args[:pointwise_metric_result] if args.key?(:pointwise_metric_result) @rouge_metric_value = args[:rouge_metric_value] if args.key?(:rouge_metric_value) end |