...
Code Block |
---|
theme | Eclipse |
---|
language | PQL |
---|
title | Probabilistic discrete select |
---|
linenumbers | true |
---|
|
filteroutput = SELECT({predicate = RelationalPredicate('x > 1.0 AND x < 3.0')}, input) |
...
Code Block |
---|
theme | Eclipse |
---|
language | javascriptpql |
---|
title | Probabilistic continuous select |
---|
linenumbers | true |
---|
|
filteroutput = SELECT({predicate = RelationalPredicate('x > 1.0 AND x < 4.0')}, input) |
...
Code Block |
---|
theme | Eclipse |
---|
language | sqlcql |
---|
title | Probabilistic Join |
---|
linenumbers | true |
---|
|
Select * From input1,input2 WHERE input1.x=input2.y; |
...
Code Block |
---|
theme | Eclipse |
---|
language | javascriptpql |
---|
title | Algebraic operator on probabilistic discrete values |
---|
linenumbers | true |
---|
|
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 |
---|
language | javascriptcql |
---|
title | Example |
---|
|
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 |
---|
language | javascriptcql |
---|
title | Example |
---|
|
SELECT distance(as3DVector(x, y, z), [1.0;2.0;3.0]) FROM stream |
...
Code Block |
---|
theme | Eclipse |
---|
language | javascriptpql |
---|
title | Probabilistic continuous select |
---|
linenumbers | true |
---|
|
filteroutput = ExistenceToPayload(SELECT({predicate = RelationalPredicate('x > 1.0 AND x < 4.0')}, input)) |