View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1NearestNeighborsNeighbor (google_api_ai_platform v0.24.0)
A neighbor of the query vector.
Attributes
-
distance(type:float(), default:nil) - The distance between the neighbor and the query vector. -
entityId(type:String.t, default:nil) - The id of the similar entity. -
entityKeyValues(type:GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FetchFeatureValuesResponse.t, default:nil) - 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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1NearestNeighborsNeighbor{ distance: float() | nil, entityId: String.t() | nil, entityKeyValues: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1FetchFeatureValuesResponse.t() | nil }