Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejavascript
titleExample
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
languagejavascript
titleExample
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
languagejavascript
titleExample
SELECT loglikelihood([1.0;2.0;3.0], x) FROM stream