Prediksi Kegagalan Perangkat Industri Menggunakan Random Forest dan SMOTE untuk Pemeliharaan Preventif


Authors

  • Asep Muhidin Universitas Pelita Bangsa, Bekasi, Indonesia
  • Muhtajuddin Danny Universitas Pelita Bangsa, Bekasi, Indonesia
  • Nurhadi Surojudin Universitas Pelita Bangsa, Bekasi, Indonesia

DOI:

https://doi.org/10.47065/bulletincsr.v5i5.745

Keywords:

Preventive Maintenance; Machine Learning; Failure Prediction; SMOTE; Random Forest

Abstract

Preventive maintenance is an essential strategy to minimize losses due to industrial equipment failures. This study aims to develop an equipment failure prediction model using the Random Forest algorithm with the SMOTE technique to address class imbalance. The dataset used is the AI4I 2020 Predictive Maintenance Dataset with 10,000 entries and six main input variables. Preprocessing includes normalization of numerical features, one-hot encoding for categorical features, and handling of missing values. The Random Forest model was optimized using GridSearchCV and compared with K-Nearest Neighbors. Results show that Random Forest with SMOTE achieved 97% accuracy, 0.47 precision, 0.75 recall, and 0.58 F1-score on the failure class. This model outperforms KNN in detecting failures, particularly in imbalanced data. These findings contribute to the development of an early warning system to support preventive maintenance in industrial environments.

Downloads

Download data is not yet available.

References

J. C. O. Ojeda et al., “Application of a Predictive Model to Reduce Unplanned Downtime in Automotive Industry Production Processes: A Sustainability Perspective,” Sustainability, vol. 17, no. 9, p. 3926, Apr. 2025, doi: 10.3390/su17093926.

N. Hafidhoh, A. P. Atmaja, G. N. Syaifuddiin, I. B. Sumafta, S. M. Pratama, and H. N. Khasanah, “Machine Learning untuk Prediksi Kegagalan Mesin dalam Predictive Maintenance System,” J. Masy. Inform., vol. 15, no. 1, pp. 56–66, 2024, doi: 10.14710/jmasif.15.1.63641.

H. Zheng, A. R. Paiva, and C. S. Gurciullo, “Advancing from Predictive Maintenance to Intelligent Maintenance with AI and IIoT,” 2020, [Online]. Available: http://arxiv.org/abs/2009.00351

W. Jung et al., “Vibration, current, torque, RPM dataset for multiple fault conditions in industrial-scale electric motors under randomized speed and load variations,” Data Br., vol. 62, p. 111954, Oct. 2025, doi: 10.1016/j.dib.2025.111954.

K. I. Masani, P. Oza, and S. Agrawal, “Predictive maintenance and monitoring of industrial machine using machine learning,” Scalable Comput., vol. 20, no. 4, pp. 663–668, 2019, doi: 10.12694/scpe.v20i4.1585.

N. A. Mohammed, O. F. Abdulateef, A. H. Hamad, and O. I. Abdullah, “Performance Analysis of Different Machine Learning Algorithms for Predictive Maintenance,” Al-Khwarizmi Eng. J., vol. 20, no. 2, pp. 26–38, Jun. 2024, doi: 10.22153/kej.2024.11.003.

Y. Yang and H. Wang, “Random Forest-Based Machine Failure Prediction: A Performance Comparison,” Appl. Sci., vol. 15, no. 16, p. 8841, Aug. 2025, doi: 10.3390/app15168841.

Y. Mahale, S. Kolhar, and A. S. More, “Enhancing predictive maintenance in automotive industry: addressing class imbalance using advanced machine learning techniques,” Discov. Appl. Sci., vol. 7, no. 4, p. 340, Apr. 2025, doi: 10.1007/s42452-025-06827-3.

A. de Giorgio, G. Cola, and L. Wang, “Systematic review of class imbalance problems in manufacturing,” J. Manuf. Syst., vol. 71, pp. 620–644, 2023, doi: 10.1016/j.jmsy.2023.10.014.

S. Sridhar and S. Sanagavarapu, “Handling Data Imbalance in Predictive Maintenance for Machines using SMOTE-based Oversampling,” in 2021 13th International Conference on Computational Intelligence and Communication Networks (CICN), IEEE, Sep. 2021, pp. 44–49. doi: 10.1109/CICN51697.2021.9574668.

S. Rendle, L. Zhang, and Y. Koren, “On the Difficulty of Evaluating Baselines: A Study on Recommender Systems,” May 2019, [Online]. Available: http://arxiv.org/abs/1905.01395

UCI Machine Learning Repository, “AI4I 2020 Predictive Maintenance Dataset,” Https://Archive.Ics.Uci.Edu/Ml/Datasets/Ai4I+2020+Predictive+Maintenance+Dataset, 2020.

A. Kanawaday and A. Sane, “Machine learning for predictive maintenance of industrial machines using IoT sensor data,” in 2017 8th IEEE International Conference on Software Engineering and Service Science (ICSESS), IEEE, Nov. 2017, pp. 87–90. doi: 10.1109/ICSESS.2017.8342870.

J. H. Joloudari, A. Marefat, M. A. Nematollahi, S. S. Oyelere, and S. Hussain, “Effective Class-Imbalance learning based on SMOTE and Convolutional Neural Networks,” Oct. 2022, [Online]. Available: http://arxiv.org/abs/2209.00653

W. Nugraha and A. Sasongko, “Hyperparameter Tuning on Classification Algorithm with Grid Search,” SISTEMASI, vol. 11, no. 2, p. 391, May 2022, doi: 10.32520/stmsi.v11i2.1750.

H. Kaur and D. Kaur Sandhu, “Evaluating the Effectiveness of the Proposed System Using F1 Score, Recall, Accuracy, Precision and Loss Metrics Compared to Prior Techniques,” Int. J. Commun. Networks Inf. Secur., vol. 15, no. 4, pp. 368–383, 2023, [Online]. Available: https://ijcnis.org

S. Sathyanarayanan, “Confusion Matrix-Based Performance Evaluation Metrics,” African J. Biomed. Res., pp. 4023–4031, Nov. 2024, doi: 10.53555/AJBR.v27i4S.4345.

C. Vairetti, J. L. Assadi, and S. Maldonado, “Efficient hybrid oversampling and intelligent undersampling for imbalanced big data classification,” Expert Syst. Appl., vol. 246, p. 123149, Jul. 2024, doi: 10.1016/j.eswa.2024.123149.

Y. Rimal, N. Sharma, and A. Alsadoon, “The accuracy of machine learning models relies on hyperparameter tuning: student result classification using random forest, randomized search, grid search, bayesian, genetic, and optuna algorithms,” Multimed. Tools Appl., vol. 83, no. 30, pp. 74349–74364, Feb. 2024, doi: 10.1007/s11042-024-18426-2.

F. E. Bezerra et al., “Impacts of Feature Selection on Predicting Machine Failures by Machine Learning Algorithms,” Appl. Sci., vol. 14, no. 8, p. 3337, Apr. 2024, doi: 10.3390/app14083337.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Prediksi Kegagalan Perangkat Industri Menggunakan Random Forest dan SMOTE untuk Pemeliharaan Preventif

Dimensions Badge

ARTICLE HISTORY

Published: 2025-08-27

Abstract View: 64 times
PDF Download: 19 times

How to Cite

Muhidin, A., Muhtajuddin Danny, & Surojudin, N. (2025). Prediksi Kegagalan Perangkat Industri Menggunakan Random Forest dan SMOTE untuk Pemeliharaan Preventif. Bulletin of Computer Science Research, 5(5), 1089-1094. https://doi.org/10.47065/bulletincsr.v5i5.745

Issue

Section

Articles