Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQualityMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQualityMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Describes the metrics produced by the evaluation.
Instance Attribute Summary collapse
-
#doc_ndcg ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#doc_precision ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#doc_recall ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#page_ndcg ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#page_recall ⇒ Google::Apis::DiscoveryengineV1beta::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.
8233 8234 8235 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#doc_ndcg ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property docNdcg
8211 8212 8213 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8211 def doc_ndcg @doc_ndcg end |
#doc_precision ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property docPrecision
8216 8217 8218 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8216 def doc_precision @doc_precision end |
#doc_recall ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property docRecall
8221 8222 8223 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8221 def doc_recall @doc_recall end |
#page_ndcg ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property pageNdcg
8226 8227 8228 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8226 def page_ndcg @page_ndcg end |
#page_recall ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property pageRecall
8231 8232 8233 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8231 def page_recall @page_recall end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8238 8239 8240 8241 8242 8243 8244 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8238 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 |