Class: Google::Cloud::AIPlatform::V1::NearestNeighbors::Neighbor
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::NearestNeighbors::Neighbor
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb
Overview
A neighbor of the query vector.
Instance Attribute Summary collapse
-
#distance ⇒ ::Float
The distance between the neighbor and the query vector.
-
#entity_id ⇒ ::String
The id of the similar entity.
-
#entity_key_values ⇒ ::Google::Cloud::AIPlatform::V1::FetchFeatureValuesResponse
The attributes of the neighbor, e.g.
Instance Attribute Details
#distance ⇒ ::Float
Returns The distance between the neighbor and the query vector.
284 285 286 287 |
# File 'proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb', line 284 class Neighbor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#entity_id ⇒ ::String
Returns The id of the similar entity.
284 285 286 287 |
# File 'proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb', line 284 class Neighbor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#entity_key_values ⇒ ::Google::Cloud::AIPlatform::V1::FetchFeatureValuesResponse
Returns The attributes of the neighbor, e.g. filters, crowding and metadata Note that full entities are returned only when "return_full_entity" is set to true. Otherwise, only the "entity_id" and "distance" fields are populated.
284 285 286 287 |
# File 'proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb', line 284 class Neighbor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |