Class Neighbor (1.48.0)

Neighbor(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A neighbor of the query vector.

Attributes

NameDescription
datapoint google.cloud.aiplatform_v1.types.IndexDatapoint
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.
distance float
The distance between the neighbor and the query vector.

Methods

Neighbor

Neighbor(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A neighbor of the query vector.