Journal of Artificial Intelligence, Machine Learning and Neural Network (JAIMLNN) ISSN 2799-1172 · Vol. 5, No. 1 (2025) · pp. 28-39
Research Paper

Comparative analysis of supervised machine learning algorithms for predicting student programming anxiety levels

Eduardo R. Yu II1, Elmerito D. Pineda1, Isagani M. Tano1, Ace C. Lagman1, Jayson M. Victoriano1
  1. 1 Graduate Studies Department, La Consolacion University Philippines.
  2. * Corresponding author: Eduardo R. Yu II, eduardoryuii@gmail.com
Received29 September 2024
Revised4 December 2024
Accepted12 December 2024
Published28 January 2025
DOIhttps://doi.org/10.55529/jaimlnn.51.28.39
LicenceCC BY 4.0
PDFDownload PDF

Abstract

Computer programming anxiety is a widespread problem in students taking computing-related degrees, which normally impacts their grades and confidence in programming activities. As much as the psychological and academic effects of programming anxiety have been researched, there still exists a gap in research in using supervised machine learning methodologies in predicting anxiety within these varied computing fields. This study demonstrated a comparative analysis of supervised machine learning classification techniques for predicting student programming anxiety levels. A cross-sectional data set comprised of student self-reported answers were analyzed using feature selection methods to determine the most relevant attributes. The five classification algorithms utilized in the study were J48 Decision Tree, Random Forest, Support Vector Machine, Logistic Regression, and Naive Bayes. All the algorithms were applied to create a respective prediction model, and the models were implemented and tested with the help of the WEKA software tool. The performance of the models was evaluated based on accuracy, F-measure, precision, recall, and Cohen’s kappa. Among all the resulting prediction models, the one created from Logistic Regression performed the best in overall performance and showed excellent predictive ability. The results illustrated that machine learning models can be used effectively to build predictive systems for facilitating early identification and intervention for programming anxiety students, thus improving academic support approaches.

Keywords: Computer Programming; Anxiety; Machine Learning; Logistic Regression Algorithm; Prediction Model; Classification Algorithms

1. INTRODUCTION

Increased numbers of mental illness such as stress, anxiety, and depression have become a public issue worldwide with anxiety disorders considered one of the most prevalent disorders [1]. Depressive disorders are the leading mental problem in the Philippines, but anxiety contributes significantly too many others, mainly manifested through behavioral issues like being easily irritated, being restless, or having difficulties in concentrating [2]. In the context of computer education, anxiety often occurs while performing programming activities [3]. This phenomenon, referred to as programming anxiety, has a negative impact on students’ learning results, usually caused by self-doubt, fear of failure, or insufficient confidence in problem-solving.

Programming anxiety stands as one of the challenges that computing-related degree students face. To measure programming anxiety psychometrically, some instruments such as the Programming Anxiety Scale (PAS), which uses standardized self-reporting, have been established [4]. The method, effective enough at measuring one’s own ratings about programming anxiety scores, does not come without compromises, as the method can be time consuming and applied only at discrete intervals. As a result, its practical use for timely intervention within academic settings remains limited. This study aimed to perform a comparative analysis on the accuracy percentage of five classification algorithms, namely J48 Decision Tree (DT), Random Forest (RF), Support Vector Machine (SVM), Logistic Regression (LR), and Naive Bayes (NB) using WEKA (Waikato Environment for Knowledge Analysis), an open-source Machine Learning (ML) software to predict student’s programming anxiety level, and further evaluate their performance using machine learning validation metrics such as F-measure, precision, recall, , and Cohen’s kappa.

This study contributes to the understanding of programming anxiety by providing a machine learning framework for predicting students’ risk. Using cross-sectional data from students alongside feature selection and model assessment, this work contributes evidence to the notion of predictive modeling in mental health education, supporting the argument for prioritizing mental health. Predictive modeling illustrates the potential of immediate academic intervention driven by data. This research also offers practical recommendations to assist education researchers, educators, and school administrators in enhancing student performance and fostering more positive computing learning experiences and environments.

2. RELATED WORKS

Recent studies have affirmed the capability of classification algorithms in forecasting mental health conditions among student populations. One investigation, for example, applied DT to predict stress, SVM for depression detection, and both LR and NN for identifying anxiety, with reported accuracy ranging from 68% to 88% [5]. Similarly, another study further highlighted the potential of machine learning to help mental health diagnosis and early intervention efforts by building predicting models for major depressive disorder and generalized anxiety disorder in student cohorts [6]. To further focus, a number of research have looked at risk factors for depression and anxiety in educational settings. After determining significant factors such as academic performance, financial status, bullying, abuse at home, and school violence, SVM was determined to be the best classifier [7]. These results were backed by a systematic study, which identified SVM and LR as the most frequently employed algorithms to predict anxiety and stress in college students [8].

With the aim to predict anxiety, stress, and depression in college students, [9] assessed DT, RF, SVM, and NN, emphasizing the importance of demographic and lifestyle data. Meanwhile, [10] compared RF, Gradient Boosting (GB), Artificial Neural Networks (ANN), and a proposed Deep Recurrent Neural Network (DRNN) to investigate mental health issues among women. According to their findings, the DRNN performed better than expected, indicating that it can be useful for early detection. Using behavioral and physiological data, [11] evaluated LR, RF, Forest, SVM, and Gradient Boost Classifier, offering standards for applications in mental health.

This investigation was further refined [12], who examined LR, RF, SVM, NB, Linear Discriminant Analysis (LDA), and K-Nearest Neighbors (KNN). The results demonstrated that RF and SVM were the most effective in classifying anxiety and depression. Some research has concentrated on identifying a variety of conditions related to anxiety. To predict different anxiety subtypes, [13] used datasets from educational and hospital organizations. Their results demonstrated how machine learning, in particular RF and SVM, may be used to differentiate between various anxieties subtypes. New methods have further improved the accuracy of predictions. [14] Incorporated physiological data into machine learning for the detection of anxiety in real-time virtual reality therapy, proving the importance of multimodal data. [15] Used Decision Trees to evaluate the mental health of college students with methodological care, controlling for confounding variables in the prediction of anxiety, depression, and suicidal thoughts.

Even with these developments, minimal is known about programming anxiety, a unique type of academic anxiety that is common in computer education. Studies that have already been done mostly deal with generalized anxiety and contribute less attention to programming anxiety-related to a specific discipline. The study work evaluates supervised machine learning methods for programming anxiety prediction to overcome this limitation. This aids in the development of focused treatments in computing education and advances research on digital mental health. Table 1 complied the additional pertinent studies on anxiety in educational and other settings. Numerous gaps in recent research were found. Interestingly, there aren’t many thorough studies that employ classification algorithms to predict students’ programming anxiety levels. Furthermore, several studies failed to take into consideration the Philippines’ distinct cultural and educational backgrounds.

Table 1. Matrix of Related Studies in Anxiety Prediction Using Machine Learning
Table 1

3. METHODOLOGY

This study employed a developmental research approach [19], which entailed examining and detailing the development of a prediction model through machine learning techniques, as shown in Figure 1. Each step in this process is explained in the following paragraph.

Figure 1
Figure 1. Prediction Model Development Pipeline

1. Data Collection

The dataset used in this study was acquired during the first semester of the 2023–2024 academic year from the Computer Studies Department (CSD) of a public higher education institution in the Philippines. It includes 1,732 student record instances, incorporating self-reported scores from a validated programming anxiety scale [4], current academic achievement data, and other pertinent characteristics. By adhering to ethical standards, the data gathering procedure, protected personal data in accordance with the Philippine Data Privacy Act of 2012 (Republic Act No. 10173). To safeguard the participants’ rights and privacy, all information was collected with their consent and managed in a strictly confidential manner.

2. Data Pre-Processing

To guarantee that the data was suitable for machine learning, it underwent extensive preparation. This involves the process of standardizing, normalizing, and fixing errors, contradictions, and missing numbers. Python libraries were used to carry out real preprocessing. The target variable was labeled after the initial Programming Anxiety Scores, which varied from 11 to 55 and higher scores indicated higher anxiety, were divided into two categories: “Low” (scores between 11 and 33) and “High” (scores between 34 and 55). One hot encoding was used to transform other attributes to satisfy the requirements of the machine learning algorithms. One hot encoding was used to transform other attributes to satisfy the requirements of the machine learning algorithms. The Synthetic Minority Oversampling Technique, or SMOTE, was used to create synthetic samples for the minority class to rectify the dataset’s unequal class distribution. [20]. The nine significant features were identified using feature selection techniques such Greedy Stepwise, Attribute Ranking, and Best Fit.

3. Algorithm Selection

Classification algorithms were chosen for this study because they are effective with categorical binary class problems. In this study, students’ programming anxiety levels were predicted to be “Low” or “High”. The ability of these algorithms to identify patterns and correlations in labeled data indicates that they are effective for categorical prediction tasks. Five different algorithms were used in this study: J48 DT, RF, SVM, LR, and NB. They were chosen based on their proven utility in previous anxiety and mental health prediction research. Each algorithm exhibits a unique modeling approach, allowing for a thorough evaluation of expected performance.

1. J48 Decision Tree: The J48 algorithm is a variant of the C4.5 decision tree algorithm, which generates

decision trees through recursive data partitioning. It does so by selecting attributes that maximize information gain to divide the data into subsets. The selection of attributes for splitting is typically based on metrics like Information Gain (IG). It constructs a tree by selecting the attribute that minimizes uncertainty, thus ensuring an efficient structure for classification. This method is known for

its transparency and ease of interpretation, producing decision-making rules that are intuitive, while being capable of handling both categorical and continuous data with efficiency [21].

2. Random Forest: This algorithm, based on ensemble learning, constructs multiple decision trees by

using random subsets of features and bootstrap sampling. The predictions of these individual trees are aggregated through majority voting (for classification tasks) to enhance overall accuracy and minimize overfitting. Random Forest is known for its robustness against noise and outliers, and it reduces the high variance that typically affects single decision trees. Its ability to perform well on datasets with missing values or high dimensionality makes it a preferred choice across various machine learning domains [22].

3. Support Vector Machine (SVM): SVM seeks to identify the hyperplane that separates two classes by

maximizing the margin between them in a multi-dimensional space. For datasets that are linearly separable, this is accomplished by solving the following optimization problem. SVM is highly effective in dealing with data that is both high-dimensional and not linearly separable by employing kernel functions, which transform the input features into a higher-dimensional space. Due to its precision and resilience, SVM is extensively utilized in classification problems, especially when handling complex decision boundaries and large-scale datasets [23].

4. Logistic Regression: Logistic Regression is a statistical technique commonly used for binary

classification problems. It estimates the likelihood that a given input belongs to a class by applying the logistic (sigmoid) function to a linear combination of input features, which results in an output between 0 and 1. Logistic Regression is particularly valued for its simplicity and effectiveness in binary classification, offering clear interpretability and computational efficiency [24].

5. Naive Bayes: The Naive Bayes classifier is a probabilistic model grounded in Bayes’ Theorem, which

operates under the assumption that the features used for classification are conditionally independent given the class label. Although Naive Bayes assumes that all features used for classification are conditionally independent given the class label, which may not always hold, it has demonstrated strong performance in real-world applications such as spam filtering, text classification, and scenarios involving high-dimensional data. Its effectiveness is attributed to its simplicity, resilience to noisy data, and scalability [25].

4. Performance Evaluation

To ensure the robustness and validity of the classification model in predicting students’ programming anxiety levels, a comprehensive set of performance evaluation metrics was employed. These include accuracy, F1-measure, precision, recall, and Cohen’s kappa. Each metric captures a unique aspect of model performance, providing a multidimensional assessment that supports the reliability and interpretability of the results:

Accuracy is measured as the ratio of correctly classified instances to the total number of predictions. Despite being widely used due to its simplicity, this statistic can prove deceptive in situations when there is a class imbalance, since the dominance of one class may skew the actual performance of a model. To prevent overestimating performance, [26] emphasized that accuracy should be regarded cautiously in these situations.

Formula:

TP + TN Accuracy = TP + TN + FP + FN

Precision is the ratio of true positive predictions to all positive instances. Since it shows the model’s capacity to produce correct positive classifications without overestimating, it is particularly important in situations where the cost of false positives is large. The significance of precision in assessing classification models that handle sensitive outcomes was emphasized by [27].

Formula:

TP Precision = TP + FP

Recall, also known as sensitivity, measures the model’s ability to detect true positive cases among the whole pool of actual positives. In applications where ignoring positive cases could have serious consequences, this metric is essential. High recall values are crucial for creating models to identify possibly at-risk individuals, [28] showed.

Formula:

TP Recall = TP + FN

F-measure (or F1 Score) represents the harmonic average of precision and recall, providing a single metric that balances both. This measure is particularly useful in situations where there is a need to consider the trade-off between false positives and false negatives equally [29].

Formula:

Precision × Recall

F1 = 2 ×

Precision + Recall

Cohen’s Kappa is a statistical measure that evaluates the agreement between predicted and actual classifications while accounting for the possibility of chance agreement [30]. This metric guarantees that evaluation results reflect actual predictive performance rather than coincidental alignment when it comes to estimating student programming anxiety levels. Its use increases the model evaluates’ reliability and aids in the creation of strong, data-driven techniques for identifying students who are at risk and providing focused intervention plans [31].

Formula:

Po − Pe κ = 1 − Pe

Where Po is the observed agreement and Pe is the expected agreement by chance.

4. RESULTS AND DISCUSSION

The findings are presented in the following discussions, which include the results of feature selection techniques, performance evaluation of classification algorithms for predicting students’ programming anxiety levels.

A) Feature Selection Techniques

The most predictive features of programming anxiety level were found using these feature selection techniques. The model’s overall predicted accuracy was improved by the relevant and statistically significant features that were chosen. These chosen features helped to increase the success rate and overall predicted accuracy of the classification algorithms by reducing dimensionality while getting eliminated of less useful attributes.

Table 2. Results of Feature Selection Techniques
Table 2

Table 2 summarizes the feature selection techniques, attribute evaluators, and top attributes identified. Using WEKA, nine significant attributes were selected from an initial set of eighteen. The Best First and Greedy Stepwise methods, both with the Correlation based Feature Selection (CFS) Subset Evaluator, identified the same nine attributes, confirming their importance. The Information Gain Ranking Filter ranked them according to its significance.

B) Performance of Classification Algorithms for Predicting Student Programming Anxiety Levels

A comparative analysis of five classification algorithms was visualized to identify the best model for predicting students’ programming anxiety level.

Figure 2
Figure 2. Accuracy-Based Bar Chart of Classification Algorithms

Figure 2 revealed that Logistic Regression was the most accurate of the five classification algorithms evaluated, with a prediction accuracy of 98% in classifying student programming anxiety levels. RF and SVM came next, both of which demonstrated great overall performance and comparatively high accuracy ratings. Among the models, NB had the lowest accuracy, whereas J48 DT showed an acceptable degree of accuracy. Based on the provided dataset, these results demonstrated that Logistic Regression generated the best model for this classification and supported its choice as the best model for predicting programming anxiety.

Table 3. Results of Feature Selection Techniques
Table 3

Table 3 shows the comparison results of the five classification algorithms that include four critical validation metrics: precision, recall, F-measure, and Cohen’s kappa. Logistic Regression consistently outperforms the other models, with the greatest results in all metrics—98 percent precision, 99 percent recall, 98 percent F-measure, and a Cohen’s kappa of 0.96. It is the most effective algorithm for predicting students’ programming anxiety levels because of its robust and well-rounded performance. Other algorithms, such as NB and SVM performed similarly, notably in Recall and F-measure, but fall somewhat short in overall consistency and agreement when compared to Logistic Regression.

Figure 3
Figure 3. ROC Curve Comparison of Classification Algorithms

Figure 3 illustrates five classification models’ Receiver Operating Characteristic (ROC) curves to predict levels of programming anxiety. Logistic Regression, blue, recorded the best AUC of 0.98, reflecting better classification accuracy. The grey models performed reasonably well, solidifying Logistic Regression as the best option for this study.

5. CONCLUSION

This study evaluated the prediction of student programming anxiety levels using supervised machine learning algorithms and identified key predictors such as working status, previous semester GWA, preferred VARK learning style, available ICT equipment, average sleep hours, final grade in Computer Programming 1, senior high school track, course, and year level. Among the algorithms tested, Logistic Regression demonstrated the highest predictive performance with 98% accuracy, supporting its potential integration into educational systems for early identification of students at risk of high programming anxiety. These findings offer valuable insights for developing targeted interventions aimed at reducing anxiety and enhancing academic performance and well-being among students in computing-related programs. To further improve the model’s performance and applicability, it is recommended to use a larger dataset for more robust analysis, adopt a Machine Learning Development Life Cycle for scalable implementation, and integrate the top-performing model into an intelligent system with real-time monitoring capabilities to support universities in proactively addressing programming anxiety.

Authors Contributions Statement

Name of Author C M So Va Fo I R D O E Vi Su P Fu

Eduardo R. Yu II • • • • • • • • • • • Elmerito D. Pineda • • • •

Isagani M. Tano • • • • •

Ace C. Lagman • • •

Jayson M. Victoriano • • • • •

C : ConceptualizationI : InvestigationVi : Visualization M : MethodologyR : ResourcesSu : Supervision So : SoftwareD : Data CurationP : Project administration Va : ValidationO : Writing - Original DraftFu : Funding acquisition Fo : Formal analysisE : Writing - Review & Editing

Acknowledgments

We sincerely thank all who contributed to the success of this study. We acknowledge the support of participating institutions and individuals in data collection, and the encouragement of our peers, colleagues, and families. Their time, effort, and motivation were invaluable throughout this research.

Funding Information

This study received no grant support. A manuscript grant request is pending approval from the National Research Council of the Philippines. All additional expenses were covered by the authors.

Ethical Approval

The researchers obtained local approvals to ensure ethical and institutional compliance. Data collection followed the Philippine Data Privacy Act of 2012, with strict measures to protect participant privacy.

Data Availability

The data supporting the results of this study are available from the corresponding author upon reasonable request and subject to institutional approval and compliance with the Philippine Data Privacy Act of 2012.

Conflict of Interest

The authors declare no conflicts of interest.

Informed Consent

All participants were informed of the study’s purpose, procedures, and their right to voluntary participation.

References

  1. [1] World Health Organization, “Anxiety disorders”, WHO, Mar. 2, 2024. [Online]. Available: https://www.who.int/news-room/fact-sheets/detail/anxiety-disorders. [Accessed: Mar. 2, 2024].
  2. [2] Department of Health (Philippines), “DOH townhall session | May 19, 2021”, YouTube, May 19, 2021. [Online]. Available: https://www.youtube.com/watch?v=DD-OEzkjPJY. [Accessed: Jan. 24, 2025].
  3. [3] B. Tomić, T. Stojanović, and I. Antović, 'Examining students' test anxiety and pre-university programming education in an undergraduate introductory programming course', in EDULEARN Proceedings, Palma, Spain, 2022, vol. 1, pp. 3848-3857. doi.org/10.21125/edulearn.2022.0938
  4. [4] O. G. Yildirim and N. Ozdener, 'Development and validation of the Programming Anxiety Scale', Int. J. Comput. Sci. Educ. Sch., vol. 5, no. 3, pp. 17-34, May 2022. doi.org/10.21585/ijcses.v5i3.140
  5. [5] S. Mutalib. Et. al., 'Mental health prediction models using machine learning in higher education institution', Turk. J. Comput. Math. Educ. (TURCOMAT), vol. 12, no. 5, pp. 1782-1792, Apr. 2021. doi.org/10.17762/turcomat.v12i5.2181
  6. [6] M. D. Nemesure, M. V. Heinz, R. Huang, and N. C. Jacobson, 'Predictive modeling of depression and anxiety using electronic health records and a novel machine learning approach with artificial intelligence', Sci. Rep., vol. 11, no. 1, Jan. 2021. doi.org/10.1038/s41598-021-81368-4
  7. [7] R. Qasrawi, S. P. Vicuna Polo, D. Abu Al-Halawa, S. Hallaq, and Z. Abdeen, 'Assessment and prediction of depression and anxiety risk factors in schoolchildren: Machine learning techniques performance analysis', JMIR Form. Res., vol. 6, no. 8, p. e32736, Aug. 2022. doi.org/10.2196/32736
  8. [8] A. Daza, N. Saboya, J. I. Necochea-Chamorro, K. Zavaleta Ramos, and Y. del R. Vásquez Valencia, 'Systematic review of machine learning techniques to predict anxiety and stress in college students', Inform. Med. Unlocked, vol. 43, no. 101391, p. 101391, 2023. doi.org/10.1016/j.imu.2023.101391
  9. [9] S. S. Malik and A. Khan, 'Anxiety, Depression and Stress prediction among College Students using Machine Learning Algorithms', in 2023 Second International Conference on Electrical, Electronics, Information and Communication Technologies (ICEEICT), Trichirappalli, India, 2023, pp. 1-5. doi.org/10.1109/ICEEICT56924.2023.10157693
  10. [10] K. Katiyar, H. Fatma, and S. Singh, 'Predicting anxiety, depression and stress in women using machine learning algorithms', in Combating Women's Health Issues with Machine Learning, Boca Raton: CRC Press, 2023, pp. 22-40. doi.org/10.1201/9781003378556-2
  11. [11] Ashwini Garkhedkar, 'Stress and anxiety prediction using machine learning: A benchmark study of key algorithms', Panamer. Math. J., vol. 35, no. 4s, pp. 200-210, Mar. 2025. doi.org/10.52783/pmj.v35.i4s.4639
  12. [12] F. Nikraftar, F. Heshmati Nabavi, M. Dastani, S. R. Mazlom, and S. Mirhosseini, 'Acceptability, feasibility, and effectiveness of smartphone-based delivery of written educational materials in Iranian patients with coronary artery disease: A randomized control trial study', Health Sci. Rep., vol. 5, no. 5, p. e801, Sep. 2022. doi.org/10.1002/hsr2.801
  13. [13] A. Kapoor and S. Goel, 'Prediction of anxiety disorders using machine learning techniques', in 2022 IEEE Bombay Section Signature Conference (IBSSC), Mumbai, India, 2022. doi.org/10.1109/IBSSC56953.2022.10037459
  14. [14] D. Mevlevioğlu, S. Tabirca, and D. Murphy, 'Real-time anxiety prediction in virtual reality therapy', in Proceedings of the 13th ACM Multimedia Systems Conference, Athlone Ireland, 2022. doi.org/10.1145/3524273.3533926
  15. [15] H. Xiaocheng, 'Application of decision tree algorithm in college students' mental health evaluation', in 2023 IEEE International Conference on Integrated Circuits and Communication Systems (ICICACS), Raichur, India, 2023, pp. 1-6. doi.org/10.1109/ICICACS57338.2023.10099654
  16. [16] A. Sau and I. Bhakta, 'Predicting anxiety and depression in elderly patients using machine learning technology', Healthc. Technol. Lett., vol. 4, no. 6, pp. 238-243, Dec. 2017. doi.org/10.1049/htl.2016.0096
  17. [17] A. Priya, S. Garg, and N. P. Tigga, 'Predicting anxiety, depression and stress in modern life using machine learning algorithms', Procedia Comput. Sci., vol. 167, pp. 1258-1267, 2020. doi.org/10.1016/j.procs.2020.03.442
  18. [18] S. A. Farooq, O. Konda, A. Kunwar, and N. Rajeev, 'Anxiety prediction and analysis- A machine learning based approach', in 2023 4th International Conference for Emerging Technology (INCET), Belgaum, India, 2023, pp. 1-7. doi.org/10.1109/INCET57972.2023.10170115
  19. [19] A. Ibrahim, 'Definition purpose and procedure of developmental research: An analytical review', Asian Res. J. Arts Soc. Sci., vol. 1, no. 6, pp. 1-6, Jan. 2016. doi.org/10.9734/ARJASS/2016/30478
  20. [20] S. Alija, E. Beqiri, A. S. Gaafar, and A. K. Hamoud, 'Predicting students performance using supervised machine learning based on imbalanced dataset and wrapper feature selection', Informatica (Ljubl.), vol. 47, no. 1, Mar. 2023. doi.org/10.31449/inf.v47i1.4519
  21. [21] S. Wy et al., 'Decision tree Algorithm−Based prediction of vulnerability to depressive and anxiety symptoms in caregivers of children with glaucoma', Am. J. Ophthalmol., vol. 239, pp. 90-97, Jul. 2022. doi.org/10.1016/j.ajo.2022.01.025
  22. [22] L. K. Xin and N. B. A. Rashid, 'Prediction of depression among women using random oversampling and random forest', in 2021 International Conference of Women in Data Science at Taif University (WiDSTaif ), Taif, Saudi Arabia, 2021. doi.org/10.1109/WiDSTaif52235.2021.9430215
  23. [23] F. M. Albagmi, A. Alansari, D. S. Al Shawan, H. Y. AlNujaidi, and S. O. Olatunji, 'Prediction of generalized anxiety levels during the Covid-19 pandemic: A machine learning-based modeling approach', Inform. Med. Unlocked, vol. 28, no. 100854, p. 100854, 2022. doi.org/10.1016/j.imu.2022.100854
  24. [24] W. A. van Eeden et al., 'Predicting the 9-year course of mood and anxiety disorders with automated machine learning: A comparison between auto-sklearn, naïve Bayes classifier, and traditional logistic regression', Psychiatry Res., vol. 299, no. 113823, p. 113823, May 2021. doi.org/10.1016/j.psychres.2021.113823
  25. [25] S. Monisha, R. Meera, V. Swaminath R., and A. Raj L., 'Predictive analysis of student stress level using naïve Bayesian classification algorithm', in 2020 International Conference on Computer Communication and Informatics (ICCCI), Coimbatore, India, 2020. doi.org/10.1109/ICCCI48352.2020.9104113
  26. [26] H. Kaur and N. K. Sandhu, “Evaluating the Effectiveness of the Proposed System Using F1 Score, Recall, Accuracy, Precision and Loss Metrics Compared to Prior Techniques,” Int. J. Commun. Netw. Inf. Secur., vol. 15, no. 4, pp. 368–383, 2024. [Online]. Available: https://ijcnis.org/index.php/ijcnis/article/view/7168
  27. [27] R. Yacouby and D. Axman, 'Probabilistic extension of precision, recall, and F1 score for more thorough evaluation of classification models', in Proceedings of the First Workshop on Evaluation and Comparison of NLP Systems, Online, 2020. doi.org/10.18653/v1/2020.eval4nlp-1.9
  28. [28] M. Vakili, M. Ghamsari, and M. Rezaei, 'Performance analysis and comparison of machine and deep learning algorithms for IoT data classification', arXiv [cs.LG], 27-Jan-2020.
  29. [29] D. J. Hand, P. Christen, and N. Kirielle, 'F*: an interpretable transformation of the F-measure', Mach. Learn., vol. 110, no. 3, pp. 451-456, Mar. 2021. doi.org/10.1007/s10994-021-05964-1
  30. [30] E. Ahmed, 'Student performance prediction using machine learning algorithms', Appl. Comput. Intell. Soft Comput., vol. 2024, no. 1, Jan. 2024. doi.org/10.1155/2024/4067721
  31. [31] Manish rai, 'Machine learning-based strategies for enhancing student achievement in higher education through engagement and support', jier, vol. 5, no. 2, Apr. 2025. doi.org/10.52783/jier.v5i2.2551

How to cite: Eduardo R. Yu II, Elmerito D. Pineda, Isagani M. Tano, Ace C. Lagman, Jayson M. Victoriano (2025). Comparative analysis of supervised machine learning algorithms for predicting student programming anxiety levels. Journal of Artificial Intelligence, Machine Learning and Neural Network, 5(1), 28-39. https://doi.org/10.55529/jaimlnn.51.28.39

Copyright © 2025 The Author(s). This is an open access article distributed under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0). Published by HM Publishers.