Class NearestNeighbors (1.48.0)

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

Nearest neighbors for one query.

Attribute

NameDescription
neighbors MutableSequence[google.cloud.aiplatform_v1.types.NearestNeighbors.Neighbor]
All its neighbors.

Classes

Neighbor

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

A neighbor of the query vector.

Methods

NearestNeighbors

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

Nearest neighbors for one query.