Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::QualityMetrics::TopkMetrics (v0.13.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::QualityMetrics::TopkMetrics.

Stores the metric values at specific top-k levels.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#top_1

def top_1() -> ::Float
Returns
  • (::Float) — The top-1 value.

#top_10

def top_10() -> ::Float
Returns
  • (::Float) — The top-10 value.

#top_10=

def top_10=(value) -> ::Float
Parameter
  • value (::Float) — The top-10 value.
Returns
  • (::Float) — The top-10 value.

#top_1=

def top_1=(value) -> ::Float
Parameter
  • value (::Float) — The top-1 value.
Returns
  • (::Float) — The top-1 value.

#top_3

def top_3() -> ::Float
Returns
  • (::Float) — The top-3 value.

#top_3=

def top_3=(value) -> ::Float
Parameter
  • value (::Float) — The top-3 value.
Returns
  • (::Float) — The top-3 value.

#top_5

def top_5() -> ::Float
Returns
  • (::Float) — The top-5 value.

#top_5=

def top_5=(value) -> ::Float
Parameter
  • value (::Float) — The top-5 value.
Returns
  • (::Float) — The top-5 value.