You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ This package also provides optimized functions to compute column-wise and pairwi
37
37
* Root mean squared deviation
38
38
* Normalized root mean squared deviation
39
39
* Bray-Curtis dissimilarity
40
+
* Bregman divergence
40
41
41
42
For ``Euclidean distance``, ``Squared Euclidean distance``, ``Cityblock distance``, ``Minkowski distance``, and ``Hamming distance``, a weighted version is also provided.
42
43
@@ -163,6 +164,7 @@ Each distance corresponds to a distance type. The type name and the correspondin
163
164
| WeightedCityblock |`wcityblock(x, y, w)`|`sum(abs(x - y) .* w)`|
**Note:** The formulas above are using *Julia*'s functions. These formulas are mainly for conveying the math concepts in a concise way. The actual implementation may use a faster way. The arguments `x` and `y` are arrays of real numbers; `k` and `l` are arrays of distinct elements of any kind; a and b are arrays of Bools; and finally, `p` and `q` are arrays forming a discrete probability distribution and are therefore both expected to sum to one.
0 commit comments