- the
distance()
function receives a new argumentuse.row.names
to enable passing the row names from the input probability or count matrix to the output distance matrix
- exporting all Rcpp distance measure functions individually (see issue #9), this enables access to much faster computations (see micro benchmarks at https://hajkd.github.io/philentropy/articles/Distances.html)
-
fixing bug which caused that KL distance returns NaN when P == 0 (see issue #10; Many thanks to @KaiserDominici)
-
fixing bug which caused stack overflow when computing distance matrices with many rows (see issue #7; Many thanks to @wkc1986 and @elbamos)
-
fixing bug in
gJSD()
where anrbind()
input matrix is not properly transposed (Many thanks to @vrodriguezf; see issue #14)
-
gJSD()
receives new argumentest.prob
to enable empirical estimation of probability vectors from input count vectors (non-probabilistic vectors) -
Jaccard and Tanimoto similarity measures now return
0
instead ofNAN
when probability vectors contain zeros (Many thanks to @JonasMandel; see issue #15)
- Fixing bug that caused
jensen-shannon
computations to compute wrong values when0 values
were present in the input vectors (see issue #4 ; Many thanks to @wkc1986) - Fixing bug that caused
jensen-difference
computations to compute wrong values when0 values
were present in the input vectors - Fixing bugs in all distance metrics when handing 0/0, 0/x or x/0 cases
- new message system
- extending documentation
- Fixing bug that caused that
JSD()
gives NaN when any probability is 0 - see drostlab#1 (Thanks to William Kurtis Chang)
- Fixing C++ memory leaks in
dist.diversity()
anddistance()
when check forcolSums(x) > 1.001
was peformed (leak was found withrhub::check_with_valgrind()
)
Initial submission version.