Class: Google::Cloud::DiscoveryEngine::V1beta::QualityMetrics::TopkMetrics

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/evaluation.rb

Overview

Stores the metric values at specific top-k levels.

Instance Attribute Summary collapse

Instance Attribute Details

#top_1::Float

Returns The top-1 value.

Returns:

  • (::Float)

    The top-1 value.



215
216
217
218
# File 'proto_docs/google/cloud/discoveryengine/v1beta/evaluation.rb', line 215

class TopkMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#top_10::Float

Returns The top-10 value.

Returns:

  • (::Float)

    The top-10 value.



215
216
217
218
# File 'proto_docs/google/cloud/discoveryengine/v1beta/evaluation.rb', line 215

class TopkMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#top_3::Float

Returns The top-3 value.

Returns:

  • (::Float)

    The top-3 value.



215
216
217
218
# File 'proto_docs/google/cloud/discoveryengine/v1beta/evaluation.rb', line 215

class TopkMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#top_5::Float

Returns The top-5 value.

Returns:

  • (::Float)

    The top-5 value.



215
216
217
218
# File 'proto_docs/google/cloud/discoveryengine/v1beta/evaluation.rb', line 215

class TopkMetrics
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end