Class NearestNeighbors (1.48.0)

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

Nearest neighbors for one query.

Attributes

NameDescription
id str
The ID of the query datapoint.
neighbors MutableSequence[google.cloud.aiplatform_v1.types.FindNeighborsResponse.Neighbor]
All its neighbors.

Methods

NearestNeighbors

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

Nearest neighbors for one query.