Journal of Artificial Intelligence and Metaheuristics

Predicting Student Outcomes: Evaluating Regression Techniques in Educational Data

Manish Kumar Singla, Faris H. Rizk, Mahmoud Elshabrawy Mohamed, Ahmed Mohamed Zaki
Volume 7, Issue 2, pp. 31–37 (2024)
DOI: https://doi.org/10.54216/JAIM.070205
Online: https://americaspg.com/journal/28/article/3147

Abstract

Student performance prediction is essential so that institutions can assist in identifying weak performers and initiate corrective measures. This research assesses different regression models by applying data from Kaggle, which involves data cleaning like managing missing values and scaling of the data, hence feature extraction, then model imposition and authenticity. The models followed are Linear Regression, SVR, MLPRegressor, Gradient Boosting, CatBoost, XGBoost, Random Forest, Extra Trees, Decision Tree and K-neighbors. The analysis shows that Linear Regression produced the best result as it has the lowest MSE score of 0.000521 and high accuracy regarding other measures, including RMSE, MAE, and R2. The results reveal that regression models can be used to predict students’ performance and be helpful to the various stakeholders in the system. The findings of this study will help develop required models for decision-making to improve students’ performance.

Keywords: Student performance prediction; Regression models; Educational data; Data preprocessing; Predictive analytics

1. INTRODUCTION

Regression analysis, a tool widely used in statistics, enables the researcher to uncover the connection between an independent and a dependent variable. Applied to the field of education, this technique will help find the essential indicators of students’ performance, from socioeconomic background and truancy rates to the choice of instructional models and after-school participation. Socioeconomic status might affect the ability of the student to use resources like private tutoring or advanced books for learning. The same applies to class attendance, whereby students will likely be exposed more and perform well in instructional lessons and activities. Identifying these relations helps educators and policymakers get useful information regarding the efficacy of various interventions and strategies for enhancing educational out-

Evaluation of students’ performance is an essential component in obtaining education as it determines further approaches in curriculum and instruction and policy making. Thus, the regular assessment of students’ results is crucial to identifying their needs and the institution’s capacity to address them and to satisfy current educational requirements and social expectations. The frames raising in last years show the growing tendency to utilize outstanding data to analyze students’ results and their improvement. Of these approaches, regression analysis has turned out to be one of the most useful statistical tools for the prediction and analysis of a host of factors affecting poor students’ performance [1, 2, 3].

comes [4, 5, 6].

The following paper seeks to undertake a study on the role of regression analysis in predicting student performances. The analysis will be devoted to the determinants of academic achievement and how they affect the entire performance. For instance, variables like parental education level or school funding affect learners’ achievement individually, but their combination might shed light on strengthened effects or diminution. Thus, the model’s sensitivity and comprehensiveness by including a diverse range of demographic, academic, and behavioral variables for developing a strong dataset will be examined by this research study. While this model will show trends in how student performance depends on specific predictors, it will also reveal intertwined relationships of predictors [7, 8, 9].

The final direction is that this paper will discuss the implications of the findings for educational practice and policy. From the determinants of students’ performance, it is possible to draw interventions, allocate resources and introduce changes that would make education fair and effective. For example, based on the findings that extracurricular activity enhances performance, policies may be developed to ensure schools focus on providing funds for after-school activities. Besides, the study will present the limitations of regression analysis utilization in educational research, such as high intercorrelation among predictor variables or possible cross-context transferability of the results. Giving proposals for further research in this field, the given work’s goal is to contribute to developing effective perspectives in student performance as far as its different determinants are concerned [10, 11, 12].

In conclusion, it can be stated that the regression analysis method used in the analysis of student performance displayed considerable potential as the tool allowing the expansion of knowledge on the reasons for the effectiveness of students’ learning. Through these studies, this research thus seeks to establish the predictors above by defining and quantifying them with the potential of improving future educational practices and results. The ultimate utilization is to equip educators, administrators, and policymakers with relevant information, which can contribute to promoting a proper climate for students’ successful learning experiences.

Prediction of student performance has been one of the essential themes in educational data mining, emphasizing possible antecedents of students’ success and failure and working towards creating prediction models. Different approaches and methods have been used to solve this problem, and they all offer different ways and methods of solving the problem and developing the technology.

Some researchers have applied initial multiple regression models to estimate performance outcomes. Linear regression models are prominent among them, and because of their simplicity and ease of interpretation, they are often applied. The potential of linear regression in using data, including attendance, previous grades, and extracurricular activities, to predict the final exam scores has been expounded in research [13]. Nevertheless, linear models do not always work effectively with educational data because of the curvilinear relations between the variables involved; thus, there is a need to look further into more complex equations.

In dealing with the shortcomings of linear regression, scholars have now started to adopt higher-order machine learning models, including decision trees and random forests, widely in predicting the rates. The structure of decision trees, which is developed as a tree with branches, makes it possible to provide a common interpretation of the results and determine the conditional indicators [14]. For example, a study employed decision trees to define critical parameters affecting the learners’ performance, including study habits and time management. Random forests continue from decision trees as an ensemble method for mitigating overfitting and enhancing stability using several trees [15]. This technique has demonstrated applicability in coping with nonlinearity in most educational data sets and can offer more stable prediction clues.

Techniques such as Support Vector Machines (SVM) have also been used to predict student performance, especially in cases where there may not be a direct correlation between input features and output [16]. SVMs operate well in high dimensionality of features; they do not suffer from overfitting and hence can always be used in analyzing educational datasets with many features. For instance, an SVM can work with data about student demographics, academic profiles, and psychological traits to determine the likelihood of success, which shows the model’s versatility.

Over the last decade, deep learning models have become popular because they can achieve feature extraction and learning from the raw data. ANNs, mainly deep neural networks, have been used in predicting student performance with high levels of precision [17]. These models can fit more complex associations and dependencies in data that conventional approaches might not. For example, a deep learning model may use interactions between students and learning management systems to forecast students’ performance. This can then be employed as a complex student behavior analysis approach.

The integration of multiple models to achieve better results has also been considered within ensemble learning. Other methods, for instance, boosting and bagging, have been used to take advantage of the fact that each model is proficient in certain aspects and lacks proficiency in others. Hence, the weaknesses of one model can be compensated by another [18]. It is evident from the above methods that applying multiple models to predict student outcomes has been proven to be more efficient than individual models. For instance, applying decision trees together with SVM as one approach and neural networks as another supplementary approach would complete the selection of the best algorithms for prediction.

Statistical methods, like factor analysis and clustering analysis, have been used to determine the factors affecting students’ performance. The above methods assist in identifying the underlying factors that may cause a student to succeed in his or her academics and may be applied to the development of forecast models as well [19]. For instance, it will be possible to identify the clusters of students in terms of learning behavior and the degree of participation, which will be helpful for educational intermediation.

In the specific field of educational data mining, ensemble models have also emerged, where the results of different algorithms are combined to mobilize all their respective strengths. For instance, integrating regression models with machine learning algorithms has helped increase the accuracy of predictions and given a wider outlook [20]. Linear regression might be applied to discover general trends, while machine learning algorithms improve these findings to produce more detailed and precise patterns concerning students’ performance.

Besides, different works pointed out the significance of feature selection when considering students’ performance. The choice of significant features from vast educational data is essential to enhance the models’ efficiency and transparency. Other approaches used in determining the features highly correlated with students’ success include, for instance, PCA and RFE [21]. For instance, while using PCA, one may work on decreasing the dimensionality to identify the main reasons sufficiently. Meanwhile, while using RFE, one has to drop the least important characteristics to increase the model’s speed.

Finally, it is proposed that demographic and socio-economic variables be incorporated into the context of external factors affecting students’ performance within such models. It has been established that variables like family income, parents’ education and educational resources influence academic performance, and their incorporation into models increases the predictive capabilities [22]. For example, if the model incorporated socio-economic indicators, it would give a clearer picture of the issues affecting the students’ experience, and advancement or mitigation measures would be much more efficient and just.

3. DATA PREPROCESSING

Data pre-processing is vital in model building because different data pre-processing techniques may yield different results. This helps ensure that the dataset employed in training and testing the models is clean, well-formatted, and coherent with the intended model. In this paper, we go through steps such as handling missing values, normalizing and scaling the data, categorical data encoding, dividing the data into training and testing sets, and feature selection and feature creation.

3.1 Handling Missing Values

Such a problem impacts bias and reduces the prediction capacity of the model in case of data deficiency. We employed various techniques to handle missing values in the dataset:

3.2 Data Normalization and Scaling

To ensure that the features contribute equally to the model, we normalized and scaled the data:

ization was used to bring the features to the range [0,1]:

Xnorm = X −Xmin Xmax −Xmin

. (1)

Xstandardized = X −mean(X) sd(X) . (2)

3.3 Encoding Categorical Variables

Many methods used in machine learning processes need numerical input data. Therefore, categorical variables were encoded using appropriate techniques:

3.4 Dividing the Data into Training and Test Data

To evaluate the performance of our models, we split the dataset into training and testing sets:

3.5 Feature Selection and Engineering

Feature selection and engineering are critical for improving model performance and reducing overfitting:

In Figure 1, a dependency heatmap of all the dataset features is shown, giving an outlook of how different variables are related. This heatmap is useful when one is concerned with knowing the nature and intensity of the linear relationship of a feature to other features. Combining values and properties with high values makes it possible to understand the selection and engineering of features. Addressing multicollinearity is important since it affects the accuracy of estimating the regression parameters and the exclusion of irrelevant predictors to increase the performance of the predictive models.

Figure 1. Correlation heatmap of the dataset features.
Figure 1. Correlation heatmap of the dataset features.

Figure 2, being the box plot of the dataset features, offers information about the distribution of the characteristics of variables in the dataset. Thus, the boxplots are an appropriate tool for determining the location, spread, and, potentially, outliers within the obtained set of values. This helps explain the pattern of the data distribution and whether any outliers or kurtosis might hamper model performances. Therefore, from these boxplots, it is possible to decide how to proceed with data normalization or scaling as well as how to deal with outliers concerning model training.

Figure 2. Boxplot of the dataset features.
Figure 2. Boxplot of the dataset features.

Therefore, through these preprocessing steps, we were able to prepare the dataset for model training and evaluation, enhancing the models’ accuracy.

4. METHODOLOGY

4.1 Overview of Regression Models Used in the Study

Regarding student performance prediction, we compared several regression models in this study. The set of models chosen for the evaluation includes basic linear regression and sophisticated machine learning techniques to understand the latter’s limitations. Below is an overview of each model used:

4.2 Description of the Validation Techniques Employed

To ensure the robustness and generalizability of our models, we employed rigorous cross-validation techniques and evaluated performance using a variety of metrics:

4.3 Performance Metrics Used for Evaluation

We utilized several performance metrics to comprehensively evaluate the models, ensuring a thorough assessment of their predictive power:

These multiple measures were used to comprehensively assess the outcomes of different models and identify the bestperforming models for predicting student performance.

5. EXPERIMENTAL RESULTS

5.1 Presentation of the Results Derived from Each of the Models

To test the performance of the regression models developed to predict student performance, the following measures were conducted on each model. Table 1 summarizes the results for each model.

Analyzing the results depicted in Table 1, Linear Regression was seen to have the lowest MSE score of 0.0005216, which suggests that it performed better than the other models used in the study to predict student performance. Additionally, Linear Regression showcased satisfactory results regarding other accuracy measures, including RMSE, MAE, and R2, implying that the model sufficiently captured the underlying relationship between forecasting variables.

5.2 Comparison of the Models Based on Performance Metrics

5.3 Analysis of the Strengths and Weaknesses of Each Model

Figure 3 presents the correlation matrix that depicts findings from the assorted regression analysis models. This heatmap shows the correlation of performance of different models, and thus, it shows which models have similar or dissimilar tendencies for different questions. Determining the relation of models can be examined by comparing their correlation values: high values show that the models give similar results and quantify their reliability. On the other hand, low correlation values show that the models are dissimilar, pointing to their specific strengths and weaknesses. It is useful when choosing simpler models that can be used in the ensemble

Table 1. Performance metrics for various regression models.
Table 1. Performance metrics for various regression models.

Fitted Time (s) Linear Regression 0.00052 0.0228 0.0181 0.0007 0.9943 0.9887 0.9887 0.9499 0.0258 Pipeline 0.00052 0.0228 0.0181 0.0006 0.9943 0.9887 0.9887 0.9499 0.2771 SVR 0.00052 0.0229 0.0181 0.0008 0.9943 0.9887 0.9887 0.9499 27.6520 MLP 0.00053 0.0231 0.0184 0.0003 0.9942 0.9884 0.9884 0.9492 21.1404 Gradient Boosting 0.00055 0.0235 0.0186 0.0007 0.9940 0.9880 0.9880 0.9485 0.0056 CatBoost 0.00055 0.0235 0.0187 0.0008 0.9940 0.9880 0.9880 0.9483 24.1672 XGBoost 0.00056 0.0237 0.0188 0.0008 0.9939 0.9879 0.9878 0.9480 50.6825 Random Forest 0.00062 0.0249 0.0198 0.0012 0.9933 0.9866 0.9865 0.9451 3.4385 Extra Trees 0.00062 0.0251 0.0198 0.0010 0.9932 0.9864 0.9863 0.9451 0.0060 Decision Tree 0.0008 0.0284 0.0226 0.0004 0.9912 0.9825 0.9825 0.9374 0.3027 K-Neighbors 0.00119 0.0346 0.0276 0.0008 0.9886 0.9774 0.9740 0.9237 0.0847

Figure 3. Correlation heatmap of the regression models’ results.
Figure 3. Correlation heatmap of the regression models’ results.

technique to enhance predictive accuracy.

In what follows, we present a boxplot of the regression models’ performance metrics in Figure 4. This boxplot enables comparison of models’ accuracy, dispersion, and existing outliers in their predictions. By analyzing the statistical dispersion of the performance measures, including Mean Squared Error, Root Mean Squared Error, Mean Absolute Error and the coefficient of determination, one can differentiate between models with stable and relatively low volatility and those with high volatility and possible outlier values. It aids critical choices about the deployment of models, classifying those most likely to be trusted and indicating how stable their forecasts are.

5.4 Implications of the Study about Student Performance Prediction

From the results of this study, it can be concluded that regression models are useful in measuring student performance. Linear Regression was the most straightforward method, yet it offered the best performance, which aligns with the linear presented relationships. The performance of SVR and MLP Regressor confirms that these models are appropriate for identifying more detailed patterns in the data. Ensemble models are powerful but require more computational resources and parameter tuning. Overall, the study demonstrates the applicability of various regression models in predicting student performance and highlights the trade-offs between simplicity

Figure 4. Boxplot of the regression models’ results.
Figure 4. Boxplot of the regression models’ results.

and predictive power.

6. CONCLUSION

This research aimed to assess the efficiency of several regression models for estimating the learner’s performance based on the educational records data set. Using data preprocessing techniques such as mean imputation, converting the data into float64, handling missing values, and applying models including Linear Regression, SVR, MLPRegressor, Gradient Boosting, CatBoost, XGBoost, Random Forest, Extra Trees, Decision Tree, and K-Neighbors, the best model was determined to be Linear Regression with an MSE of 0.000521. Although models like SVR and MLPRegressor offered accurate results because they captured higher-order relationships, they used more time in their computations. The study shows how regression models apply in forecasting student performance, and among them, linear regression is the simplest yet most effective method. As for the limitations and future research themes, it can be recommended to focus on advanced data preprocessing and feature engineering to increase effectiveness; the utilization of other machine learning techniques, including deep learning and ensemble methods, to improve the results; and active use of domain knowledge to improve the relevance of the results and the predictive performance of the models. Moreover, establishing the real-time prediction feature and further improvement of model generalization and scaling in various fields of educational datasets are important for increased application performance in educational environments.

References

[1] R. Alamri and B. Alharbi, “Explainable student perfor-mance prediction models: A systematic review,” IEEE Access, vol. 9, pp. 33 132–33 143, 2021.

[2] B. Albreiki, N. Zaki, and H. Alashwal, “A systematic literature review of student performance prediction us-ing machine learning techniques,” Education Sciences, vol. 11, no. 9, p. Article 9, 2021.

[3] A. Asselman, M. Khaldi, and S. Aammou, “Enhancing the prediction of student performance based on the ma-chine learning XGBoost algorithm,” Interactive Learn-ing Environments, vol. 31, no. 6, pp. 3360–3379, 2023.

[4] S. Aydogdu, “Predicting student final performance us-ing artificial neural networks in online learning envi-ronments,” Education and Information Technologies, vol. 25, no. 3, pp. 1913–1927, 2020.

[5] S. Batool, J. Rashid, M. W. Nisar, J. Kim, H.-Y. Kwon, and A. Hussain, “Educational data mining to predict students’ academic performance: A survey study,” Edu-cation and Information Technologies, vol. 28, no. 1, pp. 905–971, 2023.

[6] G. Ben Brahim, “Predicting student performance from online engagement activities using novel statistical fea-tures,” Arabian Journal for Science and Engineering, vol. 47, no. 8, pp. 10 225–10 243, 2022.

[7] P. Dabhade, R. Agarwal, K. P. Alameen, A. T. Fathima, R. Sridharan, and G. Gopakumar, “Educational data mining for predicting students’ academic performance using machine learning algorithms,” Materials Today: Proceedings, vol. 47, pp. 5260–5267, 2021.

[8] C. M. A. Gomes, A. Amantes, and E. G. Jelihovschi, “Applying the regression tree method to predict students’ science achievement,” Trends in Psychology, vol. 28, no. 1, pp. 99–117, 2020.

[9] S. Hussain and M. Q. Khan, “Student-performulator: Predicting students’ academic performance at secondary and intermediate level using machine learning,” Annals of Data Science, vol. 10, no. 3, pp. 637–655, 2023.

[10] P. Jiao, F. Ouyang, Q. Zhang, and A. H. Alavi, “Arti-ficial intelligence-enabled prediction model of student academic performance in online engineering education,” Artificial Intelligence Review, vol. 55, no. 8, pp. 6321–6344, 2022.

[11] A. Khan and S. K. Ghosh, “Student performance anal-ysis and prediction in classroom learning: A review of educational data mining studies,” Education and In-formation Technologies, vol. 26, no. 1, pp. 205–240, 2021.

[12] I. Khan, A. R. Ahmad, N. Jabeur, and M. N. Mahdi, “An artificial intelligence approach to monitor student performance and devise preventive measures,” Smart Learning Environments, vol. 8, no. 1, p. 17, 2021.

[13] A. Nabil, M. Seyam, and A. Abou-Elfetouh, “Prediction of students’ academic performance based on courses’ grades using deep neural networks,” IEEE Access, vol. 9, pp. 140 731–140 746, 2021.

[14] A. Namoun and A. Alshanqiti, “Predicting student per-formance using data mining and learning analytics tech-niques: A systematic literature review,” Applied Sci-ences, vol. 11, no. 1, p. Article 1, 2021.

[15] S. Rebai, F. Ben Yahia, and H. Essid, “A graphically based machine learning approach to predict secondary schools performance in tunisia,” Socio-Economic Plan-ning Sciences, vol. 70, p. 100724, 2020.

[16] M. Riestra-Gonzalez, M. d. P. Paule-Ruiz, and F. Ortin, “Massive LMS log data analysis for the early prediction of course-agnostic student performance,” Computers & Education, vol. 163, p. 104108, 2021.

[17] C. F. Rodriguez-Hernandez, M. Musso, E. Kyndt, and E. Cascallar, “Artificial neural networks in academic per-formance prediction: Systematic implementation and predictor evaluation,” Computers and Education: Artifi-cial Intelligence, vol. 2, p. 100018, 2021.

[18] N. Tomasevic, N. Gvozdenovic, and S. Vranes, “An overview and comparison of supervised data mining techniques for student exam performance prediction,” Computers & Education, vol. 143, p. 103676, 2020.

[19] H. Waheed, S.-U. Hassan, N. R. Aljohani, J. Hardman, S. Alelyani, and R. Nawaz, “Predicting academic per-formance of students from VLE big data using deep learning models,” Computers in Human Behavior, vol. 104, p. 106189, 2020.

[20] M. Yagci, “Educational data mining: Prediction of stu-dents’ academic performance using machine learning algorithms,” Smart Learning Environments, vol. 9, no. 1, p. 11, 2022.

[21] B. K. Yousafzai, M. Hayat, and S. Afzal, “Application of machine learning and data mining in predicting the performance of intermediate and secondary education level student,” Education and Information Technologies, vol. 25, no. 6, pp. 4677–4697, 2020.

[22] H. Zeineddine, U. Braendle, and A. Farah, “Enhanc-ing prediction of student success: Automated machine learning approach,” Computers & Electrical Engineer-ing, vol. 89, p. 106903, 2021.