Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQualityMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQualityMetrics
- 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::GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#doc_precision ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#doc_recall ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#page_ndcg ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
-
#page_recall ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaQualityMetrics
constructor
A new instance of GoogleCloudDiscoveryengineV1betaQualityMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaQualityMetrics
Returns a new instance of GoogleCloudDiscoveryengineV1betaQualityMetrics.
17899 17900 17901 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17899 def initialize(**args) update!(**args) end |
Instance Attribute Details
#doc_ndcg ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property docNdcg
17877 17878 17879 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17877 def doc_ndcg @doc_ndcg end |
#doc_precision ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property docPrecision
17882 17883 17884 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17882 def doc_precision @doc_precision end |
#doc_recall ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property docRecall
17887 17888 17889 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17887 def doc_recall @doc_recall end |
#page_ndcg ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property pageNdcg
17892 17893 17894 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17892 def page_ndcg @page_ndcg end |
#page_recall ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
Stores the metric values at specific top-k levels.
Corresponds to the JSON property pageRecall
17897 17898 17899 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17897 def page_recall @page_recall end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17904 17905 17906 17907 17908 17909 17910 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17904 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 |