Cost-Sensitive Evaluation of Machine Learning Models for Manufacturing Equipment Failure Classification
Abstract
High accuracy can conceal missed failures in imbalanced equipment data. This study compares logistic regression, a decision tree, and a random forest on 10,000 synthetic AI4I 2020 records using an 80:20 stratified split, five-fold training cross-validation, and a relative cost that weights missed failures more heavily than false alarms. Under default decision rules, the random forest achieves the highest test accuracy (0.9805) and ROC-AUC (0.9653), while the decision tree achieves the highest failure recall (0.6765). At false-negative-to-false-positive cost ratios of 5, 10, and 20, the decision tree has the lowest default-rule costs: 131, 241, and 461. Thresholds selected from out-of-fold training probabilities, without test-label tuning, reverse this comparison: the random forest achieves test costs of 95, 162, and 237. The results show why model selection should consider decision thresholds and error costs together. Because the dataset contains simulated contemporaneous failure labels, these findings concern failure-state classification rather than validated advance warning or demonstrated industrial savings.
References
- Jardine, A. K. S., Lin, D., & Banjevic, D. (2006). A review on machinery diagnostics and prognostics implementing condition-based maintenance.Mechanical Systems and Signal Processing, 20(7), 1483–1510. https://doi.org/10.1016/j.ymssp.2005.09.012
- Susto, G. A., Schirru, A., Pampuri, S., McLoone, S., & Beghi, A. (2015). Machine learning for predictive maintenance: A multiple classifiers approach.IEEE Transactions on Industrial Informatics, 11(3), 812-820. https://doi.org/10.1109/TII.2014.2349359
- Carvalho, T. P., Soares, F. A. A. M. N., Vita, R., et al. (2019). A systematic literature review of machine learning methods applied to predictive maintenance.Computers & Industrial Engineering, 137, 106024. https://doi.org/10.1016/j.cie.2019.106024
- He, H., & Garcia, E. A. (2009). Learning from imbalanced data.IEEE Transactions on Knowledge and Data Engineering, 21(9), 1263–1284. https://doi.org/10.1109/TKDE.2008.239
- Fawcett, T. (2006). An introduction to ROC analysis.Pattern Recognition Letters, 27(8), 861–874. https://doi.org/10.1016/j.patrec.2005.10.010
- Elkan, C. (2001). The foundations of cost-sensitive learning.Proceedings of IJCAI 2001, 973–978. https://dblp.org/rec/conf/ijcai/Elkan01
- Breiman, L. (2001). Random forests.Machine Learning, 45, 5–32. https://doi.org/10.1023/A:1010933404324
- UCI Machine Learning Repository. (2020). AI4I 2020 predictive maintenance dataset. https://doi.org/10.24432/C5HS5C
- Matzka, S. (2020). Explainable artificial intelligence for predictive maintenance applications.2020 Third International Conference on Artificial Intelligence for Industries, 69–74. https://doi.org/10.1109/AI4I49448.2020.00023
- Pedregosa, F., Varoquaux, G., et al. (2011). Scikit-learn: Machine learning in Python.Journal of Machine Learning Research, 12, 2825–2830. https://www.jmlr.org/papers/v12/pedregosa11a.html