...
Calculates the Bhattacharyya distance between two distributions.
Code Block | ||||
---|---|---|---|---|
| ||||
SELECT similarity(as2DVector(x1,y1), as2DVector(x2,y2)) FROM stream |
...
Calculates the Mahalanobis distance between the distribution and the value. The value can be a scalar value or a vector.
Code Block | ||||
---|---|---|---|---|
| ||||
SELECT distance(as3DVector(x, y, z), [1.0;2.0;3.0]) FROM stream |
...
Calculates the Kullback-Leibler divergence of the two given probability distributions.
Code Block | ||||
---|---|---|---|---|
| ||||
SELECT kl(as3DVector(x, y, z), as3DVector(a, b, c)) FROM stream |
...
Calculates the log Likelihood between the given points and the probability distribution.
Code Block | ||||
---|---|---|---|---|
| ||||
SELECT loglikelihood([1.0;2.0;3.0], x) FROM stream |