Proactive quality control in cotton yarn manufacturing using random forest defect forecasting and CTQ analysis
DOI:
https://doi.org/10.31315/opsi.v19i1.16757Keywords:
Quality control, Defect forecasting, CTQ, Cotton yarn, Random forestAbstract
Quality control in cotton yarn manufacturing is affected by the daily variation in the occurrence of defects and the late detection of abnormal events at the packing stage. This study proposes a decision-support workflow that integrates Random Forest regression for daily defect forecasting with Critical-to-Quality (CTQ) analysis to enable proactive quality control in an industrial case. The model is trained and validated with time ordered evaluation using historical production volume and defect counts, and the performance is reported using MAE, RMSE and sMAPE. Results indicate that the model learns to capture routine up-down defect patterns during the training period, but prediction accuracy is degraded on test days with extreme defect spikes. However, despite this limitation, the forecast outputs provide an early warning signal to prioritize inspection and corrective actions on high risk days. The predicted risk levels are then further linked to CTQ mapping to identify dominant defect types and convert model outputs to actionable defect-specific control recommendations. The proposed integration of machine-learning forecasting with shop-floor quality planning enables more timely and targeted quality interventions in cotton yarn packaging operations.
References
[1] Kemenperin, “Kemenperin bidik ekspor industri TPT capai USD14 miliar,” Kementerian Perindustrian, 2022. [Online]. Available: https://www.kemenperin.go.id/artikel/23452/Kemenperin-Bidik-Ekspor-Industri-TPT-Capai-USD-14-Miliar
[2] A. Wirajaya, “Kondisi Industri Tekstil Makin Terguncang, Ini Solusinya,” 2025. [Online]. Available: https://enciety.co/kondisi-industri-tekstil-makin-terguncang-ini-solusinya/
[3] T. Pyzdek and P. A. Keller, The six sigma handbook, 5th Edition. New York: McGraw-Hill Education, 2018. [Online]. Available: https://www.accessengineeringlibrary.com/content/book/9781260121827
[4] D. C. Montgomery, Introduction to Statistical Quality Control, 8th edition. John Wiley & Sons, 2020. [Online]. Available: https://www.wiley.com/en-us/Introduction+to+Statistical+Quality+Control,+8th+Edition-p-9781119723097
[5] D. Harianto, H. Pujianto, H. S. Bintang, and D. Alfanti, “Analisa Perbaikan Benang Kusut Akibat Ring Touch Pada Proses Penggulungan Di Mesin Ring Spinning Frame,” JISI: Jurnal Integrasi Sistem Industri, vol. 12, no. 1, pp. 67–78, 2025, doi: 10.24853/jisi.12.1.67-78.
[6] N. K. Sahoo, “Efficiency Improvement by Reducing Rework and Rejection on the Shop Floor,” International Journal of Engineering Research and, vol. V9, no. 06, pp. 1185–1191, 2020, doi: 10.17577/ijertv9is060857.
[7] Rohmat, Sudarmiatin, and T. S. Dhewi, “The Influence of Product Quality on Consumer Loyalty with Customer Satisfaction and Brand Trust as Mediating Variables (Case Research on Samsung Smartphone Consumers in Malang City),” International Journal Of Humanities Education and Social Sciences (IJHESS), vol. 2, no. 1, pp. 225–238, 2022, doi: 10.55227/ijhess.v2i1.232.
[8] W. Wahyudin, D. Herwanto, and N. Helmy, “Perbaikan Kualitas Pembuatan Benang Cotton Ne 40 S Dengan Menggunakan Metode Six Sigma-DPOM Di PT. XYZ,” Barometer, vol. 2, no. 2, pp. 57–59, 2017, doi: 10.35261/barometer.v2i2.906.
[9] A. Perwitasari, A. T. Wahyudi, and W. Widhiarso, “Strategi Pengendalian Produk Cacat di Industri Penyamakan Kulit melalui Pendekatan DMAIC Six Sigma,” in Prosiding Sains dan Teknologi, Kabupaten Bekasi, Jawa Barat: Fakultas Teknik, Universitas Pelita Bangsa, Feb. 2025, pp. 612–623. Accessed: Dec. 12, 2025. [Online]. Available: https://ejurnal.pelitabangsa.ac.id/index.php/SAINTEK/article/view/5609
[10] S. Iskandar, V. G. V. Putra, and H. Hermansyah, “Prediksi End Breakage Benang Kapas Di Mesin Rotor Spinning Menggunakan Pendekatan Jaringan Saraf Tiruan,” EduFisika: Jurnal Pendidikan Fisika, vol. 7, no. 1, pp. 72–87, 2022, doi: 10.59052/edufisika.v7i1.19543.
[11] H. K. Choi, W. Lee, S. M. M. Sajadieh, S. D. Noh, H. S. Son, and S. B. Sim, “Machine Learning Algorithms for Process Optimization and Quality Prediction of Spinning in Textile Industries,” in Product Lifecycle Management. Leveraging Digital Twins, Circular Economy, and Knowledge Management for Sustainable Innovation, vol. 702, in IFIP Advances in Information and Communication Technology, vol. 702. , Cham: Springer Nature Switzerland, 2024, pp. 221–232. doi: 10.1007/978-3-031-62582-4_20.
[12] L. Breiman, “Random Forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, Oct. 2001, doi: 10.1023/A:1010933404324.
[13] M. B. Kursa, “Robustness of Random Forest-based Gene Selection Methods,” BMC Bioinformatics, vol. 15, no. 1, 2014, doi: 10.1186/1471-2105-15-8.
[14] C. Junpradub and K. Asawarungsaengkul, “Predicting the Product Classification of Hot Rolled Steel Sheets Using Machine Learning Algorithms,” Engineering Journal, vol. 27, no. 8, pp. 51–61, Aug. 2023, doi: 10.4186/ej.2023.27.8.51.
[15] M. A. Al-Ebrahim and R. S. Ransing, “A Scalable Random Forest (SRF) Approach for Non-Linear Predictive Modelling using Small Manufacturing Datasets,” Journal of Intelligent Manufacturing, Jun. 2026, doi: 10.1007/s10845-026-02834-2.
[16] N. C. Igbokwe, C. O. Nwamekwe, and P. S. Aguh, “Predictive Modeling of Manufacturing Defects using Machine Learning: A Comparative Performance Study in a Manufacturing SME,” African Journal of Advances in Engineering and Technology, vol. 1, no. 2, pp. 93–115, 2025, doi: https://doi.org/10.31920/2978-3224/2025/V1N2A5.
[17] F. Pedregosa et al., “Scikit-learn: Machine Learning in Python,” Journal of Machine Learning Research, vol. 12, no. 85, pp. 2825–2830, 2011, doi: http://jmlr.org/papers/v12/pedregosa11a.html.
[18] P. Link et al., “Capturing and incorporating expert knowledge into machine learning models for quality prediction in manufacturing,” Journal of Intelligent Manufacturing, vol. 33, no. 7, pp. 2129–2142, Oct. 2022, doi: 10.1007/s10845-022-01975-4.
[19] Y. Yang and H. Wang, “Random Forest-Based Machine Failure Prediction: A Performance Comparison,” Applied Sciences, vol. 15, no. 16, p. 8841, Aug. 2025, doi: 10.3390/app15168841.
[20] J. Bergstra and Y. Bengio, “Random Search for Hyper-Parameter Optimization,” Journal of Machine Learning Research, vol. 13, no. 10, pp. 281–305, 2012, doi: http://jmlr.org/papers/v13/bergstra12a.html.
[21] C. J. Willmott and K. Matsuura, “Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance,” Climate Research, vol. 30, no. 1, pp. 79–82, 2005, doi: https://doi.org/10.3354/cr030079.
[22] T. Chai and R. R. Draxler, “Root mean square error ( RMSE ) or mean absolute error ( MAE )? – Arguments against avoiding RMSE in the literature,” Geoscientific Model Development, vol. 7, no. 3, pp. 1247–1250, 2014, doi: 10.5194/gmd-7-1247-2014.
[23] S. Makridakis, “Accuracy measures: theoretical and practical concerns,” International Journal of Forecasting, vol. 9, pp. 527–529, 1993, doi: https://doi.org/10.1016/0169-2070(93)90079-3.
[24] R. J. Hyndman and A. B. Koehler, “Another look at measures of forecast accuracy,” International Journal of Forecasting, vol. 22, pp. 679–688, 2006, doi: 10.1016/j.ijforecast.2006.03.001.
[25] M. Schroth et al., “Optimization paper production through digitalization by developing an assistance system for machine operators including quality forecast: a concept.” arXiv, 2022. doi: 10.48550/ARXIV.2206.11581.
[26] S. Han, B. D. Williamson, and Y. Fong, “Improving Random Forest Predictions in Small Datasets from Two-Phase Sampling Designs,” BMC Medical Informatics and Decision Making, vol. 21, no. 1, p. 322, Dec. 2021, doi: 10.1186/s12911-021-01688-3.
[27] L. J. Tashman, “Out-of-Sample Tests of Forecasting Accuracy: An Analysis and Review,” International Journal of Forecasting, vol. 16, no. 4, pp. 437–450, Oct. 2000, doi: 10.1016/S0169-2070(00)00065-0.
Downloads
Published
Issue
Section
License
Authors who publish articles in this journal agree to the following conditions:
- Copyright remains with the author and gives the Opsi journal the right as a priority to publish its articles with Creative Commons Attribution 4.0 International license. Which allows articles to be shared with acknowledgement of the author of the article and this journal as the place of publication.
- Authors can distribute their articles on a non-exclusive basis (e.g. in university repositories or books) with notification or acknowledgement of publication in Opsi journals.
- Authors are allowed to post their work online (e.g. on a personal website or in a university repository) before and after the submission process (see The Effect of Open Access)
This work is Licensed Under a Creative Commons Attribution 4.0 International license.
