cosine_similarity: Find the cosine similarity between two vectors

View source: R/utils.R

cosine_similarityR Documentation

Find the cosine similarity between two vectors

Description

Find the cosine similarity between two vectors

Usage

cosine_similarity(x, y)

Arguments

x

a numeric vector

y

a numeric vector

Value

a scalar value representing the cosine similarity between x and y


keyes-timothy/tidytof documentation built on March 31, 2024, 12:01 p.m.