Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Describes the metrics produced by the evaluation.
Instance Attribute Summary collapse
-
#doc_ndcg ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#doc_precision ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#doc_recall ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#page_ndcg ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#page_recall ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaQualityMetrics
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaQualityMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaQualityMetrics
Returns a new instance of GoogleCloudDiscoveryengineV1alphaQualityMetrics.
9502 9503 9504 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9502 def initialize(**args) update!(**args) end |
Instance Attribute Details
#doc_ndcg ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property docNdcg
9480 9481 9482 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9480 def doc_ndcg @doc_ndcg end |
#doc_precision ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property docPrecision
9485 9486 9487 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9485 def doc_precision @doc_precision end |
#doc_recall ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property docRecall
9490 9491 9492 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9490 def doc_recall @doc_recall end |
#page_ndcg ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property pageNdcg
9495 9496 9497 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9495 def page_ndcg @page_ndcg end |
#page_recall ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property pageRecall
9500 9501 9502 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9500 def page_recall @page_recall end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9507 9508 9509 9510 9511 9512 9513 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9507 def update!(**args) @doc_ndcg = args[:doc_ndcg] if args.key?(:doc_ndcg) @doc_precision = args[:doc_precision] if args.key?(:doc_precision) @doc_recall = args[:doc_recall] if args.key?(:doc_recall) @page_ndcg = args[:page_ndcg] if args.key?(:page_ndcg) @page_recall = args[:page_recall] if args.key?(:page_recall) end |