Class FindNeighborsResponse (1.35.0)

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

The response message for MatchService.FindNeighbors .

Attribute

Name
Description
nearest_neighbors
MutableSequence[ google.cloud.aiplatform_v1.types.FindNeighborsResponse.NearestNeighbors ]
The nearest neighbors of the query datapoints.

Classes

NearestNeighbors

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

Nearest neighbors for one query.

Neighbor

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

A neighbor of the query vector.