Research Article

Intelligent Smoke Alarm System with Wireless Sensor Network Using ZigBee

Table 2

Classification algorithm effect comparison.

ā€‰Error rateError rate of train sets (5-fold CV)Error rate of test sets (5-fold CV)

Decision tree0.015992470.015992530.01599337
Bagging0.015992470.015643980.01599337
Random forest0.000470370.000470380.01270257
Support vector machine0.010818440.010465680.01740293
-nearest neighbor0.004233300.002822220.02916432