wtMCosSimilarity: Compute weighted cosine similarities for each pair of rows...

Description Usage Arguments Details Value See Also

View source: R/RcppExports.R

Description

Compute weighted cosine similarities for each pair of rows from given matrix and given weights

Usage

1

Arguments

input_mat

numeric input matrix

weights

numeric vector of weights

Details

wtVCosSimilarity

Value

Upper triangle matrix where {i, j} element is the cosine similarity of i-th and j-th row of the original matrix.

See Also

wtVCosSimilarity


vh-d/RPortfolioSimilarity documentation built on Oct. 17, 2019, 3:11 a.m.