public sealed class NearestNeighbors.Types.Neighbor : IMessage<NearestNeighbors.Types.Neighbor>, IEquatable<NearestNeighbors.Types.Neighbor>, IDeepCloneable<NearestNeighbors.Types.Neighbor>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class NearestNeighbors.Types.Neighbor.
A neighbor of the query vector.
Implements
IMessageNearestNeighborsTypesNeighbor, IEquatableNearestNeighborsTypesNeighbor, IDeepCloneableNearestNeighborsTypesNeighbor, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
Neighbor()
public Neighbor()
Neighbor(Neighbor)
public Neighbor(NearestNeighbors.Types.Neighbor other)
Parameter | |
---|---|
Name | Description |
other |
NearestNeighborsTypesNeighbor |
Properties
Distance
public double Distance { get; set; }
The distance between the neighbor and the query vector.
Property Value | |
---|---|
Type | Description |
double |
EntityId
public string EntityId { get; set; }
The id of the similar entity.
Property Value | |
---|---|
Type | Description |
string |
EntityKeyValues
public FetchFeatureValuesResponse EntityKeyValues { get; set; }
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.
Property Value | |
---|---|
Type | Description |
FetchFeatureValuesResponse |