Comparison of Gradient Boosting and Random Forest Models in the Detection System of Rakaat during Prayer
Abstract
Abstract. Errors in the execution of prayer among Muslims can occur due to a lack of profound understanding of the prayer procedure. This research aims to compare two machine learning models, Random Forest and Gradient Boosting, in classifying prayer movements, subsequently extending to calculate the number of prayer cycles (rakaat). A total of 7220 manually gathered data based on 33 landmark coordinates using Mediapipe Pose Detection were employed. The research findings reveal that the Random Forest model with a 70:30 ratio achieves 99.9% accuracy, precision, and recall, with the fastest training time being 3.8 seconds. Both models exhibit testing results close to 100%, but the Gradient Boosting model faces challenges in classifying specific movements. On the other hand, Random Forest successfully overcomes these
challenges, enabling accurate prayer cycle calculations. The findings can contribute to the development of tools supporting Muslims in correct prayer execution, positively impacting religious and well-being aspects.
Keywords
Full Text:
PDFReferences
A. Nurhuda, I. H. Ansori, and Ts. E. S. B. E. Ab Rahman, “THE URGENCY OF PRAYER IN LIFE BASED ON THE AL-QUR’AN PERSPECTIVE,” LISAN AL-HAL: Jurnal Pengembangan Pemikiran dan Kebudayaan, vol. 17, no. 1, pp. 52–61, Jun. 2023, doi: 10.35316/lisanalhal.v17i1.52-61.
I. E. Samara, “Intelligent systems and AI techniques: Recent advances and Future directions,” International Journal of Advances in Applied Computational Intelligence, vol. 1, no. 2, pp. 30–45, 2022, doi: 10.54216/IJAACI.010202.
I. Manan, F. Rehman, H. Sharif, N. Riaz, M. Atif, and M. Aqeel, “Quantum Computing and Machine Learning Algorithms - A Review,” in 2022 3rd International Conference on Innovations in Computer Science & Software Engineering (ICONICS), IEEE, Dec. 2022, pp. 1–6. doi: 10.1109/ICONICS56716.2022.10100452.
B. C. Santoso, H. Santoso, and J. Sandjaya, “Development of Independent Taekwondo Training Machine Learning with 3D Pose Model Mediapipe,” Sinkron, vol. 8, no. 3, pp. 1427–1434, Jul. 2023, doi: 10.33395/sinkron.v8i3.12571.
K. Yongcharoenchaiyasit, S. Arwatchananukul, P. Temdee, and R. Prasad, “Gradient Boosting Based Model for Elderly Heart Failure, Aortic Stenosis, and Dementia Classification,” IEEE Access, vol. 11, pp. 48677–48696, 2023, doi: 10.1109/ACCESS.2023.3276468.
Y. Ren, X. Zhu, K. Bai, and R. Zhang, “A New Random Forest Ensemble of Intuitionistic Fuzzy Decision Trees,” IEEE Transactions on Fuzzy Systems, vol. 31, no. 5, pp. 1729–1741, May 2023, doi: 10.1109/TFUZZ.2022.3215725.
C. Bentéjac, A. Csörgő, and G. Martínez-Muñoz, “A comparative analysis of gradient boosting algorithms,” Artif Intell Rev, vol. 54, no. 3, pp. 1937–1967, Mar. 2021, doi: 10.1007/s10462-020-09896-5.
X. Ju and M. Salibián-Barrera, “Robust boosting for regression problems,” Comput Stat Data Anal, vol. 153, p. 107065, Jan. 2021, doi: 10.1016/j.csda.2020.107065.
Y. Ren, X. Zhu, K. Bai, and R. Zhang, “A New Random Forest Ensemble of Intuitionistic Fuzzy Decision Trees,” IEEE Transactions on Fuzzy Systems, vol. 31, no. 5, pp. 1729–1741, May 2023, doi: 10.1109/TFUZZ.2022.3215725.
J.-M. Nguyen et al., “Random forest of perfect trees: concept, performance, applications and perspectives,” Bioinformatics, vol. 37, no. 15, pp. 2165–2174, Aug. 2021, doi: 10.1093/bioinformatics/btab074.
K. Dedja, F. K. Nakano, K. Pliakos, and C. Vens, “BELLATREX: Building Explanations Through a LocaLly AccuraTe Rule EXtractor,” IEEE Access, vol. 11, pp. 41348–41367, 2023, doi: 10.1109/ACCESS.2023.3268866.
M. Fahmy Amin, “Confusion Matrix in Binary Classification Problems: A Step-by-Step Tutorial,” Journal of Engineering Research, vol. 6, no. 5, pp. 0–0, Dec. 2022, doi: 10.21608/erjeng.2022.274526.
S. Riyanto, I. S. Sitanggang, T. Djatna, and T. D. Atikah, “Comparative Analysis using Various Performance Metrics in Imbalanced Data for Multi-class Text Classification,” International Journal of Advanced Computer Science and Applications, vol. 14, no. 6, 2023, doi: 10.14569/IJACSA.2023.01406116.
N. M. Kebonye, “Exploring the novel support points-based split method on a soil dataset,” Measurement, vol. 186, p. 110131, Dec. 2021, doi: 10.1016/j.measurement.2021.110131.
M. T. Anwar, “Automatic Complaints Categorization Using Random Forest and Gradient Boosting,” Advance Sustainable Science, Engineering and Technology, vol. 3, no. 1, p. 0210106, Apr. 2021, doi: 10.26877/asset.v3i1.8460.
DOI: https://doi.org/10.26877/asset.v6i1.17886
Refbacks
- There are currently no refbacks.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Advance Sustainable Science, Engineering and Technology (ASSET)
E-ISSN: 2715-4211
Published by Science and Technology Research Centre
Universitas PGRI Semarang, Indonesia
Website: http://journal.upgris.ac.id/index.php/asset/index
Email: asset@upgris.ac.id