Skip to main content
. 2020 Nov 18;20(22):6578. doi: 10.3390/s20226578

Table 12.

Obtained results from the MQTT dataset with balanced dataset.

Algorithm Accuracy F1 Score Training Time (s) Testing Time (s)
Neural network 0.9044728333333333 0.9023636467243322 778.1805 144.2180
Random forest 0.9159708333333333 0.9140355032443288 2298.2762 125.8504
Naïve bayes 0.643889 0.6872843841719165 85.2840 13.7836
Decision tree 0.9159608333333333 0.9140241688909468 148.8115 2.3031
Gradient boost 0.8795693333333333 0.8727044450930602 8840.0049 18.1375
Multilayer perceptron 0.9038521666666667 0.9018922771095824 5714.4811 27.2843