Aditya Bimantara Triwiatmaja
Universitas Negeri Malang

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Predicting Energy Consumption in Smart Homes Using a Linear Regression Algorithm Bayu Aji Prakoso Dwi Laksono; Aditya Bimantara Triwiatmaja; Hafid Setyo Hadi; Anik Nur Handayani; Muhammad Zaki Wiryawan
Jurnal Media Computer Science Vol 5 No 4 (2026): Oktober
Publisher : LPPJPHKI Universitas Dehasen Bengkulu

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.37676/jmcs.v5i4.13367

Abstract

While the adoption of Internet of Things (IoT)-based smart home technology offers convenience, it also drives a significant surge in household electricity consumption. Without adequate management strategies, the continuous use of these devices is highly prone to causing energy waste. To mitigate this issue, this research proposes the application of a Linear Regression algorithm to map and predict future energy usage patterns. Experiments were conducted using historical CSV datasets that captured fluctuations in temperature, humidity, and light intensity, alongside electronic device usage history. The analytical process encompassed raw data cleaning (preprocessing), extraction of inter-variable correlations, and the splitting of data into training and testing sets, culminating in model evaluation using MAE, RMSE, and MAPE metrics. Test results demonstrated that the Linear Regression model’s predictions were quite accurate, yielding relatively low error rates. However, the evaluation also revealed the algorithm's inherent limitations when dealing with dynamic, non-linear power consumption trends, where the distribution quality of the dataset heavily influenced the final outcomes. Overall, the Linear Regression method is considered highly suitable as a baseline model for intelligent energy-saving systems, prior to future expansion using more robust machine learning architectures.