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 Aug. 28, 2024, 8:37 a.m.