3.2 Linear decay function
Linear decay functions describe a linear decay in weights over time. The decayed weight sequence is denoted Wli.
wlj=[(1/k’)*j-1/k’]/s
s=sum((1/k’)*j-1/k’)
Where Wli represents the weight sequence of Rg[-(k’+1)]i+1, and wlj is the j-th element of Wli.
The alarm intensity wni is obtained by summing the element-wise products of the weight sequence Wli and the anomaly score sequence Rg[-(k’+1)]i+1.
wni=sum(Wli** Rg[-(k’+1)]i+1)
SPL routine:
A | B | C | |
---|---|---|---|
1 | [0.1,0.2,0,0,0.5,0.3] | /Anomaly score sequence | |
2 | 5 | /k’ | |
3 | =1/A2 | ||
4 | =A1.(A3*#-A3) | ||
5 | =s=A4.sum(),A4.(~/s) | /Weight wlj | |
6 | =sum(A1**A5) | /Alarm intensity wni |
Cell A4 represents the linear decay process;
Cell A5 calculates the weights wlj.
SPL Official Website 👉 https://www.esproc.com
SPL Feedback and Help 👉 https://www.reddit.com/r/esProcSPL
SPL Learning Material 👉 https://c.esproc.com
SPL Source Code and Package 👉 https://github.com/SPLWare/esProc
Discord 👉 https://discord.gg/sxd59A8F2W
Youtube 👉 https://www.youtube.com/@esProc_SPL