“…The environment where IoT devices are developed makes them vulnerable to failure and malfunction, leading to the generation of unusual and erroneous data [ 22 , 23 , 24 , 25 , 26 ]. On univariate or multivariate time series, anomaly detection is mainly performed through clustering or distance-based techniques [ 27 , 28 ], prediction [ 29 , 30 , 31 ], statistical approaches [ 32 , 33 ], deep learning methodologies using autoencoders [ 18 , 34 , 35 ], and neural networks [ 36 , 37 , 38 ]. In environmental datasets, the occurrence of high concentrations of an unusual pollutant may indicate air quality problems.…”