R/kema.R
coskern.Rd
Cosine kernel function
coskern()
A kernel object for cosine similarity
kern <- coskern() x <- c(1, 2, 3) y <- c(4, 5, 6) # kern(x, y) # Compute cosine similarity