Detecting Student Engagement in an Online Learning Environment Using a Machine Learning Algorithm
Abstract
:1. Introduction
2. Related Work
3. Materials and Methods
3.1. Dataset
3.2. Data Pre-Processing
- Difference_rated_watched = date_rated − date_watched;
- Difference_examcompleted = date_exam_completed − date_engaged.
3.2.1. Missing Values
3.2.2. Normalization and Encoding
3.3. Modeling
- Support Vector Machine (SVM)
- Naive Bayes
- Decision Tree
- Random Forest
- KNN
- Logistic regression
- Gradient Boosting
- Ada Boost
- Multi-Layer Perceptron
- Lesson assimilation is assessed using quizzes and exams focusing on lesson content;
- Engagement in quizzes and exams is an indicator of the learner’s overall engagement behavior if the learner actively and fully engages in quizzes and exams and demonstrates engagement behavior in the learning process;
- The fact that learners participate effectively and do well in quizzes and exams testifies to their behavior and involvement in the content taught in the corresponding lessons.
4. Results
- Decision Tree is highly recognized for its readability and transparency, and the extracted rules are easy for technical experts to interpret. In an educational context, it is important, even crucial, to understand why a model predicts a certain behavior for a learner.
- KNN was selected for its simplicity and effectiveness in capturing similarities, making it particularly relevant to apply in personalized or anticipatory recommendations
- Gradient Boosting was chosen for its high performance in structured data and its ability to capture complex interactions while limiting over-learning thanks to regularization mechanisms.
- Concerning the other models not retained,
- SVM, despite its power, presents significant computational complexity for nonlinear kernels, as well as its visibility in large-scale online systems;
- Logistic Regression does not exploit nonlinear interactions between variables at the level of learner behavior;
- Random Forest is conceptually similar to Gradient Boosting, but offers better performance and overfitting control.
- Decision Tree
- The model was trained using entropy as the criterion for building the Decision Tree;
- Training and test data were standardized using StandardScaler;
- Model performance was evaluated in predicting engagement on the three targets.
- KNN
- The model was trained with n_neighbors = 3 to make decisions;
- Training and test data were standardized using StandardScaler;
- Model performance was evaluated in predicting engagement on the three targets.
- Gradient boosting
- Optimal parameters were chosen, including n_estimators = 100, learning_rate = 0.1 and random_state = 42 to ensure reproducibility of results;
- Training and test data were standardized using StandardScaler;
- Model performance was evaluated in predicting engagement on the three targets.
5. Discussion
- Decision Tree—Engagement quizzes;
- Decision Tree—Engagement exams;
- Decision Tree—Engagement lessons (results of quizzes and exams will not be presented, we will only present other features);
- KNN—Engagement quizzes;
- KNN—Engagement exams;
- KNN—Engagement lessons (results of quizzes and exams will not be presented, we will only present other features);
- Gradient Boosting—Engagement quizzes;
- Gradient Boosting—Engagement exams;
- Gradient Boosting—Engagement lessons (results of quizzes and exams will not be presented, we will only present other features).
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Kundu, A.; Bej, T. COVID-19 response: Students’ readiness for shifting classes online. Corporate Gov. Int. J. Bus. Soc. 2021, 21, 1250–1270. [Google Scholar] [CrossRef]
- Patricia Aguilera-Hermida, A. College students’ use and acceptance of emergency online learning due to COVID-19. Int. J. Educ. Res. Open 2020, 1, 100011. [Google Scholar] [CrossRef]
- Sugden, N.; Brunton, R.; MacDonald, J.; Yeo, M.; Hicks, B. Evaluating student engagement and deep learning in interactive online psychology learning activities. Australas. J. Educ. Technol. 2021, 37, 45–65. [Google Scholar] [CrossRef]
- Astin, A.W. Student involvement: A developmental theory for higher education. J. Coll. Stud. Dev. 1999, 40, 518–529. [Google Scholar]
- Schunk, D.H.; Mullen, C.A. Self-Efficacy as an Engaged Learner. In Handbook of Research on Student Engagement; Christenson, S.L., Reschly, A.L., Wylie, C., Eds.; Springer: Boston, MA, USA, 2012; pp. 219–235. ISBN 978-1-4614-2018-7. [Google Scholar]
- Alruwais, N.; Zakariah, M. Student-Engagement Detection in Classroom Using Machine Learning Algorithm. Electronics 2023, 12, 731. [Google Scholar] [CrossRef]
- Bhardwaj, P.; Gupta, P.K.; Panwar, H.; Siddiqui, M.K.; Morales-Menendez, R.; Bhaik, A. Application of Deep Learning on Student Engagement in e-learning environments. Comput. Electr. Eng. 2021, 93, 107277. [Google Scholar] [CrossRef]
- Holmes, N. Engaging with assessment: Increasing student engagement through continuous assessment. Act. Learn. High. Educ. 2018, 19, 23–34. [Google Scholar] [CrossRef]
- Jung, Y.; Lee, J. Learning Engagement and Persistence in Massive Open Online Courses (MOOCS). Comput. Educ. 2018, 122, 9–22. [Google Scholar] [CrossRef]
- Fredricks, J.A.; Blumenfeld, P.C.; Paris, A.H. School Engagement: Potential of the Concept, State of the Evidence. Rev. Educ. Res. 2004, 74, 59–109. [Google Scholar] [CrossRef]
- Deci, E.L.; Ryan, R.M. The general causality orientations scale: Self-determination in personality. J. Res. Personal. 1985, 19, 109–134. [Google Scholar] [CrossRef]
- Cagliero, L.; Canale, L.; Farinetti, L.; Baralis, E.; Venuto, E. Predicting Student Academic Performance by Means of Associative Classification. Appl. Sci. 2021, 11, 1420. [Google Scholar] [CrossRef]
- Hassan, S.-U.; Waheed, H.; Aljohani, N.R.; Ali, M.; Ventura, S.; Herrera, F. Virtual learning environment to predict withdrawal by leveraging deep learning. Int. J. Intell. Syst. 2019, 34, 1935–1952. [Google Scholar] [CrossRef]
- Henrie, C.R.; Bodily, R.; Larsen, R.; Graham, C.R. Exploring the Potential of LMS Log Data as a Proxy Measure of Student Engagement. J. Comput. High. Educ. 2018, 30, 344–362. [Google Scholar] [CrossRef]
- Tomasevic, N.; Gvozdenovic, N.; Vranes, S. An overview and comparison of supervised data mining techniques for student exam performance prediction. Comput. Educ. 2020, 143, 103676. [Google Scholar] [CrossRef]
- Duderstadt, J.J.; Atkins, D.E.; Van Houweling, D.E. Higher Education in the Digital Age: Technology Issues and Strategies for American Colleges and Universities; Greenwood Publishing Group: Boston, MA, USA, 2002. [Google Scholar]
- Mandernach, B.J. Assessment of student engagement in higher education: A synthesis of literature and assessment tools. Int. J. Learn. Teach. Educ. Res. 2015, 12, 1–14. [Google Scholar]
- Robinson, C.C.; Hullinger, H. New benchmarks in higher education: Student engagement in online learning. J. Educ. Bus. 2008, 84, 101–109. [Google Scholar] [CrossRef]
- Dabbagh, N.; Kitsantas, A. Supporting self-regulation in student-centered web-based learning environments. In International Journal on E-Learning; Association for the Advancement of Computing in Education (AACE): Waynesville, NC USA, 2004; Volume 3, pp. 40–47. [Google Scholar]
- Ayouni, S.; Hajjej, F.; Maddeh, M.; Al-Otaibi, S. A new ML-based approach to enhance student engagement in online environment. PLoS ONE 2021, 16, e0258788. [Google Scholar] [CrossRef]
- Dixson, M.D. Measuring student engagement in the online course: The Online Student Engagement scale (OSE). Online Learn. 2015, 19, n4. [Google Scholar] [CrossRef]
- Coates, H. A model of online and general campus-based student engagement. Assess. Eval. High. Educ. 2007, 32, 121–141. [Google Scholar] [CrossRef]
- Seaman, J.E.; Allen, I.E.; Seaman, J. Grade increase: Tracking distance education in the United States; Babson Survey Research Group: Babson Park, MA, USA, 2018. [Google Scholar]
- Lu, K.; Pang, F.; Shadiev, R. Understanding college students’ continuous usage intention of asynchronous online courses through extended technology acceptance model. Educ. Inf. Technol. 2023, 28, 9747–9765. [Google Scholar] [CrossRef]
- Alkabbany, I.; Ali, A.; Farag, A.; Bennett, I.; Ghanoum, M.; Farag, A. Measuring Student Engagement Level Using Facial Information. In Proceedings of the 2019 IEEE International Conference on Image Processing (ICIP), Taipei, Taiwan, 22–25 September 2019; IEEE: Taipei, Taiwan, 2019; pp. 3337–3341. [Google Scholar]
- Mohamad Nezami, O.; Dras, M.; Hamey, L.; Richards, D.; Wan, S.; Paris, C. Automatic Recognition of Student Engagement Using Deep Learning and Facial Expression. In Machine Learning and Knowledge Discovery in Databases; Brefeld, U., Fromont, E., Hotho, A., Knobbe, A., Maathuis, M., Robardet, C., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 273–289. [Google Scholar]
- Savchenko, A.V.; Savchenko, L.V.; Makarov, I. Classifying Emotions and Engagement in Online Learning Based on a Single Facial Expression Recognition Neural Network. IEEE Trans. Affect. Comput. 2022, 13, 2132–2143. Available online: https://ieeexplore.ieee.org/abstract/document/9815154/ (accessed on 23 September 2023). [CrossRef]
- Murshed, M.; Dewan, M.A.A.; Lin, F.; Wen, D. Engagement Detection in e-Learning Environments using Convolutional Neural Networks. In Proceedings of the 2019 IEEE Intl Conf on Dependable, Autonomic and Secure Computing, Intl Conf on Pervasive Intelligence and Computing, Intl Conf on Cloud and Big Data Computing, Intl Conf on Cyber Science and Technology Congress (DASC/PiCom/CBDCom/CyberSciTech), Fukuoka, Japan, 5–8 August 2019; IEEE: Fukuoka, Japan, 2019; pp. 80–86. [Google Scholar]
- Kumar Verma, B.; Srivastava, N.; Kumar Singh, H. Prediction of Students’ Performance in e-Learning Environment using Data Mining/Machine Learning Techniques. JUSST 2021, 23, 593–596. [Google Scholar] [CrossRef]
- Kuzilek, J.; Hlosta, M.; Zdrahal, Z. Open University Learning Analytics dataset. Sci. Data 2017, 4, 170171. [Google Scholar] [CrossRef]
- Manwaring, K.C.; Larsen, R.; Graham, C.R.; Henrie, C.R.; Halverson, L.R. Investigating student engagement in blended learning settings using experience sampling and structural equation modeling. Internet High. Educ. 2017, 35, 21–33. [Google Scholar] [CrossRef]
- Atherton, M.; Shah, M.; Vazquez, J.; Griffiths, Z.; Jackson, B.; Burgess, C. Using learning analytics to assess student engagement and academic outcomes in open access enabling programmes. Open Learn. J. Open Distance E-Learn. 2017, 32, 119–136. [Google Scholar] [CrossRef]
- Casalino, G.; Castellano, G.; Zaza, G. Neuro-Fuzzy Systems for Learning Analytics. In Intelligent Systems Design and Applications; Abraham, A., Gandhi, N., Hanne, T., Hong, T.-P., Nogueira Rios, T., Ding, W., Eds.; Lecture Notes in Networks and Systems; Springer International Publishing: Cham, Switzerland, 2022; pp. 1341–1350. [Google Scholar]
- Sharma, P.; Joshi, S.; Gautam, S.; Maharjan, S.; Khanal, S.R.; Reis, M.C.; Barroso, J.; de Jesus Filipe, V.M. Student Engagement Detection Using Emotion Analysis, Eye Tracking and Head Movement with Machine Learning. In Technology and Innovation in Learning, Teaching and Education; Reis, A., Barroso, J., Martins, P., Jimoyiannis, A., Huang, R.Y.-M., Henriques, R., Eds.; Communications in Computer and Information Science; Springer Nature: Cham, Switzerland, 2022; pp. 52–68. [Google Scholar]
- Lima, G.D.; Costa, J.A.; Araújo, R.D.; Dorça, F.A. Exploring the Relationship between Students Engagement and Self-Regulated Learning: A Case Study using OULAD Dataset and Machine Learning Techniques. In Proceedings of the Anais do XXXI Simpósio Brasileiro de Informática na Educação (SBIE 2023), Passo Fundo, Brazil, 6–10 November 2023; pp. 1154–1165. [Google Scholar]
- Abdellaoui, B.; Remaida, A.; Sabri, Z.; El Bouzekri El Idrissi, Y.; Moumen, A. Emotion Detection and Student Engagement in Distance Learning During Containment Due to the COVID-19. Baghdad Sci. J. 2024, 21, 1432. [Google Scholar] [CrossRef]
- Abdellaoui, B.; Remaida, A.; Sabri, Z.; Abdellaoui, M.; El Bouzekri El Idrissi, Y.; Moumen, A. Analyzing Recorded Video to Evaluate How Engaged and Emotional Students Are in Remote Learning Environments. In Proceedings of the 2024 International Conference on Intelligent Systems and Computer Vision (ISCV), Fez, Morocco, 8–10 May 2024; pp. 1–7. [Google Scholar]
- Wu, M.; Ouyang, F. Using an integrated probabilistic clustering approach to detect student engagement across asynchronous and synchronous online discussions. J. Comput. High. Educ. 2025, 37, 299–326. [Google Scholar] [CrossRef]
- Liu, Z.; Tang, Q.; Ouyang, F.; Long, T.; Liu, S. Profiling students’ learning engagement in MOOC discussions to identify learning achievement: An automated configurational approach. Comput. Educ. 2024, 219, 105109. [Google Scholar] [CrossRef]
- Student Engagement. Consulté le: 18 Avril 2025. [En Ligne]. Available online: https://www.kaggle.com/datasets/thedevastator/student-engagement-with-tableau-a-data-science-p (accessed on 18 April 2025).
- Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
- Stitson, M.O.; Weston, J.A.E.; Gammerman, A.; Vovk, V.; Vapnik, V. Theory of support vector machines. Univ. Lond. 1996, 117, 188–191. [Google Scholar]
- Friedman, N.; Geiger, D.; Goldszmidt, M. Bayesian network classifiers. Mach. Learn. 1997, 29, 131–163. [Google Scholar] [CrossRef]
- Duda, R.O.; Hart, P.E. Pattern Classification and Scene Analysis; Wiley: New York, NY, USA, 1973; Volume 3, Available online: https://www.svms.org/classification/DuHS95.pdf (accessed on 24 October 2023).
- Gavankar, S.S.; Sawarkar, S.D. Eager decision tree. In Proceedings of the 2017 2nd International Conference for Convergence in Technology (I2CT), Mumbai, India, 7–9 April 2017; pp. 837–840. [Google Scholar]
- Mrva, J.; Neupauer, Š.; Hudec, L.; Ševcech, J.; Kapec, P. Decision Support in Medical Data Using 3D Decision Tree Visualisation. In Proceedings of the 2019 E-Health and Bioengineering Conference (EHB), Iasi, Romania, 21–23 November 2019; pp. 1–4. [Google Scholar] [CrossRef]
- Mahesh, B. Machine Learning Algorithms—A Review. Int. J. Sci. Res. (IJSR) 2019, 9. [Google Scholar] [CrossRef]
- Janikow, C.Z. Fuzzy decision trees: Issues and methods. IEEE Trans. Syst. Man Cybern. Part B (Cybern.) 1998, 28, 1–14. [Google Scholar] [CrossRef]
- Cover, T.; Hart, P. Nearest neighbor pattern classification. IEEE Trans. Inf. Theory 1967, 13, 21–27. [Google Scholar] [CrossRef]
- Bellarhmouch, Y.; Jeghal, A.; Tairi, H.; Benjelloun, N. A proposed architectural learner model for a personalized learning environment. Educ. Inf. Technol. 2023, 28, 4243–4263. [Google Scholar] [CrossRef]
Course info | The file gives information about the available courses. | |
course_id | [2–57] | |
course_title | 46 unique values | |
Course ratings | The file features student course rating information. | |
course_id | [2–57] | |
student_id | [259 k–295 k] | |
course_rating | [1–5] | |
date_rated | [2022-06-16–2022-10-20] | |
Exam info | The file includes details of exams passed by students on the Table platform. | |
Exam Id | [118–834] | |
exam_category | [1–4] | |
exam_duration | [5–130] | |
Quiz info | The file features details of quizzes completed by students. | |
quiz_id | [1–580] | |
question_id | [1–1258] | |
answer_id | [1–4757] | |
answer_correct | True\False | |
Student engagement | The file includes information on student engagement using the Table platform. | |
engagement_id | [1–2.65 m] | |
student_id | [259 k–296 k] | |
engagement_quizzes | 1\0 | |
engagement_exams | 1\0 | |
engagement_lessons | 1\0 | |
date_engaged | [2022-01-01–2022-10-20] | |
Student exams | The file includes information on student participation in the Table. | |
exam_attempt_id | [173 k–240 k] | |
student_id | [259 k–295 k] | |
exam_id | [97–833] | |
exam_result | Categorical [0–100] | |
exam_completion | Numerical [0.07–198] | |
date_exam_completed | Date [2022-01-01–2022-10-20] | |
Hub Questions | The file features data on questions asked by students. | |
hub_question_id | [7619–10.4 k] | |
student_id | [259 k–294 k] | |
date_question_asked | Date [2022-01-03–2022-10-20] | |
Student info | The file includes information on students who have registered for the Table platform. | |
student_id | [259 k–294 k] | |
student_country | Categorical | |
date_registered | [2022-01-01–2022-10-20] | |
Student learning | The file includes information on student use of the Tableau platform, such as the number of minutes viewed, the date of use, and whether the student found the experience successful or not. | |
student_id | [259 k–296 k] | |
course_id | [2–67] | |
minutes_watched | Numeric [0–1.71 k] | |
date_watched | Date [2022-01-01–2022-10-20] | |
Student purchases | This dataset provides information on the number of times a student has used the Table platform, the duration of use, and the commitment date. | |
purchase_id | [15.8 k–23.2 k] | |
student_id | [259 k–296 k] | |
purchase_type | Annual\Monthly\Other | |
date_purchased | [2022-01-01–2022-10-20] | |
Student quizzes | The file includes details of student quiz performance, such as quiz ID, question ID, answer ID, and student ID. | |
student_id | [259 k–296 k] | |
quiz_id | [21–580] | |
question_id | [22–1258] | |
answer_id |
Name of the Feature | Description | Range of Values |
---|---|---|
student_id | The student identification code. | [258 k–259 k] |
engagement_quizzes | Student engagement in the quizzes. | 1\0 |
engagement_exams | Student engagement in the exams. | 1\0 |
engagement_lessons | Student engagement in the exams. | 1\0 |
quiz_id | The quiz identification code. | [43–550] |
question_id | The question identification code. | [72–1203] |
answer_id | The answer identification code. | [294–4545] |
answer_correct | If the student has correctly or incorrectly answered the question. | 1 \0 |
course_id | The course identification code. | [2–54] |
course_rating | The mark assigned to the course by the student. | [2–5] |
minutes_watched | Number of minutes watched per student. | [0.1–322] |
exam_attempt_id | The identification of the student’s examination attempt. | [189 k–240 k] |
exam_id | The exam identification code. | [118–830] |
exam_result | The exam outcomes. | [0–100] |
exam_completion_time | The duration of time the student needs to pass the exam. | [0.23–130.0] |
exam_category | Category of exam. | [1–4] |
exam_duration | Examination duration. | [5–130] |
Difference_rated_watched | The duration between the course evaluation date and the student’s engagement date. | [−108–205] |
Difference_examcompleted | The time between the exam completion date and the student’s engagement date. | [−66–252] |
Model | Engagement Quizzes | Engagement Exams | Engagement Lessons | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Accuracy | Recall | F1-Score | Precision | Accuracy | Recall | F1-Score | Precision | Accuracy | Recall | F1-Score | Precision | |
SVM | 0.773 | 1.00 | 0.87 | 0.77 | 0.616 | 0.280 | 0.39 | 0.63 | 0.987 | 1.0 | 0.993 | 0.987 |
Naive Bayes | 0.771 | 0.983 | 0.87 | 0.78 | 0.647 | 0.418 | 0.51 | 0.65 | 0.662 | 0.658 | 0.794 | 1.0 |
Decision Tree | 0.952 | 0.964 | 0.97 | 0.97 | 1.0 | 1.0 | 1.00 | 1.00 | 0.984 | 0.984 | 0.992 | 0.984 |
Random Forest | 0.795 | 0.999 | 0.88 | 0.79 | 0.808 | 0.669 | 0.75 | 0.86 | 0.984 | 1.0 | 0.992 | 0.984 |
k-Nearest Neighbors | 0.944 | 0.967 | 0.96 | 0.96 | 0.991 | 0.987 | 0.99 | 0.99 | 0.984 | 0.988 | 0.992 | 0.995 |
Logistic Regression | 0.767 | 1.0 | 0.868 | 0.767 | 0.597 | 0.300 | 0.397 | 0.586 | 0.987 | 1.0 | 0.993 | 0.987 |
Gradient Boosting | 0.949 | 0.984 | 0.97 | 0.95 | 0.935 | 0.868 | 0.92 | 0.98 | 0.984 | 1.0 | 0.992 | 0.984 |
Ada Boost | 0.854 | 0.854 | 0.91 | 0.85 | 0.824 | 0.824 | 0.78 | 0.86 | 0.984 | 0.984 | 0.992 | 0.984 |
Multi-Layer Perceptron(MLP) | 0.767 | 0.999 | 0.87 | 0.77 | 0.718 | 0.619 | 0.66 | 0.70 | 0.984 | 1.0 | 0.992 | 0.984 |
Index | Feature | Feature Value | Prediction for Engagement_Quizzes | True Label for Engagement_Quizzes |
---|---|---|---|---|
0 | student_id | 277,353 | 0 | 0 |
quiz_id | 539 | |||
question_id | 72 | |||
answer_id | 294 | |||
answer_correct | 1 | |||
5 | student_id | 281,295 | 1 | 1 |
quiz_id | 43 | |||
question_id | 72 | |||
answer_id | 294 | |||
answer_correct | 1 | |||
10 | student_id | 279,508 | 0 | 0 |
quiz_id | 539 | |||
question_id | 789 | |||
answer_id | 3109 | |||
answer_correct | 1 |
Index | Feature | Feature Value | Prediction for Engagement_Exams | True Label for Engagement_Exams |
---|---|---|---|---|
0 | student_id | 277,353 | 0 | 0 |
exam_id | 758 | |||
exam_category | 1 | |||
exam_duration | 30 | |||
exam_attempt_id | 225,667 | |||
exam_result | 100 | |||
exam_completion_time | 4.45 | |||
Difference_examcompleted_engaged | 70 | |||
5 | student_id | 281,295 | 1 | 1 |
exam_id | 755 | |||
exam_category | 2 | |||
exam_duration | 10 | |||
exam_attempt_id | 217,024 | |||
exam_result | 0 | |||
exam_completion_time | 3.92 | |||
Difference_examcompleted_engaged | 0 | |||
10 | student_id | 279,508 | 0 | 0 |
exam_id | 758 | |||
exam_category | 1 | |||
exam_duration | 30 | |||
exam_attempt_id | 212,786 | |||
exam_result | 58 | |||
exam_completion_time | 11.8 | |||
Difference_examcompleted_engaged | 20 |
Index | Feature | Feature Value | Prediction for Engagement_Lessons | True Label for Engagement_Lessons |
---|---|---|---|---|
0 | student_id | 272,842 | 1 | 1 |
course_id | 37 | |||
course_rating | 5 | |||
minutes_watched | 14.8 | |||
Difference_rated_watched | 4 | |||
5 | student_id | 286,529 | 1 | 1 |
course_id | 21 | |||
course_rating | 5 | |||
minutes_watched | 14.0 | |||
Difference_rated_watched | 45.7 | |||
10 | student_id | 277,322 | 1 | 1 |
course_id | 42 | |||
course_rating | 5 | |||
minutes_watched | 45.7 | |||
Difference_rated_watched | −3 |
Index | Feature | Feature Value | Prediction for Engagement_Quizzes | True Label for Engagement_Quizzes |
---|---|---|---|---|
2174 | student_id | 289,270 | 1 | 0 |
quiz_id | 539 | |||
question_id | 789 | |||
answer_id | 3109 | |||
answer_correct | 1 | |||
20 | student_id | 268,011 | 0 | 0 |
quiz_id | 539 | |||
question_id | 789 | |||
answer_id | 3109 | |||
answer_correct | 1 |
Index | Feature | Feature Value | Prediction for Engagement_Exams | True Label for Engagement_Exams |
---|---|---|---|---|
2174 | student_id | 268,011 | 0 | 0 |
exam_id | 707 | |||
exam_category | 2 | |||
exam_duration | 20 | |||
exam_attempt_id | 232,336 | |||
exam_result | 100 | |||
exam_completion_time | 6.38 | |||
Difference_examcompleted_engaged | 20 | |||
10 | student_id | 268,011 | 0 | 0 |
exam_id | 403 | |||
exam_category | 1 | |||
exam_duration | 25 | |||
exam_attempt_id | 206,211 | |||
exam_result | 75 | |||
exam_completion_time | 25 | |||
Difference_examcompleted_engaged | 16 |
Index | Feature | Feature Value | Prediction for Engagement_Lessons | True Label for Engagement_Lessons |
---|---|---|---|---|
4588 | student_id | 279,508 | 1 | 1 |
course_id | 14 | |||
course_rating | 5 | |||
minutes_watched | 9.6 | |||
Difference_rated_watched | −16 | |||
20 | student_id | 268,011 | 1 | 1 |
course_id | 3 | |||
course_rating | 5 | |||
minutes_watched | 107.4 | |||
Difference_rated_watched | 58 |
Index | Feature | Feature Value | Prediction for Engagement_Quizzes | True Label for Engagement_Quizzes |
---|---|---|---|---|
2174 | student_id | 289,270 | 0 | 0 |
quiz_id | 539 | |||
question_id | 789 | |||
answer_id | 3109 | |||
answer_correct | 1 | |||
20 | student_id | 268,011 | 0 | 0 |
quiz_id | 539 | |||
question_id | 789 | |||
answer_id | 3109 | |||
answer_correct | 1 |
Index | Feature | Feature Value | Prediction for Engagement_Exams | True Label for Engagement_Exams |
---|---|---|---|---|
10 | student_id | 268,011 | 0 | 0 |
exam_id | 403 | |||
exam_category | 1 | |||
exam_duration | 25 | |||
exam_attempt_id | 206,211 | |||
exam_result | 75 | |||
exam_completion_time | 25 | |||
Difference_examcompleted_engaged | 16 | |||
2174 | student_id | 289,270 | 0 | 0 |
exam_id | 707 | |||
exam_category | 2 | |||
exam_duration | 20 | |||
exam_attempt_id | 232,336 | |||
exam_result | 100 | |||
exam_completion_time | 6.38 | |||
Difference_examcompleted_engaged | 20 |
Index | Feature | Feature Value | Prediction for Engagement_Lessons | True Label for Engagement_Lessons |
---|---|---|---|---|
2174 | student_id | 289,270 | 1 | 1 |
course_id | 2 | |||
course_rating | 4 | |||
minutes_watched | 32.3 | |||
Difference_rated_watched | 2 | |||
20 | student_id | 268,011 | 1 | 1 |
course_id | 3 | |||
course_rating | 5 | |||
minutes_watched | 107.4 | |||
Difference_rated_watched | 58 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Bellarhmouch, Y.; Majjate, H.; Jeghal, A.; Tairi, H.; Benjelloun, N. Detecting Student Engagement in an Online Learning Environment Using a Machine Learning Algorithm. Informatics 2025, 12, 44. https://doi.org/10.3390/informatics12020044
Bellarhmouch Y, Majjate H, Jeghal A, Tairi H, Benjelloun N. Detecting Student Engagement in an Online Learning Environment Using a Machine Learning Algorithm. Informatics. 2025; 12(2):44. https://doi.org/10.3390/informatics12020044
Chicago/Turabian StyleBellarhmouch, Youssra, Hajar Majjate, Adil Jeghal, Hamid Tairi, and Nadia Benjelloun. 2025. "Detecting Student Engagement in an Online Learning Environment Using a Machine Learning Algorithm" Informatics 12, no. 2: 44. https://doi.org/10.3390/informatics12020044
APA StyleBellarhmouch, Y., Majjate, H., Jeghal, A., Tairi, H., & Benjelloun, N. (2025). Detecting Student Engagement in an Online Learning Environment Using a Machine Learning Algorithm. Informatics, 12(2), 44. https://doi.org/10.3390/informatics12020044