...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
maped = MAP({expressions = ['x + 2.0', 'x * 2.0', 'x * toProbabilisticDouble([1.0,0.5;2,0.5])', 'x * toProbabilisticDouble([1.0,0.5])']}, input) |
...
Mathematical Functions
SQRT(Probabilistic Value)
Computes the probabilistic square root of the given probabilistic value.
Int(Distribution, Lower Limit, Upper Limit)
Estimates the multivariate normal distribution probability with lower and upper integration limit.
Statistical Functions
Similarity(Distribution, Distribution)
Calculates the Bhattacharyya distance between two distributions.
Code Block | ||||
---|---|---|---|---|
| ||||
SELECT similarity(as2DVector(x1,y1), as2DVector(x2,y2)) FROM stream
|
Distance(Distribution, Value)
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 |
Datatype Functions
ToProbabilisticDouble(Matrix)
...
Similar to the as2DVector function, this function creates a 3D vector with the given objects.
Int(Distribution, Lower Limit, Upper Limit)
Estimates the multivariate normal distribution probability with lower and upper integration limit.
Similarity(Distribution, Distribution)
Calculates the Bhattacharyya distance between two distributions.
Code Block | ||||
---|---|---|---|---|
| ||||
SELECT similarity(as2DVector(x1,y1), as2DVector(x2,y2)) FROM stream
|
Distance(Distribution, Value)
Calculates the Mahalanobis distance between the distribution and the value. The value can be a scalar value or a vector.
...
language | javascript |
---|---|
title | Example |
...
Access to tuple existence
...