File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ Each distance corresponds to a distance type. The type name and the correspondin
137
137
| Chebyshev | ` chebyshev(x, y) ` | ` max(abs(x - y)) ` |
138
138
| Minkowski | ` minkowski(x, y, p) ` | ` sum(abs(x - y).^p) ^ (1/p) ` |
139
139
| Hamming | ` hamming(k, l) ` | ` sum(k .!= l) ` |
140
- | Rogers-Tanimoto | ` rogerstanimoto(a, b) ` | ` 2(sum(a&!b) + sum(!a&b)) / (2(sum(a&!b) + sum(!a&b)) + sum(a&b) + sum(!a&!b)) ` |
140
+ | RogersTanimoto | ` rogerstanimoto(a, b) ` | ` 2(sum(a&!b) + sum(!a&b)) / (2(sum(a&!b) + sum(!a&b)) + sum(a&b) + sum(!a&!b)) ` |
141
141
| Jaccard | ` jaccard(x, y) ` | ` 1 - sum(min(x, y)) / sum(max(x, y)) ` |
142
142
| CosineDist | ` cosine_dist(x, y) ` | ` 1 - dot(x, y) / (norm(x) * norm(y)) ` |
143
143
| CorrDist | ` corr_dist(x, y) ` | ` cosine_dist(x - mean(x), y - mean(y)) ` |
You can’t perform that action at this time.
0 commit comments