Package version:

Interface ExhaustiveKnnParameters

Contains the parameters specific to exhaustive KNN algorithm.

interface ExhaustiveKnnParameters {
    metric?:
        | "cosine"
        | "euclidean"
        | "dotProduct"
        | "hamming";
}

Properties

Properties

metric?:
    | "cosine"
    | "euclidean"
    | "dotProduct"
    | "hamming"

The similarity metric to use for vector comparisons.