Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudAiplatformV1NearestNeighborQueryParameters

import type { GoogleCloudAiplatformV1NearestNeighborQueryParameters } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";

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

interface GoogleCloudAiplatformV1NearestNeighborQueryParameters {
approximateNeighborCandidates?: number;
leafNodesSearchFraction?: number;
}

§Properties

§
approximateNeighborCandidates?: number
[src]

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

§
leafNodesSearchFraction?: number
[src]

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.