GoogleCloudAiplatformV1FindNeighborsRequestQuery class

A query to find a number of the nearest neighbors (most similar vectors) of a vector.

Constructors

GoogleCloudAiplatformV1FindNeighborsRequestQuery({int? approximateNeighborCount, GoogleCloudAiplatformV1IndexDatapoint? datapoint, double? fractionLeafNodesToSearchOverride, int? neighborCount, int? perCrowdingAttributeNeighborCount})
GoogleCloudAiplatformV1FindNeighborsRequestQuery.fromJson(Map json_)

Properties

approximateNeighborCount int?
The number of neighbors to find via approximate search before exact reordering is performed.
getter/setter pair
datapoint GoogleCloudAiplatformV1IndexDatapoint?
The datapoint/vector whose nearest neighbors should be searched for.
getter/setter pair
fractionLeafNodesToSearchOverride double?
The fraction of the number of leaves to search, set at query time allows user to tune search performance.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
neighborCount int?
The number of nearest neighbors to be retrieved from database for each query.
getter/setter pair
perCrowdingAttributeNeighborCount int?
Crowding is a constraint on a neighbor list produced by nearest neighbor search requiring that no more than some value k' of the k neighbors returned have the same value of crowding_attribute.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited