Class: Google::Cloud::AIPlatform::V1::NearestNeighborQuery::Parameters
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::NearestNeighborQuery::Parameters
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb
Overview
Parameters that can be overrided in each query to tune query latency and recall.
Instance Attribute Summary collapse
-
#approximate_neighbor_candidates ⇒ ::Integer
Optional.
-
#leaf_nodes_search_fraction ⇒ ::Float
Optional.
Instance Attribute Details
#approximate_neighbor_candidates ⇒ ::Integer
Returns Optional. The number of neighbors to find via approximate search before exact reordering is performed; if set, this value must be > neighbor_count.
237 238 239 240 |
# File 'proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb', line 237 class Parameters include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#leaf_nodes_search_fraction ⇒ ::Float
Returns Optional. The fraction of the number of leaves to search, set at query time allows user to tune search performance. This value increase result in both search accuracy and latency increase. The value should be between 0.0 and 1.0.
237 238 239 240 |
# File 'proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb', line 237 class Parameters include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |