Skip to contents

Order keys by their distances to a key

Usage

doesnt_match(
  conn,
  key,
  q,
  n = 1L,
  normalized = TRUE,
  method = c("euclidean", "chisquared", "kullback", "manhattan", "maximum", "canberra",
    "minkowski", "hamming")
)

Arguments

conn

a Magnitude connection.

key

string.

q

character vector. elements exact same with key will be dropped from result.

n

integer.

normalized

logical; whether or not vector embeddings should be normalized?

method

string; method to compute distance.

Value

a tibble.