UNPKG

ml-distance

Version:

Distance and similarity functions to compare vectors

10 lines 367 B
import { NumberArray } from 'cheminfo-types'; /** *Returns the Gower distance between vectors a and b * @link [Gower algorithm](https://stat.ethz.ch/education/semesters/ss2012/ams/slides/v4.2.pdf) * @param a - first vector * @param b - second vector * */ export default function gower(a: NumberArray, b: NumberArray): number; //# sourceMappingURL=gower.d.ts.map