Cloud AI Platform v1 API - Class FindNeighborsResponse.Types.Neighbor (2.16.0)

public sealed class FindNeighborsResponse.Types.Neighbor : IMessage<FindNeighborsResponse.Types.Neighbor>, IEquatable<FindNeighborsResponse.Types.Neighbor>, IDeepCloneable<FindNeighborsResponse.Types.Neighbor>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class FindNeighborsResponse.Types.Neighbor.

A neighbor of the query vector.

Inheritance

object > FindNeighborsResponse.Types.Neighbor

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

Neighbor()

public Neighbor()

Neighbor(Neighbor)

public Neighbor(FindNeighborsResponse.Types.Neighbor other)
Parameter
NameDescription
otherFindNeighborsResponseTypesNeighbor

Properties

Datapoint

public IndexDatapoint Datapoint { get; set; }

The datapoint of the neighbor. Note that full datapoints are returned only when "return_full_datapoint" is set to true. Otherwise, only the "datapoint_id" and "crowding_tag" fields are populated.

Property Value
TypeDescription
IndexDatapoint

Distance

public double Distance { get; set; }

The distance between the neighbor and the query vector.

Property Value
TypeDescription
double