## 7 SMEP Algorithms
### AuxDataQueue Compression Algorithm
\begin{table}
\begin{tabular}{c|c c c c c c c c c c} \hline \hline
**Sensor Data Sets** & \multicolumn{5}{c|}{**Relative Humidity**} & \multicolumn{5}{c}{**Air Temperature**} \\ \hline \multirow{3}{*}{Methods} & _Zones_ & 1-0-0-0 & 2-0-0-0 & 3-0-0-0 & 3-2-2-1 & 3-2-2-2 & 1-0-0-0 & 2-0-0-0 & 3-0-0-0 & 3-2-2-1 & 3-2-2-2 \\  & CR: 67\% & CR: 40\% & CR: 22\% & CR:17\% & CR: 16.7\% & CR: 67\% & CR: 40\% & CR: 22\% & CR: 17\% & CR: 16.7\% \\ \hline _winarg_ & 4.36\% & 11.03\% & 14.42\% & 14.36\% & 14.30\% & 5.78\% & 12.67\% & 20.64\% & 19.67\% & 19.66\% \\ _Delta_ & 4.62\% & 11.93\% & 24.10\% & 25.10\% & 24.03\% & 5.93\% & 17.78\% & 28.29\% & 28.47\% & 27.27\% \\ _CQP_ & 2.59\% & 6.71\% & 11.55\% & 11.27\% & 10.75\% & 2.40\% & 6.22\% & 16.70\% & 15.27\% & 14.80\% \\ _ZMC_ & 2.35\% & 5.15\% & 10.99\% & 12.05\% & 11.50\% & 1.65\% & 5.56\% & 6.97\% & 6.26\% & 6.08\% \\ _SMEP_ & 2.10\% & 2.52\% & 7.25\% & 8.71\% & 8.64\% & 1.36\% & 3.64\% & 5.86\% & 5.42\% & 5.25\% \\ \hline \multicolumn{2}{c|}{**Sensor Data Sets**} & \multicolumn{5}{c|}{**Underwater pH**} & \multicolumn{5}{c}{**Underwater Temperature**} \\ \hline \multirow{3}{*}{Methods} & \multirow{3}{*}{1-0-0-0} & \multirow{3}{*}{2-0-0-0} & \multirow{3}{*}{3-0-0-0} & \multirow{3}{*}{3-2-2-1} & \multirow{3}{*}{3-2-2-2} & \multirow{3}{*}{1-0-0-0} & \multirow{3}{*}{2-0-0-0} & \multirow{3}{*}{3-0-0-0} & \multirow{3}{*}{3-2-2-1} & \multirow{3}{*}{3-2-2-2} \\  & & & & & & & & & & & \\  & CR: 67\% & CR: 40\% & CR: 22\% & CR:17\% & CR:16.7\% & CR: 67\% & CR: 40\% & CR: 22\% & CR: 17\% & CR: 16.7\% \\ \hline _winarg_ & 1.29\% & 1.20\% & 0.96\% & 0.86\% & 0.82\% & 0.25\% & 0.32\% & 0.50\% & 0.45\% & 0.44\% \\ _Delta_ & 1.35\% & 1.95\% & 2.30\% & 1.91\% & 1.83\% & 0.27\% & 0.53\% & 0.91\% & 0.83\% & 0.82\% \\ _CQP_ & 0.90\% & 1.25\% & 1.35\% & 1.14\% & 1.09\% & 0.34\% & 0.43\% & 0.61\% & 0.53\% & 0.53\% \\ _2 MC_ & 0.48\% & 0.70\% & 0.83\% & 0.74\% & 0.71\% & 0.28\% & 0.36\% & 0.52\% & 0.46\% & 0.46\% \\ _SMEP_ & 0.36\% & 0.61\% & 0.68\% & 0.62\% & 0.64\% & 0.22\% & 0.36\% & 0.49\% & 0.45\% & 0.44\% \\ \hline \multicolumn{2}{c|}{m-n-o-p _Zones_ pattern means _Zones[0]_ = m, _Zones[1]_ = n, _Zones[2]_ = o, and _Zones[3]_ = p.} \\ \hline \hline \end{tabular}
\end{table} 
Table 4: Average error rates in sensor data samples corresponding to _Zones_ value patterns (_DataQueue_ size: 16, CR: Compression Ratio (%)). Figure 12: _Cont._

Figure 12: Comparison of graph shape changes in accordance with _Zones_ patterns in relative humidity. (**a**) _Zones_ pattern: 1-0-0-0; (**b**) _Zones_ pattern: 2-0-0-0; (**c**) _Zones_ pattern: 3-0-0-0; (**d**) _Zones_ pattern: 3-2-2-1; (**e**) _Zones_ pattern: 3-2-2-2. Figure 12b shows the 2-0-0-0 _Zones_ pattern. In the 2-0-0-0 _Zones_ pattern, sensor data between the 1 st sensor data and the 33 th sensor data are two-time compressed data covered by _Zones[0]_, but sensor data between the 34 th sensor data and the 41 th sensor data are original sensor data. Like the 1-0-0-0 _Zones_ pattern, the _CQP_, _2 MC_, and SMEP methods follow patterns similar to original sensor data. Nonetheless, unlike the other methods, including _CQP_ and _2 MC_, the SMEP method shows that part of the graph between the 34 th sensor data and the 41 th sensor data is the same pattern as in the original sensor data graph. Actually, this graph part indicates that the SMEP method has a better AER between the original sensor data and its own sensor data part than the other methods. In the 3-0-0-0 _Zones_ pattern, _Zones[0]_ sensor data between the 1 st sensor data and the 65 th sensor data and the sensor data between the 66 th sensor data and the 73 th sensor data are original sensor data covered by _Zones[1]_, _Zones[2]_, and _Zones[3]_. Figure 12c shows that the graph part covered by _Zones[0]_ is more similar to the corresponding original sensor data part than for the other methods. In particular, the graph part covered by _Zones[1]_, _Zones[2]_, and _Zones[3]_ is exactly the same as the corresponding original sensor data part.