Cloud AI Platform v1 API - Class NearestNeighborQuery.Types.Parameters (2.27.0)

public sealed class NearestNeighborQuery.Types.Parameters : IMessage<NearestNeighborQuery.Types.Parameters>, IEquatable<NearestNeighborQuery.Types.Parameters>, IDeepCloneable<NearestNeighborQuery.Types.Parameters>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class NearestNeighborQuery.Types.Parameters.

Parameters that can be overrided in each query to tune query latency and recall.

Inheritance

object > NearestNeighborQuery.Types.Parameters

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

Parameters()

public Parameters()

Parameters(Parameters)

public Parameters(NearestNeighborQuery.Types.Parameters other)
Parameter
NameDescription
otherNearestNeighborQueryTypesParameters

Properties

ApproximateNeighborCandidates

public int ApproximateNeighborCandidates { get; set; }

Optional. The number of neighbors to find via approximate search before exact reordering is performed; if set, this value must be > neighbor_count.

Property Value
TypeDescription
int

LeafNodesSearchFraction

public double LeafNodesSearchFraction { get; set; }

Optional. The fraction of the number of leaves to search, set at query time allows user to tune search performance. This value increase result in both search accuracy and latency increase. The value should be between 0.0 and 1.0.

Property Value
TypeDescription
double