distance icon indicating copy to clipboard operation
distance copied to clipboard

Distance functions to compare vectors

Results 5 distance issues
Sort by recently updated
recently updated
newest added

The function in **src/distances/ruzicka.js** actually contains the function implementing the **ruzicka similarity algorithm**. - https://en.wikipedia.org/wiki/Jaccard_index#Weighted_Jaccard_similarity_and_distance The file should be moved into **src/similarities/**

The implemented algorithm is - https://en.wikipedia.org/wiki/Pearson%27s_chi-squared_test Not obvious if the currently implemented pearson should stay in this package of move to the "stat" package (to be discussed ...) And it...

:robot: I have created a release *beep* *boop* --- ## [4.0.2](https://github.com/mljs/distance/compare/v4.0.1...v4.0.2) (2023-06-30) ### Documentation * add Zakodium maintainer ([0b15acd](https://github.com/mljs/distance/commit/0b15acd6476413f4111cb4852ca1bec9edaa2805)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

autorelease: pending

The Hamming distance can typically be used to compute the distance between two bit strings very easily, by doing `sum(xor(a,b))`. It counts the number of dissimilar elements between the strings....

`cheminfo-types` and `ml-tree-similarity` are not dev dependencies when using this (or a package that uses this like LangChain) within a Typescript project. ``` node_modules/ml-distance/lib/similarities/tanimoto.d.ts:1:29 - error TS2307: Cannot find module...