Electric Current Prediction Based on Voltage and Frequency Using K-Nearest Neighbors (KNN) and Ridge Regression Algorithms
Keywords:
Information technology, KNN, Ridge regression, Machine learningAbstract
The development of information technology has had a significant impact on various aspects of life, including the field of electricity. Technology, derived from the words technologia and techno, means expertise and knowledge. As time progresses, many tasks that were previously performed manually can now be simplified and automated through the use of digital technologies, including in the calculation of electric current. Calculating current based on frequency and voltage values involves a high level of complexity when done manually. To address this challenge, this study designs a system for predicting electric current using a Machine Learning approach, specifically employing the K-Nearest Neighbors (KNN) and Ridge Regression algorithms. KNN is an instance-based learning method that classifies or predicts new data based on its proximity to existing data. Meanwhile, Ridge Regression is a form of linear regularization that is effective in handling multicollinearity and overfitting in regression modeling. The methodology includes several stages: data collection, normalization, splitting the data into training and testing sets, model training, and performance evaluation using metrics such as Mean Squared Error (MSE) and the coefficient of determination (R²). The model is developed using Python as the primary programming language due to its capabilities in supporting data analysis and implementing machine learning algorithms efficiently. The results of the study show that the designed system is capable of effectively predicting electric current based on frequency and voltage inputs. Additionally, a performance comparison between the KNN and Ridge Regression algorithms is obtained, which can serve as a consideration in selecting the most appropriate prediction method based on the characteristics of electrical data. These findings are expected to contribute to the utilization of intelligent technology for more efficient and effective technical analysis in the future.
Keywords: information technology, KNN, Ridge Regression, Machine Learning, research methodology.
References
Azizah, I. N., Arum, P. R., & Wasono, R. (2020). Model Terbaik Uji Multikolinearitas untuk Analisis Faktor-Faktor yang Mempengaruhi Produksi Padi di Kabupaten Blora Tahun 2020 The Best Model for Multicollinearity Test to Analyze Rice Production’s Factors in Blora Regency on 2020.
Charntaweekhun, K., & Wangsiripitak, S. (2006). Visual Programming using Flowchart. 2006 International Symposium on Communications and Information Technologies, 1062–1065. https://doi.org/10.1109/ISCIT.2006.339940
Danielsson, P.-E. (1980). Euclidean distance mapping. Computer Graphics and Image Processing, 14(3), 227–248. https://doi.org/https://doi.org/10.1016/0146-664X(80)90054-4
Das, K., Jiang, J., & Rao, J. N. K. (2004). MEAN SQUARED ERROR OF EMPIRICAL PREDICTOR. In The Annals of Statistics (Vol. 32, Issue 2).
D.K., T., B.G, P., & Xiong, F. (2019). Auto-detection of epileptic seizure events using deep neural network with different feature scaling techniques. Pattern Recognition Letters, 128, 544–550. https://doi.org/https://doi.org/10.1016/j.patrec.2019.10.029
Han, J., & Kamber, M. (2006). Data Mining: Concepts and Technique.
Hastie, T., Tibshirani, R., & Friedman, J. (2017). Springer Series in Statistics the Elements of Statistical Learning Data Mining, Inference, and Prediction.
Hodson, T. O. (2022). Root-mean-square error (RMSE) or mean absolute error (MAE): when to use them or not. In Geoscientific Model Development (Vol. 15, Issue 14, pp. 5481–5487). Copernicus GmbH. https://doi.org/10.5194/gmd-15-5481-2022
Karim, A., & Harahap, S. Z. (2021). PENGANTAR TEKNOLOGI INFORMASI. https://www.researchgate.net/publication/348805601
Luiz Eduardo Borges. (2009). Licença Site oficial Capa Imagem utilizada na capa (Steampython). http://ark4n.wordpress.com/python/http://ark4n.deviantart.com/art/Steampython-150806118
McDonald, G. (2009). Ridge regression. Wiley Interdisciplinary Reviews: Computational Statistics, 1, 93–100. https://doi.org/10.1002/wics.14
Mitlöhner, J., Neumaier, S., Umbrich, J., & Polleres, A. (2016). Characteristics of Open Data CSV Files. 2016 2nd International Conference on Open and Big Data (OBD), 72–79. https://doi.org/10.1109/OBD.2016.18
Muhammad Hariyanto, R. T. S. (2018). View of CLUSTERING PADA DATA MINING UNTUK MENGETAHUI POTENSI PENYEBARAN PENYAKIT DBD MENGGUNAKAN METODE ALGORITMA K-MEANS DAN METODE PERHITUNGAN JARAK EUCLIDEAN DISTANCE.
Plet Yohanes Lakapu. (2021). View of Sistem Kontrol dan Monitor untuk Manajemen Konsumsi Energi Listrik pada Sistem Kelistrikan Rumah Tangga R-1.
Praktis, P., Sistematis, D., Machine, B., & Hartono, L. (2017). MACHINE LEARNING.
Quaranta, L., Calefato, F., & Lanubile, F. (2021). KGTorrent: A Dataset of Python Jupyter Notebooks from Kaggle. 2021 IEEE/ACM 18th International Conference on Mining Software Repositories (MSR), 550–554. https://doi.org/10.1109/MSR52588.2021.00072
Sebastian, D. (2019). Implementasi Algoritma K-Nearest Neighbor untuk Melakukan Klasifikasi Produk dari beberapa E-marketplace. 5, 2443–2229. https://doi.org/10.28932/jutisi.v5i1.913
Suparno, S. (2007). Komputasi untuk Sains dan Teknik Departemen Fisika-FMIPA, Univeristas Indonesia Dipublikasikan pertama kali pada. http://supriyanto.fisika.ui.edu
Thakker, Z. L., & H. Buch, S. (2024). Effect of Feature Scaling Pre-processing Techniques on Machine Learning Algorithms to Predict Particulate Matter Concentration for Gandhinagar, Gujarat, India. International Journal of Scientific Research in Science and Technology, 410–419. https://doi.org/10.32628/ijsrst52411150
Triantafillou, E., Zhu, T., Dumoulin, V., Lamblin, P., Evci, U., Xu, K., Goroshin, R., Gelada, C., Swersky, K., Manzagol, P.-A., & Larochelle, H. (2020). Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examples. http://arxiv.org/abs/1903.03096







