Bhattacharyya
Last updated
Last updated
Bhattacharyya(int[] calldata p, int[] calldata q, uint8 precision)
returns the distance between the probability distributions p and q given by
The lengths of p and q must be equal. It is assumed that p and q sum to 1. Precision representes the number of decimal places between 0 and 18. It is applied to p,q and the output.
Under the hood, the following functions are utilized directly in the Neural client.