There has being recent interest in applying machine learning techniques in smart homes for the purpose of securing the home. This paper presents the comparative study on six classification algorithms based on generated smart home datasets. These includes Logistics Regression, Support vector machine, Random forest, K-Nearest Neighbor, Decision Tree and Gaussian Naïve Bayes. Two different smart home datasets were generated and used to train and test the algorithms. The confusion matrix was used to evaluate the outputs of the classifiers. From the confusion matrix, Prediction Accuracy, Precision, Recall and F1-Score of the models were calculated. The Support Vector Machine (SVM) outperformed the other algorithms in terms of accuracy on both datasets with values of 67.89 and 88.56 respectively. The SVM and Logistics Regression also maintained the highest precision of 100.0 as compared to the other algorithms.
Keywords: classification algorithms, smart home, support vector machine