ExhaustiveKnnParameters interface

Contains the parameters specific to exhaustive KNN algorithm.

Properties

metric

The similarity metric to use for vector comparisons.

Property Details

metric

The similarity metric to use for vector comparisons.

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

Property Value

"cosine" | "euclidean" | "dotProduct" | "hamming"