ml-distance
Version:
Distance and similarity functions to compare vectors
11 lines • 469 B
TypeScript
import { NumberArray } from 'cheminfo-types';
/**
*Returns the Wave Hedges distance between vectors p and q, and accepts the bitVector use, see the test case for an example
* @link [Wave Hedges algorithm](https://www.naun.org/main/NAUN/ijmmas/mmmas-49.pdf)
* @param a - first vector
* @param b - second vector
* @param bitvector - bitVector
*
*/
export default function waveHedges(a: NumberArray, b: NumberArray): number;
//# sourceMappingURL=waveHedges.d.ts.map