Date: Thu, 28 Mar 2024 12:11:34 +0100 (CET) Message-ID: <158889812.11.1711624294368@vmisdata19.uni-oldenburg.de> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10_1917779423.1711624294367" ------=_Part_10_1917779423.1711624294367 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This operator can be used to process median results faster than = in an aggregation for the special case that every element that is delivered= to the operator has an end timestamp that is larger of equals the last end= time stamp. If your stream does not fullfill this, the operator will produ= ce wrong results.
Attribute:
The attribute for which the median should be ca=
lculatedGroup_by:
A set of attributes. For each distinct set a med=
ian will be calculated. This is the same as group by in aggregationsappendGlobalMedian(
boolean): If a GROUP_BY element is give=
n, the global median (i.e. median without respecting groups) will be annota=
ted to each element.numerical
(boolean): Is the input numeric. In cases of a e=
ven element set that should be used to calc the median, the average of the =
both two middle elements will be used, else the left middle element.percentiles
: This is a list of double values. If given, no=
t only the 0.5 percentile (=3D=3D median) will be calculated for the attrib=
ute, but also the given percentiles with values 0<x<1histogram
(boolean): The are different algorithms implemen=
ts to calculate the median. If the possible set of values, contains many eq=
ual values, the histogramm version should behave muchbetter.roundingFactor
(long): When using the histogram version of=
the operator, this factor can be used to create more equals elements by ro=
unding the attribute. The factor gives the number of elements after the dec=
imal point, i.e. 1 means no, 10 means 1, 100 means 2, and so on.FASTMED= IAN({name=3D"PlugMedian", attribute=3D'value', numerical=3Dtrue, histogram =3D true, group_by=3D['house_id', 'household_id', 'plug_id'], appendglobalmedian =3D false, roundingfactor=3D100 },WINDOW)