...
Code Block |
---|
language | javascript |
---|
title | Example |
---|
|
SELECT distance(as3DVector(x, y, z), [1.0;2.0;3.0]) FROM stream |
KL(ProbabilisticDouble p1, ProbabilisticDouble p2)
Calculates the Kullback-Leibler divergence of the two given probability distributions.
Code Block |
---|
language | javascript |
---|
title | Example |
---|
|
SELECT kl(as3DVector(x, y, z), as3DVector(a, b, c)) FROM stream |
LogLikelihood(Vector points, ProbabilisticDouble p)
Calculates the log Likelihood between the given points and the probability distribution.
Code Block |
---|
language | javascript |
---|
title | Example |
---|
|
SELECT loglikelihood([1.0;2.0;3.0], x) FROM stream |