Skip to main content
. 2022 May 9;22(9):3592. doi: 10.3390/s22093592
Algorithm 1 Loss aware smoothing
Input:
 y:Bandwidth Slice, Z: Series length, q: smoothing window
 size
 Output:
 MSE, y^ :  locally fitted value using local smoothing technique
 Process:
 1- For n = q to Z − q do
 2- Initialize K [];
 3- for j = n − q to n + q Do
 4- y^ ← smooth (yj) with minimum MSE
 5- Assign (y^j) into K []
 6- Return y^