sftVCosSimilarity: Compute soft weighted cosine similarity of two numeric...

Description Usage Arguments Details Value

View source: R/RcppExports.R

Description

Compute soft weighted cosine similarity of two numeric vectors

Usage

1

Arguments

a

numeric vector

b

numeric vector

w

numeric matrix of weights

Details

a, b and c are expected to have the same length. Soft cosine similarity allows accounting for (cor)relations between features.

Value

Numeric value of cosine similarity


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