Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQualityMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQualityMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Describes the metrics produced by the evaluation.
Instance Attribute Summary collapse
-
#doc_ndcg ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#doc_precision ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#doc_recall ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#page_ndcg ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#page_recall ⇒ Google::Apis::DiscoveryengineV1::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.
12011 12012 12013 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12011 def initialize(**args) update!(**args) end |
Instance Attribute Details
#doc_ndcg ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property docNdcg
11989 11990 11991 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11989 def doc_ndcg @doc_ndcg end |
#doc_precision ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property docPrecision
11994 11995 11996 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11994 def doc_precision @doc_precision end |
#doc_recall ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property docRecall
11999 12000 12001 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11999 def doc_recall @doc_recall end |
#page_ndcg ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property pageNdcg
12004 12005 12006 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12004 def page_ndcg @page_ndcg end |
#page_recall ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property pageRecall
12009 12010 12011 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12009 def page_recall @page_recall end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12016 12017 12018 12019 12020 12021 12022 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12016 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 |