R/utils.R
calculate_cosine_similarity.Rd
Calculates the cosine similarity between all pairs of rows in a matrix.
calculate_cosine_similarity(matrix_data)
A numeric matrix where rows represent documents/observations
A square similarity matrix with values between -1 and 1