Identifying the Dominant Features in Indonesia Smart Home Dataset by Interpreting Electrical Energy Consumption Prediction Results

Authors

  • Mochammad Haldi Widianto Computer Science Department, BINUS Graduate Program - Doctor of Computer Science, Bina Nusantara University, Jakarta, Indonesia, 11480
  • Alexander Agung Santoso Gunawan Computer Science Department, School of Computer Science, Bina Nusantara University, Jl. K.H.Syahdan No. 9, Kemanggisan Palmerah, Jakarta, Indonesia, 11480
  • Yaya Heryadi Computer Science Department, BINUS Graduate Program - Doctor of Computer Science, Bina Nusantara University, Jakarta, Indonesia, 11480
  • Widodo Budiharto Computer Science Department, School of Computer Science, Bina Nusantara University, Jl. K.H.Syahdan No. 9, Kemanggisan Palmerah, Jakarta, Indonesia, 11480

Keywords:

Dominant Feature, K-Nearest Neighbors (KNN), Local Interpretable Model-Agnostic Explanations (LIME), SHapley Additive exPlanations (SHAP), Smart Home

Abstract

Smart Home needs convergence between Machine Learning (ML) and IoT to make predictions, which means ML becomes the optimal prediction model for prediction and Interpretation. Electrical Energy Consumption is a critical problem that needs to be predicted and interpreted. The proposed study aims to find the dominant feature for the Indonesia Smart Home Dataset and prediction using K-Nearest Neighbors (KNN) with Hyperparameters (k and Distance Algorithm). The dominant feature is interpreted using SHapley Additive exPlanations (SHAP) and Local Interpretable Model-Agnostic Explanations (LIME). The experiment’s optimal prediction model is validated using error evaluation parameters such as RMSE, MSE, and MAE. The model results (k = 2 and Manhattan Distance) were obtained with RMSE = 0.158, MAE = 0.115, MSE = 0.025, and Manhattan Distance. Although LIME cannot interpret the feature as global, the dominant feature can be displayed globally using SHAP. The global interpretation SHAP result is that the "AC", "Washing Machine", "Lamp",  "Water Pump", and “RiceCooker” must be reduced to reduce energy consumption. The KNN learning algorithm can build the model with (k=2 and Manhattan Distance) and SHAP model interpretation. Further research is needed to search for other hyperparameters based on search algorithms to maximize KNN performance.

Downloads

Download data is not yet available.

References

M. Yusuf, B. Surya, F. Menne, M. Ruslan, S. Suriani, and I. Iskandar, “Business Agility and Competitive Advantage of SMEs in Makassar City, Indonesia,” Sustainability, vol. 15, no. 1, Jan. 2023, doi: 10.3390/su15010627.

Md. Shahjalal, Moh. K. Hasan, Md. M. Islam, Md. M. Alam, Md. F. Ahmed, and Y. M. Jang, “An Overview of AI-Enabled Remote Smart- Home Monitoring System Using LoRa,” in 2020 International Conference on Artificial Intelligence in Information and Communication (ICAIIC), Feb. 2020, pp. 510–513. doi: 10.1109/ICAIIC48513.2020.9065199.

W. Yan, Z. Wang, H. Wang, W. Wang, J. Li, and X. Gui, “Survey on recent smart gateways for smart home: Systems, technologies, and challenges,” Transactions on Emerging Telecommunications Technologies, p. e4067, 2020, doi: 10.1002/ett.4067.

L. Mehdi, Y. Ouallou, O. Mohamed, and A. Hayar, “New Smart Home’s Energy Management System Design and Implementation for Frugal Smart Cities,” in 2018 International Conference on Selected Topics in Mobile and Wireless Networking (MoWNeT), Jun. 2018, pp. 149–153. doi: 10.1109/MoWNet.2018.8428865.

Y. Chawla, A. Kowalska-Pyzalska, and W. Widayat, “Consumer willingness and acceptance of smart meters in Indonesia,” Resources, vol. 8, no. 4, Dec. 2019, doi: 10.3390/RESOURCES8040177.

Z. N. Mohammad, F. Farha, A. O. M. Abuassba, S. Yang, and F. Zhou, “Access Control and Authorization in Smart Homes: A Survey,” in Tsinghua Science and Technology, Dec. 2021, pp. 906–917. doi: 10.26599/TST.2021.9010001.

N. A. Prasetyo, A. G. Prabawati, and S. Suyoto, “Smart Home: Power Electric Monitoring and Control in Indonesia,” International Journal of Interactive Mobile Technologies (iJIM), vol. 13, no. 03, pp. 143–151, Mar. 2019, doi: 10.3991/ijim.v13i03.10070.

H. Zhu, P. Tiwari, A. Ghoneim, and M. S. Hossain, “A Collaborative AI-Enabled Pretrained Language Model for AIoT Domain Question Answering,” IEEE Trans Industr Inform, vol. 18, no. 5, pp. 3387–3396, 2022, doi: 10.1109/TII.2021.3097183.

A. K. Salama and M. M. Abdellatif, “AIoT-based Smart Home Energy Management System,” in 2022 IEEE Global Conference on Artificial Intelligence and Internet of Things (GCAIoT), 2022, pp. 177–181. doi: 10.1109/GCAIoT57150.2022.10019091.

Z. Zhang, T. He, M. Zhu, Q. Shi, and C. Lee, “Smart Triboelectric Socks for Enabling Artificial Intelligence of Things (AIoT) Based Smart Home and Healthcare,” in 2020 IEEE 33rd International Conference on Micro Electro Mechanical Systems (MEMS), 2020, pp. 80–83. doi: 10.1109/MEMS46641.2020.9056149.

B.-W. Chen, Y.-S. Jhang, H.-T. Pai, S.-H. Wang, M.-H. Sheu, and T.-H. Chen, “AIoT-based Audio Recognition System for Smart Home Applications,” in 2021 IEEE International Conference on Consumer Electronics-Taiwan (ICCE-TW), 2021, pp. 1–2. doi: 10.1109/ICCE-TW52618.2021.9603103.

F. Tang, Y. Kawamoto, N. Kato, and J. Liu, “Future Intelligent and Secure Vehicular Network Toward 6G: Machine-Learning Approaches,” Proceedings of the IEEE, vol. 108, no. 2, pp. 292–307, 2020, doi: 10.1109/JPROC.2019.2954595.

I. Priyadarshini, S. Sahu, R. Kumar, and D. Taniar, “A machine-learning ensemble model for predicting energy consumption in smart homes,” Internet of Things, vol. 20, p. 100636, 2022, doi: 10.1016/j.iot.2022.100636.

M. H. Widianto, A. A. S. Gunawan, Y. Heryadi, and W. Budiharto, “INTERPRETATION OF THE DOMINANT FEATURES IN THE PREDICTION RESULTS OF ELECTRICAL ENERGY CONSUMPTION USING SMART HOME DATASETS BASED ON KNN MACHINE LEARNING,” ICIC Express Letters, Part B: Applications, vol. 15, no. 4, 2024.

M. H. Widianto, A. A. S. Gunawan, Y. Heryadi, and W. Budiharto, “Evaluation of Machine Learning on Smart Home Data for Prediction of Electrical Energy Consumption,” in 2023 International Conference on Computer Science, Information Technology and Engineering (ICCoSITE), Feb. 2023, pp. 434–439. doi: 10.1109/ICCoSITE57641.2023.10127700.

M. T. Ribeiro, S. Singh, and C. Guestrin, “‘Why Should I Trust You?’: Explaining the Predictions of Any Classifier,” in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, in KDD ’16. New York, NY, USA: Association for Computing Machinery, 2016, pp. 1135–1144. doi: 10.1145/2939672.2939778.

S. M. Lundberg, P. G. Allen, and S.-I. Lee, “A Unified Approach to Interpreting Model Predictions,” in Proceedings of the 31st International Conference on Neural Information Processing Systems, 2017.

J. Dong, J. Munk, B. Cui, P. R. Boudreaus, and T. Kuruganti, “Machine-learning model of electric water heater for electricity consumption prediction,” in International High Performance Buildings Conference, 2018.

M. K. M. Shapi, N. A. Ramli, and L. J. Awalin, “Energy consumption prediction by using machine learning for smart building: Case study in Malaysia,” Developments in the Built Environment, vol. 5, p. 100037, 2021, doi: https://doi.org/10.1016/j.dibe.2020.100037.

P. W. Khan, Y. Kim, Y. C. Byun, and S. J. Lee, “Influencing factors evaluation of machine learning-based energy consumption prediction,” Energies (Basel), vol. 14, no. 21, Nov. 2021, doi: 10.3390/en14217167.

B. López, “Case-based reasoning: a concise introduction,” Synthesis lectures on artificial intelligence and machine learning, vol. 7, no. 1, pp. 1–103, 2013, doi: 10.2200/S00490ED1V01Y201303AIM020.

C. Ma and Y. Chi, “KNN Normalized Optimization and Platform Tuning Based on Hadoop,” IEEE Access, vol. 10, pp. 81406–81433, 2022, doi: 10.1109/ACCESS.2022.3195872.

H. Younes, A. Ibrahim, M. Rizk, and M. Valle, “An Efficient Selection-Based kNN Architecture for Smart Embedded Hardware Accelerators,” IEEE Open Journal of Circuits and Systems, vol. 2, pp. 534–545, 2021, doi: 10.1109/OJCAS.2021.3108835.

W. Xing and Y. Bei, “Medical Health Big Data Classification Based on KNN Classification Algorithm,” IEEE Access, vol. 8, pp. 28808–28819, 2020, doi: 10.1109/ACCESS.2019.2955754.

S. Zhang, “Challenges in KNN Classification,” IEEE Trans Knowl Data Eng, vol. 34, no. 10, pp. 4663–4675, 2022, doi: 10.1109/TKDE.2021.3049250.

W. Hartanto, M. A. Hibatul, R. Y. Afif, and M. H. Widianto, “DEVELOPMENT OF IOT-BASED HOME ELECTRICITY USAGE MONITORING SYSTEM,” Skripsi, Bina Nusantara University, Bandung, 2023.

M. H. Widianto, “Smart Home Indonesia Dataset,” May 2022. Accessed: May 26, 2023. [Online]. Available: https://docs.google.com/spreadsheets/d/1oteCvOo_d0UNAqipET_T6Lb9chUHS008/edit?usp=share_link&ouid=112500639100101980774&rtpof=true&sd=true

G. Chimamiwa, M. Alirezaie, F. Pecora, and A. Loutfi, “Multi-sensor dataset of human activities in a smart home environment,” Data Brief, vol. 34, Feb. 2021, doi: 10.1016/j.dib.2020.106632.

ESDM, “Direktorat Jenderal EBTKE - Kementerian ESDM.” Accessed: Jul. 16, 2022. [Online]. Available: https://ebtke.esdm.go.id/post/2020/05/11/2535/berbagai.kiat.hemat.energi.praktis.era.work.from.home

G. Montazeaud et al., “Development of a low cost open-source ultrasonic device for plant height measurements,” Smart Agricultural Technology, vol. 1, p. 100022, Dec. 2021, doi: 10.1016/J.ATECH.2021.100022.

C. C. Aggarwal, A. Hinneburg, and D. A. Keim, “On the Surprising Behavior of Distance Metrics in High Dimensional Space,” 2001.

W. K. Adu, P. Appiahene, and S. Afrifa, “VAR, ARIMAX and ARIMA models for nowcasting unemployment rate in Ghana using Google trends,” Journal of Electrical Systems and Information Technology, vol. 10, no. 1, p. 12, 2023, doi: 10.1186/s43067-023-00078-1.

Downloads

Published

23.02.2024

How to Cite

Widianto , M. H. ., Gunawan , A. A. S. ., Heryadi , Y. ., & Budiharto, W. . (2024). Identifying the Dominant Features in Indonesia Smart Home Dataset by Interpreting Electrical Energy Consumption Prediction Results. International Journal of Intelligent Systems and Applications in Engineering, 12(17s), 813–821. Retrieved from https://ijisae.org/index.php/IJISAE/article/view/5086

Issue

Section

Research Article