Add workaround for a compilation error when clang 20 is used (#65).
proxyC 0.5.0
CRAN release: 2025-04-22
New features and improvements
Enable simil() nad dist() to perform masked similarity/distance computation. If a pattern matrix is given via the mask argument, it computes scores for selected pairs of rows or columns. Pattern matrices can be created using newly added mask() function.
Calculate “dice” and “edice” using Armadillo’s linear algebra functions in simil(). As a result, computation of these scores became as fast as “cosine”, “correlation” and “euclidean”.
Change “hamman” to “hamann” in simil() to correct misspelling (#26).
proxyC 0.2.2
CRAN release: 2021-10-27
New features
simil() and dist() work with both dense and sparse matrices.
use_nan = TRUE can be used not only for correlation but for all the distance and similarity measures.
proxyC 0.2.1
CRAN release: 2021-09-02
New features
Computing the correlation similarity on vectors with a standard deviation will generate a zero correlation and a warning. The warning can be turned off by setting use_nan = TRUE, in which case the computed correlation similarity will be NaN instead (#21).
Bug fixes
Fixed infinite values being returned by the correlation similarity (#20).
proxyC 0.2.0
CRAN release: 2021-05-11
New features
Added a diag argument to compute similarity/distance only for corresponding rows or columns (#13).
Added a smooth parameter to chisquared and kullback leibler distances to solve negative values in sparse matrices (#15).