Versions Compared

Key

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

...

Code Block
themeEclipse
languagePQL
titleProbabilistic discrete select
linenumberstrue
filteroutput = SELECT({predicate = RelationalPredicate('x > 1.0 AND x < 3.0')}, input)

...

Code Block
themeEclipse
languagejavascriptpql
titleProbabilistic continuous select
linenumberstrue
filteroutput = SELECT({predicate = RelationalPredicate('x > 1.0 AND x < 4.0')}, input)

...

Code Block
themeEclipse
languagesqlcql
titleProbabilistic Join
linenumberstrue
Select * From input1,input2 WHERE input1.x=input2.y;

...

Code Block
themeEclipse
languagejavascriptpql
titleAlgebraic operator on probabilistic discrete values
linenumberstrue
mapedoutput = MAP({expressions = ['x + 2.0', 'x * 2.0', 'x * toProbabilisticDouble([1.0,0.5;2,0.5])', 'x * toProbabilisticDouble([1.0,0.5])']}, input)

...

Calculates the Bhattacharyya distance between two distributions.

Code Block
languagejavascriptcql
titleExample
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
languagejavascriptcql
titleExample
SELECT distance(as3DVector(x, y, z), [1.0;2.0;3.0]) FROM stream

...

Code Block
themeEclipse
languagejavascriptpql
titleProbabilistic continuous select
linenumberstrue
filteroutput = ExistenceToPayload(SELECT({predicate = RelationalPredicate('x > 1.0 AND x < 4.0')}, input))