University Dropout Prediction with ML
University Dropout Prediction with ML
sciences
Article
A Study on Dropout Prediction for University Students Using
Machine Learning
Choong Hee Cho 1 , Yang Woo Yu 2 and Hyeon Gyu Kim 1, *
Abstract: Student dropout is a serious issue in that it not only affects the individual students who
drop out but also has negative impacts on the former university, family, and society together. To
resolve this, various attempts have been made to predict student dropout using machine learning.
This paper presents a model to predict student dropout at Sahmyook University using machine
learning. Academic records collected from 20,050 students of the university were analyzed and used
for learning. Various machine learning algorithms were used to implement the model, including
Logistic Regression, Decision Tree, Random Forest, Support Vector Machine, Deep Neural Network,
and LightGBM (Light Gradient Boosting Machine), and their performances were compared through
experiments. We also discuss the influence of oversampling used to resolve data imbalance issues in
the dropout data. For this purpose, various oversampling algorithms such as SMOTE, ADASYN,
and Borderline-SMOTE were tested. Our experimental results showed that the proposed model
implemented using LightGBM provided the best performance with an F1-score of 0.840, which
is higher than the results of previous studies discussing the dropout prediction with the issue of
class imbalance.
to 80–95% [11–13]. From this, the prediction accuracy can be significantly influenced by the
data imbalance caused by the extremely high or low dropout rate. In order to achieve high
accuracy, it is essential to reflect such imbalance properly in learning. It is also necessary
to adopt performance indicators that account for the data imbalance when evaluating the
performance of prediction models.
This paper presents a model to predict student dropout at Sahmyook University, a
small- and medium-sized 4-year university located in Seoul. About 168,000 academic
records collected from 20,050 students from 2010 to 2022 were analyzed and used for learn-
ing. Various machine learning algorithms were used to implement the model, including
Logistic Regression (LR) [14], Decision Tree (DT) [15], Random Forest (RF) [16], Support
Vector Machine (SVM) [17], Deep Neural Network (DNN) [18], and Light Gradient Boost-
ing Machine (LightGBM) [19], and their performance were compared through experiments.
In addition, we discuss the influence of oversampling used to resolve the data imbalance
mentioned above. For this purpose, various oversampling techniques, such as SMOTE [20],
ADASYN [21], and Borderline-SMOTE [22], were tested. To compare the performance of
models, the F1-score was used, which is a performance metric that properly reflects the
data imbalance in the performance evaluation.
This paper is organized as follows. Section 2 introduces existing studies related to
dropout prediction using machine learning. Section 3 describes the structure of source data,
feature selection, and model implementation using machine learning algorithms. Section 4
provides experimental results that compare the performance of the prediction models and
show the influence of oversampling on the prediction performance. Section 5 concludes
the paper with the future research directions.
2. Related Work
Table 1 shows the existing studies related to the prediction of student dropout and
compares them in terms of training data, machine learning algorithms, and prediction
performance. The studies are listed in an ascending order of the dropout rate shown in
their source data used for learning.
Barros et al. [23] used academic records collected from 7718 students at the Federal
Institute of Rio Grande do Norte (IFRN) for learning, where the dropout rate was found
to be 4.5%. To deal with the data imbalance, SMOTE and ADASYN were applied to the
learning data. As an algorithm to develop a prediction model, Balanced bagging [24], DNN,
and DT were considered, and the model implemented with DT showed the best F1-score
of 0.976. One thing to note in their results is that the dropout records were classified as
negative. This is contrary to the conventional approach, where the dropout records are
classified as positive. If the class of the records is set to positive, their F1-score is lowered to
0.480, whose value can be calculated from the confusion matrix provided in their paper.
Kim et al. [8] used academic records collected from 67,060 students at Gyeongsang
National University from 2015 to 2021 for their study, where the dropout rate was 5%.
To deal with the data imbalance, SMOTE, SMOTE+Tomek [25], and SMOTE+ENN [25]
were used. A prediction model was implemented as an ensemble of XGBoost [26] and
CatBoost [27], and they obtained an F1-score of 0.808 using the model. Jeong [9] tried to
perform the prediction using a survey of 3075 students from 2017 to 2021. To process texts
in the survey documents, a Twitter morphological analyzer was used to extract words from
the documents, and only nouns were used to build the data for learning. As an algorithm,
Naive Bayes (NB) [28], Ridge Regression [14], DT, and RF were adopted. Among them, a
model implemented with Ridge Regression showed the highest precision of 0.739. Despite
the fact that their experimental data showed high skewness with a dropout rate of 6.4%,
the problem of data imbalance was not discussed in their paper.
Silva et al. [29] used academic data collected from 331 students at the Department of
Computer Science at Universidade de Tras-os-Montes e Alto Douro (UTAD) for learning,
where the dropout rate was 37.5%. Random oversampling (ROS) was applied to address
data imbalance. DNN, RF, and XGBoost were used to implement a model, and the RF
Appl. Sci. 2023, 13, 12004 3 of 16
model achieved the highest F1-score of 0.81. Fernandez et al. [30] implemented a predictive
model for each semester for 1418 students at a public Spanish university. As an algorithm
to develop the model, Gradient Boosting (GB) [31], RF, and SVM were used. Among the
models, the SVM model achieved the highest F1-score of 0.902 for students in the fourth
semester, and the average F1-score for the data from all semesters was 0.804. In their
experimental data, the dropout rate was 55.2%, so the performance degradation due to
data imbalance was not expected to be significant.
Palis et al. [32] used academic data collected from 2097 students of the Escuela Po-
litecnica Nacional leveling course from 2017 to 2018 for learning. LR and DNN were
used to implement a model, and the DNN model provided the highest accuracy of 0.768.
Despite the high dropout rate of 72.8% in their data, the problem of data imbalance was
not discussed in their paper. Shynarbek et al. [33] used data collected from 366 students in
the Department of Computer Science at Suleyman Demirel University. As an algorithm to
implement a model, DNN, LR, NB, and SVM were used, and the NB model showed the
highest F1-score of 0.96. Although their models achieved high accuracy, their study has a
limitation in that the experimental data used for learning and validation was insufficient. In
addition, the dropout rate in their data was not presented, and the issue of data imbalance
was not discussed.
Among the studies listed in Table 1, the proposed method can be compared with [8,9,29,30,32].
Regarding [23], it was excluded from our comparison because there was a problem with its
classification criterion. In the case of [33], the data used for verification was insufficient,
and the dropout rate was not also presented, which makes direct comparison difficult. So,
it was also excluded from the comparison.
Table 1. Summarization of the existing studies: target data, dropout rate, algorithms, performance
measure, and the best prediction score. (DNN: Deep Neural Network, DT: Decision Tree, GB: Gradient
Boosting, K-NN: K-Nearest Neighbor, LR: Linear Regression, NB: Naive Bayes, RF: Random Forest,
SVM: Support Vector Machine.)
3. Proposed Method
3.1. Data Description
To perform supervised learning for dropout prediction, we used data stored in the
academic information system of Sahmyook University, a medium-sized four-year university
located in Seoul. In the system, the student data were stored separately in several tables
to prevent duplication by applying database normalization. Table 2 shows the tables and
attributes that can be used for dropout prediction, where underlined attributes indicate
those that make up a primary key. All of the tables except StudentInfo contain student
records by semester and use a primary key in the form of a composite key consisting of
three attributes, including SID, year, and semester.
Appl. Sci. 2023, 13, 12004 4 of 16
Table 2. Tables and attributes stored in the academic information system of Sahmyook University,
which can be used for dropout prediction in the proposed method (underlined attributes represent
those that make up a primary key).
In a typical case, each student has 8 records in the tables because he or she attends
8 semesters until graduation. Table 3 shows an example of the records in the Grade
table for dropout and non-dropout students. The SID values were partially masked to
Appl. Sci. 2023, 13, 12004 5 of 16
protect privacy of students. In the example, the student with SID 2012xxx010 successfully
graduated after completing 8 semesters, so the table contains 8 records representing grade
information for each semester. Note that each student has an additional record indicating
the semester in which he or she graduated or dropped out. In the example below, the 9th
record of 2012xxx010 indicates that the student graduated in the first semester of 2016. The
student with SID 2012xxx011 was only enrolled for one semester and dropped out.
Table 3. Example records of dropout and non-dropout students in the Grade table.
Table 4 shows example records of two dropout students in the AcademicStatus table.
The student with SID 2012xxx012 entered as a freshman in the first semester of 2012, took a
leave of absence for two semesters in 2013, and finally dropped out in the first semester
of 2014. The student with SID 2012xxx013 entered as a transfer student, attended two
semesters, and dropped out in the first semester of 2013.
Table 4. Example records of dropout and non-dropout students in the AcademicStatus table.
As mentioned before, all tables except StudentInfo contain student records by semester,
and they have the same number of records, 168,000. On the other hand, StudentInfo contains
records by SID and consists of 20,050 records. The table stores information such as student
name, department, major, year of admission, admission type (freshman, transfer, etc.), and
region of the high school from which the student graduated for each student.
2 When merging all source tables, 150 attributes could be added to the summary table.
Not all of these attributes have a significant impact on student dropout. If attributes
having less relevance to the dropout are used for learning, prediction accuracy may
decrease. So, only attributes with a high correlation with the dropout are extracted
and added to the summary table.
Regarding 1 , Table 5 shows the list of candidate attributes that can be extracted from
the source tables in Table 2 and added to the summary table.
Table 5. Candidate attributes of the summary table whose values can be extracted from the source
tables in Table 2.
First, from the Grade table, an average grade and the number of F grades can be
obtained for each student, which are denoted as the Grade and NumF attributes in Table 5,
respectively. To get the average grade from the multiple records with the same SID, the
simple exponential smoothing function [34] was adopted. The function can give higher
weight to recent values, as follows.
In expression (1), the parameter α denotes the weight, and it was set to 0.8 in the
proposed method. yi denotes the grade of the i-th record, where yt is the most recent.
Consequently, older records are multiplied by a weighting factor of 0.2. In the example of
Table 3, when (1) is applied to the records of student 2012xxx010, y is calculated as 3.73. For
the NumF attribute, the number of F grades in the last semester of attendance is extracted
and stored as an attribute value.
From the AcademicStatus table, the number of semesters enrolled, the number of
consecutive semesters of leave-of-absence, and dropout information can be obtained for
each student, which attributes are denoted as NumSem, NumAbs, and Dropout in Table 5,
respectively. The values of these attributes can be extracted from the Status attribute of
the AcademicStatus table. For example, the value of NumSem can be calculated as the
number of records whose values of the Status attribute are of Admission (0), Enrollment (1),
or Transfer (3). Similarly, the value of NumAbs can be calculated as the number of records
whose Status values are equal to Leave-of-absence (2). In the example of Table 4, the values
of NumSem and NumAbs for student 2012xxx012 are equal to 2. The value of the Dropout
attribute is set to 1 if Status of the last semester record of a student is equal to Dropout (4).
Otherwise, it is set to 0.
From the Scholarship table, scholarship received in the last semester is obtained for
each student, which attribute is denoted as Scholar in Table 5. Also, from the Counsel,
ExtraCourse, and BookLoan tables, the number of counseling sessions, extracurricular
courses attended, and book rentals performed in the last semester can be obtained for each
student. Note that we only consider information from the last semester when extracting the
attribute values from the source tables. This is because it was determined that the attribute
Appl. Sci. 2023, 13, 12004 7 of 16
values for each semester were independent of each other. From the StudentInfo table, the
department, admission type, and region information can be obtained, which attributes are
denoted as Dept, AdmType, and Region, respectively.
Regarding 2 , the summary table can arithmetically contain up to 150 attributes. In
order to achieve high classification accuracy, only attributes that have a high correlation
with the Dropout attribute need to be added to the table; the more attributes that are highly
correlated with student dropout are included and learned, the higher prediction accuracy
can be obtained. As a criterion for the selection, the correlation coefficient with the Dropout
attribute was examined for each candidate. In the proposed method, attributes whose
coefficient value was greater than or equal to 0.01 were chosen.
Figure 1 shows the attributes chosen for the summary table. The attribute with the
highest correlation with Dropout was Grade, followed by NumSem, NumF, Scholar, and
NumAbs. NumSem was highly correlated with Grade and Scholar, while Grade was highly
correlated with NumF. To obtain the correlation coefficients between the attributes, the
Appl. Sci. 2023, 13, x FOR PEER REVIEW 8 of 17
corr() function of the data frame in Python was used. For visualization, the heatmap()
function in the Seaborn package [35] was used.
1. Selected
Figure 1. Selected attributes for the summary table whose correlation coefficient with the Dropout
than or
attribute is greater than or equal
equal to
to 0.01.
0.01.
Table 6 shows an example of the summary table constructed from the records shown
in Tables
Tables 3 and 4. The summary table consists of 11 attributes shown in Figure 1 in addition
to SID as a primary key,
key, and
and it has 20,050 records,
records, which
which is
is equal
equal to the number of students
registered
registered in the academic information system of Sahmyook University.
in the academic information system of Sahmyook University.
SID
SID Grade NumF
Grade NumF NumSem
NumSem NumAbs
NumAbsScholar
Scholar NumCouns
NumCouns . .…
. AdmType
AdmType Region
Region Dropout
Dropout
2012xxx010
2012xxx010 3.733.73 0 0 88 0 0 0 0 2 2 . .…
. 00 11 00
2012xxx011 0.45 4 1 0 0 0 ...
2012xxx011 0.45 4 1 0 0 0 … 00 11 11
2012xxx012 3.21 0 2 2 0 1 ... 0 1 1
2012xxx012
2012xxx013 1.653.21 3 0 22 0 2 0 0 0 1 . .…
. 01 13 11
...
2012xxx013 . . .1.65 . . .3 . . .2 ... 0 ... 0 ... 0 . .…
. 1. . . 3. . . 1. . .
… … … … … … … … … … …
X = df[[“AdmType”,”NumSem”,”Grade”, . . . ]].values
T = df[“Dropout”].values
X_scaled = StandardScaler().fit_transform(X)
X_train, X_test, T_train, T_test = train_test_split(X_scaled, T, test_size = 0.2)
Table 7 shows the hyperparameters and their settings for each machine learning
algorithm used to implement the model. First, the LR model was implemented using the
LogisticRegression class, which is included in the linear_model package of Scikit-learn. The
value of C, the regularization parameter used to control overfitting, was set to 100.
The SVM model was implemented using the SVC class included in the svm package
of Scikit-learn. The parameter C was set to 100, the same as for the LR model.
The DNN model was implemented using Keras 2.0 and consisted of three Dense
layers. The Dense layer has two parameters to specify the number of hidden nodes and
the activation function. For the first two layers, relu was used as an activation function
to calculate the output value from each node while avoiding the vanishing gradient prob-
lem [38]. For the last layer, sigmoid was used as an activation function to calculate the
probability of student dropout. The parameter input_shape in the first layer was used to
specify the size of input data. As an optimizer for the DNN model, adam was used, and
binary-crossentropy was adopted as a loss function to correct the weights and biases based
on the T values. The training was set to be performed up to 50 times.
model = [Link]([
[Link](128, activation = “relu”, input_shape = (7, )),
[Link](32, activation = “relu”),
[Link](1, activation = ‘sigmoid’)
])
[Link](optimizer = “adam”, loss = ‘binary_crossentropy’)
[Link](X_train, T_train, epochs = 30)
The LightGBM model was implemented using the LGBMClassifier class included in
the lightgbm package. The parameter n_estimators was set to 100, which represents the
number of boosted trees, and the parameter random_state was set to 0 to get the same data
when conducting experiments.
Table 7. Hyperparameter settings of machine learning algorithms used to implement the dropout
prediction model in the proposed method.
4. Experimental Results
4.1. Performance Measure
Dropout prediction is a two-class classification problem, where dropout records are
classified into the P (Positive) class, while non-dropout records are classified into the N
(Negative) class. When evaluating the prediction result, T (True) means that the prediction is
correct, and F (False) means that it is not. From this, there are four cases for determining the
prediction performance in the two-class classification problem, including TP (True Positive),
FP (False Positive), FN (False Negative), and TN (True Negative). In the prediction of
student dropout, TP refers to a case where the model correctly predicts the P class, i.e.,
student dropout, while FP refers to a case where the model incorrectly predicts the dropout.
TN and FN can be interpreted in the same way.
The most common measure to evaluate the prediction performance is accuracy, which
is defined as follows.
TP + TN
Accuracy = (2)
TP + FP + FN + TN
Note that when the data are skewed toward one class, accuracy cannot be used
properly. For example, the dropout rate of four-year universities in South Korea is about
5% [6,7], where the data are highly skewed to the N class. In this case, simply predicting
that no one will drop out would yield 95% accuracy. However, if the opposite prediction is
made, the accuracy is significantly lowered to 5%.
The above problem indicates that FP and FN should be used together when measuring
the prediction performance. Precision can be used to measure the performance from the
perspective of FP and is defined as
TP
Precision = (3)
TP + FP
Similarly, recall can be used to measure the performance from the perspective of FN,
which is defined as
TP
Recall = (4)
TP + FN
A simple way to measure the performance considering both FP and FN is to use the
average of precision and recall. The F1-score is defined as the harmonic mean of precision
and recall as follows.
Precision × Recall
F1 = 2 × (5)
Precision + Recall
In this paper, the F1-score was used for evaluating the performance of prediction
models since it can properly reflect the data imbalance in the performance evaluation.
Figure [Link]
Figure Averageexecution time
execution of the
time LR, LR,
of the DT, RF,
DT,SVM, DNN,DNN,
RF, SVM, and LightGBM models. models.
and LightGBM
Considering
Figure the prediction
3. Average execution time accuracy
of the LR,and
DT,execution
RF, SVM, time
DNN,ofandthe LightGBM
six modelsmodels.
obtained
Considering
through the prediction
the experiments, the LightGBMaccuracy
modeland execution
showed time
the best of the six models
performance and is ex-obtained
through
pected to the experiments,
be most suitable forthe
theLightGBM
dropout model showed
prediction. the best performance
Table 9 compares thesix
performance and is ex-
Considering the prediction accuracy and execution time of the models obtained
pected
of the to be most
proposed suitable
LightGBM for
model the dropout
with the prediction.
models Table
presented in 9 compares
previous
through the experiments, the LightGBM model showed the best performance and is ex- the
[Link]
As
of the proposed
discussed LightGBM
in Section modelofwith
2, the models the models
[8,9,29,30,32] werepresented
compared. in In
previous studies. As dis-
[8], an F1-score
pected to be most suitable for the dropout prediction. Table 9 compares the performance
of 0.808in
cussed was obtained
Section using
2, the modelsan ensemble model of
of [8,9,29,30,32] CatBoost
were and XGBoost.
compared. In [8], anInF1-score
[9], the of 0.808
of the proposed LightGBM model with the models presented in previous studies. As dis-
was obtained
cussed using
in Section an ensemble
2, the models ofmodel of CatBoost
[8,9,29,30,32] were and XGBoost.
compared. In [9],
In [8], the performance
an F1-score of 0.808
of the ridge regression model was the best, providing a precision of 0.739. In [29], the RF
was obtained using an ensemble model of CatBoost and XGBoost. In [9], the performance
model
of provided
the ridge the best
regression performance
model withproviding
was the best, an F1-score of 0.810. In
a precision of [30],
[Link]
In SVM model
[29], the RF
was the best, providing an F1-score of 0.804. In [32], the DNN model achieved an accuracy
Appl. [Link].
Appl. 2023, 13,13,
2023, x 12004
FOR PEER REVIEW 12 of 16 13 of 17
performance
Table of the ridge
9. Performance regression
comparison model
of the was the
proposed best, providing
LightGBM model aand
precision of 0.739.
the existing models dis-
In [29], the RF model provided
cussed in [8,9,29,30,32]. the best performance with an F1-score of 0.810. In [30], the
SVM model was the best, providing an F1-score of 0.804. In [32], the DNN model achieved
an accuracy of 0.768. ComparedExisting Models
to the five existing models, the proposedProposed
LightGBMModel
model
Measure
showed improvedRefperformance in all aspects with accuracy, precision, and F1-score of
No. Algorithm Score Algorithm Score
0.955, 0.867, and 0.840, respectively.
F1-score [8] CatBoost+XGBoost 0.808 LightGBM 0.840
Table 9. Performance comparison
Precision [9] of the Regression
Ridge proposed LightGBM model andLightGBM
0.739 the existing models dis-
0.867
cussed in [8,9,29,30,32].
F1-score [29] RF 0.810 LightGBM 0.840
Existing Models Proposed Model
F1-score
Measure [30] SVM 0.804 LightGBM 0.840
Ref. No. Algorithm Score Algorithm Score
Accuracy
F1-score [32]
[8] DNN
CatBoost+XGBoost 0.768
0.808 LightGBM 0.840 0.955
LightGBM
Precision [9] Ridge Regression 0.739 LightGBM 0.867
4.3. F1-score [29]
Influence of Oversampling RF 0.810 LightGBM 0.840
F1-score [30] SVM 0.804 LightGBM 0.840
As mentioned[32]
Accuracy earlier, the source
DNNdata used for0.768
dropout LightGBM
prediction are 0.955
highly skewed,
where the dropout records account for only 5% of the total data. Such data imbalance can
have a significant
4.3. Influence impact on the prediction performance because it can lead to an overfit-
of Oversampling
ting As
problem where
mentioned earlier, the the
training
sourcecandatabeused
biased towardprediction
for dropout a class with a higher
are highly distribution
skewed,
For
whereexample,
the dropoutthe ratio
recordsof P and Nfor
account classes in our
only 5% source
of the data is
total data. 5:95.
Such In this
data case, the
imbalance cantraining
can
havebe biased toward
a significant impactthe on Ntheclass, whichperformance
prediction leads to thebecause
result it
that
cantheleadprediction performance
to an overfitting
problem
for the Nwhereclass the trainingwhile
increases can be biased
the toward a for
performance class
thewith a higher
P class maydistribution.
significantly Fordecrease
example,
Onethe of ratio of P and N
the popular classes into
methods our source the
resolve dataoverfitting
is 5:95. In this case, theistraining
problem can
oversampling. In
be biased toward the N class, which leads to the result that the prediction
this technique, artificial records are generated and added to the minor class, e.g., the P performance for
the N class increases while the performance for the P class may significantly decrease.
class, until the ratio between the classes becomes even. Among the various oversampling
One of the popular methods to resolve the overfitting problem is oversampling. In this
techniques, SMOTE
technique, artificial (Synthetic
records Minority
are generated Oversampling
and added to the minor Technique) [20]
class, e.g., the is theuntil
P class, most com-
monly
the ratioused.
between the classes becomes even. Among the various oversampling techniques,
SMOTE Data augmentation
(Synthetic MinorityinOversampling
SMOTE is performed
Technique)based[20] ison
theK-NN. Figure 4 illustrates
most commonly used. how
artificial
Datarecords are generated
augmentation in SMOTE inisSMOTE.
performedIt considers only the
based on K-NN. records
Figure in the Phow
4 illustrates class when
artificial records
generating neware generated
records. From in SMOTE. It considers
the P class only the records
data, a reference vectorinisthe P class
first when Then, K
selected.
generating new
neighboring records.
vectors Fromtothe
close theP reference
class data, avector
reference
are vector
chosen is first
using selected.
[Link], TheseK vectors
neighboring vectors close to the reference vector are chosen using K-NN.
are connected to the reference vector with lines, as shown in Figure 4. Finally, new vectors These vectors are
connected to the reference vector with lines, as shown in Figure 4. Finally, new vectors are
are randomly extracted from the connection lines and added to the minor class until the
randomly extracted from the connection lines and added to the minor class until the ratio
ratio
betweenbetween the classes
the classes becomesbecomes
even. even.
Figure
Figure [Link]
Dataaugmentation
augmentation in SMOTE.
in SMOTE.
Table
Table1010shows
showsthe prediction
the performance
prediction whenwhen
performance SMOTE is applied
SMOTE to the proposed
is applied to the proposed
prediction models. SMOTE was applied only to the training data, not to the test data. From
prediction models. SMOTE was applied only to the training data, not to the test data. From
the results shown in Table 10, we can see that the F1-scores of all models except the RF
the results shown in Table 10, we can see that the F1-scores of all models except the RF
model decreased after applying SMOTE. Compared with the results in Table 8, the average
model decreased after applying SMOTE. Compared with the results in Table 8, the aver-
age F1-score of the models dropped from 0.796 to 0.762. This is due to the fact that the
average value of precision has dropped significantly from 0.848 to 0.677. On the other
hand, the average value of recall improved from 0.752 to 0.882. As an exceptional case, the
Appl. Sci. 2023, 13, 12004 13 of 16
F1-score of the models dropped from 0.796 to 0.762. This is due to the fact that the average
value of precision has dropped significantly from 0.848 to 0.677. On the other hand, the
average value of recall improved from 0.752 to 0.882. As an exceptional case, the F1-score
of the RF model slightly increased from 0.827 to 0.830. It was not possible to measure the
performance of the LightGBM model since an error occurred due to a conflict between the
LightGBM and SMOTE packages.
Table 10. Performance of the proposed prediction models after applying SMOTE.
Table 11. Performance of the proposed prediction models after applying ADASYN.
Table 12. Performance of the proposed prediction models after applying Borderline-SMOTE.
Figure 5 visualizes the change in F1-scores of the proposed prediction models before
and after applying SMOTE, ADASYN, and Borderline-SMOTE. The average F1-scores of
all models decreased after applying the oversampling techniques, except the RF model; the
performance improvement of the RF model was also not so significant. Among the over-
sampling techniques, SMOTE showed the best performance, whereas ADASYN performed
the worst.
Appl. Sci. 2023, 13, x FOR PEER REVIEW 15 of 17
Figure 5. Change in F1-scores of the proposed prediction models before and after applying SMOTE
ADASYN, and Borderline-SMOTE.
[Link]
Figure inin
F1-scores of the proposed prediction models before before
and after applying SMOTE, SMOTE
TheChange
ADASYN, performance
and
F1-scores of the
degradation
Borderline-SMOTE.
proposed prediction
after applying models
oversampling and
was after applying
also discussed in the
ADASYN, and Borderline-SMOTE.
previous studies of [39,40]. The reason can be explained by the fact that the new dropout
The of
records performance
the P classdegradation
augmentedafter by applying
SMOTE oversampling
or other techniqueswas alsoacted
discussed in the
as noise when the
Thestudies
previous performance
of [39,40].degradation
The reason after
can beapplying
explained oversampling
by the fact thatwas
the also
new discussed
dropout in the
classification process was performed. As shown in Figure 4, as the overlapping region
previous
records studies
ofthe
the P
P and of
classN [39,40].
augmented The reason
by SMOTE can be explained
or other techniques by the
acted fact that
as noise the new
when the dropou
between classes increases, classification becomes more difficult.
records of the
classification P class
process wasaugmented
[Link] SMOTE
shown or in other
Figuretechniques acted as noise
4, as the overlapping region when the
To see how much portion of our source data overlaps, we compared the data distri-
classification
between process
the P and wasincreases,
N classes performed. As shown
classification in Figure
becomes more4,difficult.
as the overlapping region
bution of dropout
To see how much and non-dropout students. Among we thecompared
10 attributes useddistri-
for training
between the P and Nportion
classesof our source
increases, data overlaps,
classification becomes the data
more difficult.
we examined
bution the distribution of grades and the number of leaves used
of absence, which had a
Toofsee
dropout
how andmuch non-dropout
portion ofstudents.
our source Among
data the 10 attributes
overlaps, we compared for training,
the data distri
high
we correlation
examined with student
the distribution dropout.
of grades and Figure 6
the numbershows the
of leaves distribution
of attributes of
absence, which the two attribute
bution of dropout and non-dropout students. Among the 10 usedhadforatraining
values
high for students
correlation in the Computer
with student Science
dropout. Figure department
6 shows of Sahmyook
the distribution of the twoUniversity,
attribute where
we examined the distribution of grades and the number of leaves of absence, which had a
values
purplefor students
circles denotein the
theComputer
values ofScience
dropout department of Sahmyook
students while yellow University, where
circles denote the values
high correlation
purple circles denotewiththe student
values dropout.
of dropout Figure 6while
students shows the distribution
yellow circles denote ofthe
thevalues
two attribute
of non-dropout students. As shown in the figure, the data of the two groups significantly
values
of for students
non-dropout in the Computer Science department theoftwo
Sahmyook University, where
overlapped in students.
the areasAswhere shownthein the figure,
grade the data
ranges from of 1.0 groups
to 4.0, andsignificantly
the number of ab-
purple circles
overlapped denote
in the the values
areas where of dropout
the grade students
ranges from 1.0 towhile
4.0, and yellow circlesofdenote
the number absencesthe values
sences ranges from 1 to 4 semesters. In this case, if dropout records are oversampled and
of non-dropout
ranges from 1 to 4 students.
semesters. As shown
In this case,in the figure,
if dropout the data
records of the two and
are oversampled groupsaddedsignificantly
to
added
the
to the P class, the
P class, theinnumber
number
of FP
of FP errors
errorsthe
might increase
might increase significantly,
significantly,
which can sub-
overlapped the areas where grade ranges from 1.0 which to 4.0,canandsubsequently
the number of ab
sequently
decrease thedecrease
precision the precision of the prediction models.
sences ranges from 1oftothe prediction
4 semesters. models.
In this case, if dropout records are oversampled and
added to the P class, the number of FP errors might increase significantly, which can sub
sequently decrease the precision of the prediction models.
Figure6.6. Distribution
Figure Distributionofofgrades
gradesand
andnumber
numberofof
semesters onon
semesters leave of of
leave absence for for
absence dropout andand non
dropout
non-dropout students in the Department of Computer Engineering of Sahmyook University.
dropout students in the Department of Computer Engineering of Sahmyook University.
5. Conclusions
Figure and Future
6. Distribution Work
of grades and number of semesters on leave of absence for dropout and non
5. Conclusions and Future Work
In this
dropout study,inwe
students theimplemented machine
Department of learning
Computer modelsoftoSahmyook
Engineering predict theUniversity.
dropout of
In this
university study,and
students wecompared
implemented machine learning
the performance models
of the models usingtoacademic
predict the dropout of
records
university students
5. Conclusions andand compared
Future Work the performance of the models using academic records
collected from 20,050 students at Sahmyook University located in Seoul, Republic of Ko-
In this study, we implemented machine learning models to predict the dropout o
university students and compared the performance of the models using academic records
collected from 20,050 students at Sahmyook University located in Seoul, Republic of Ko
Appl. Sci. 2023, 13, 12004 15 of 16
collected from 20,050 students at Sahmyook University located in Seoul, Republic of Korea.
Since the source records were stored in multiple tables separately to avoid redundancy,
the records from the tables were merged into a single table with 150 attributes to perform
learning. Among them, 10 attributes having a high correlation with student dropout
were extracted and used for learning. To implement a prediction model, various machine
learning algorithms, including Linear Regression, Decision Tree, Random Forest, Support
Vector Machine, Deep Neural Network, and Light Gradient Boosting Machine (LightGBM),
were used. The performance of the models was compared through experiments, and the
LightGBM model provided the best performance with an F1-score of 0.840.
We also examined the influence of the data imbalance on the prediction performance.
For this purpose, we compared the performance of the proposed prediction models before
and after applying oversampling techniques such as SMOTE, ADASYN, and Borderline-
SMOTE. Interestingly, the performance of all models decreased after applying the oversam-
pling techniques, except the RF model, and the performance improvement of the RF model
was also not so significant. Among the oversampling techniques, SMOTE showed the best
performance, whereas ADASYN performed the worst.
Such performance degradation means that there was a lot of overlap in the data be-
tween the dropout and non-dropout classes. From this, new records augmented by the
oversampling techniques acted as noise when the classification process was performed. Re-
garding this, we plan to study oversampling techniques that can reduce noise by detecting
the class boundary or outliers more clearly. We will also continue research to develop a
new model that can predict student dropout by semester.
Author Contributions: Methodology, C.H.C. and Y.W.Y.; Writing—original draft, H.G.K. All authors
have read and agreed to the published version of the manuscript.
Funding: This research was supported by the Sahmyook University Research Fund in 2023.
Institutional Review Board Statement: Not applicable.
Informed Consent Statement: Not applicable.
Conflicts of Interest: The authors declare no conflict of interest. The funders had no role in the design
of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or
in the decision to publish the results.
References
1. Kim, D.; Kim, S. Sustainable education: Analyzing the determinants of university student dropout by nonlinear panel data
models. Sustainability 2018, 10, 954. [CrossRef]
2. Martinho, V.R.D.C.; Nunes, C.; Minussi, C.R. An intelligent system for prediction of school dropout risk group in higher education
classroom based on artificial neural networks. In Proceedings of the 2013 IEEE 25th International Conference on Tools with
Artificial Intelligence, Washington, DC, USA, 4–6 November 2013; pp. 159–166.
3. Jain, P.; Chhabra, H.; Chauhan, U.; Prakash, K.; Gupta, A.; Soliman, M.S.; Islam, M.S.; Islam, M.T. Machine learning assisted hepta
band THz metamaterial absorber for biomedical applications. Sci. Rep. 2023, 13, 1792. [CrossRef] [PubMed]
4. Jain, P.; Chhabra, H.; Chauhan, U.; Singh, D.K.; Anwer, T.M.K.; Ahammad, S.H.; Hossain, M.A.; Rashed, A.N.Z. Multiband
Metamaterial absorber with absorption prediction by assisted machine learning. Mater. Chem. Phys. 2023, 307, 128180. [CrossRef]
5. Prenkaj, B.; Velardi, P.; Stilo, G.; Distante, D.; Faralli, S. A survey of machine learning approaches for student dropout prediction
in online courses. ACM Comput. Surv. (CSUR) 2020, 53, 1–34. [CrossRef]
6. Alyahyan, E.; Düştegör, D. Predicting academic success in higher education: Literature review and best practices. Int. J. Educ.
Technol. High. Educ. 2020, 17, 3. [CrossRef]
7. Mduma, N.; Khamisi, K.; Dina, M. A Survey of Machine Learning Approaches and Techniques for Student Dropout Prediction.
Data Sci. J. 2019, 18, 1–10. [CrossRef]
8. Kim, S.; Choi, E.; Jun, Y.K.; Lee, S. Student Dropout Prediction for University with High Precision and Recall. Appl. Sci. 2023, 13,
6275. [CrossRef]
9. Jeong, S.H. A study on the development of university students dropout prediction model using classification technique. J. Converg.
Cons. 2022, 5, 174–185.
10. Park, C. Development of prediction model to improve dropout of cyber university. J. Korea Acedemia-Ind. Coop. Soc. 2020,
21, 380–390.
Appl. Sci. 2023, 13, 12004 16 of 16
11. Onah, D.F.; Sinclair, J.; Boyatt, R. Dropout rates of massive open online courses: Behavioral patterns. In Proceedings of the 6th
International Conference on Education and New Learning Technologies, Barcelona, Spain, 7–9 July 2014; pp. 5825–5834.
12. Liyanagunawardena, T.R.; Parslow, P.; Williams, S. Dropout: MOOC participants’perspective. In Proceedings of the EMOOCs
2014, the Second MOOC European Stakeholders Summit, Lausanne, Switzerland, 10–12 February 2014; pp. 95–100.
13. Xing, W.; Du, D. Dropout prediction in MOOCs: Using deep learning for personalized intervention. J. Educ. Comput. Res. 2019,
57, 547–570. [CrossRef]
14. McDonald, G.C. Ridge regression. Wiley Interdiscip. Rev. Comput. Stat. 2009, 1, 93–100. [CrossRef]
15. Quinlan, J.R. Induction of decision trees. Mach. Learn. 1986, 1, 81–106. [CrossRef]
16. Ho, T.K. Random Decision Forests. In Proceedings of the 3rd International Conference on Document Analysis and Recognition,
Montreal, QC, Canada, 14–16 August 1995; pp. 278–282.
17. Meyer, D.; Wien, F.T. Support vector machines. R News 2001, 1, 23–26.
18. Schmidhuber, J. Deep learning in neural networks: An overview. Neural Netw. 2015, 61, 85–117. [PubMed]
19. Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; Liu, T.Y. LightGBM: A highly efficient gradient boosting decision
tree. In Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA,
4–9 December 2017; Volume 30.
20. Chawla, N.V.; Bowyer, K.W.; Hall, L.O.; Kegelmeyer, W.P. SMOTE: Synthetic minority over-sampling technique. Artif. Intell. Res.
2002, 16, 321–357. [CrossRef]
21. He, H.; Bai, Y.; Garcia, E.A.; Li, S. ADASYN: Adaptive synthetic sampling approach for imbalanced learning. In Proceedings of
the 2008 IEEE International Joint Conference on Neural Networks, Hong Kong, China, 1–8 June 2008; pp. 1322–1328.
22. Han, H.; Wang, W.-Y.; Mao, B.-H. Borderline-SMOTE: A new over-sampling method in imbalanced data sets learning. In
Proceedings of the IEEE 2005 International Conference on Advances in Intelligent Computing, Hefei, China, 23–26 August 2005;
Volume 16, pp. 878–887.
23. Barros, T.M.; Souza Neto, P.A.; Silva, I.; Guedes, L.A. Predictive Models for Imbalanced Data: A School Dropout Perspective.
Educ. Sci. 2019, 9, 4–275. [CrossRef]
24. Hido, S.; Kashima, H.; Takahashi, Y. Roughly balanced bagging for imbalanced data. Stat. Anal. Data Min. ASA Data Sci. J. 2009,
2, 412–426. [CrossRef]
25. Batista, G.E.; Prati, R.C.; Monard, M.C. A study of the behavior of several methods for balancing machine learning training data.
ACM SIGKDD Explor. Newsl. 2004, 6, 20–29. [CrossRef]
26. Chen, T.; Guestrin, C. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd ACM Sigkdd International Conference
on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13 August 2016; pp. 785–794.
27. Dorogush, A.V.; Ershov, V.; Gulin, A. CatBoost: Gradient boosting with categorical features support. arXiv 2018, arXiv:1810.11363.
28. Webb, G.I.; Keogh, E.; Miikkulainen, R. Naïve Bayes. Encycl. Mach. Learn. 2010, 15, 713–714.
29. Da Silva, M.; Diogo, E.; Solteiro, P.; Eduardo, J.; Arsénio, R.; de Moura, O.; Paulo, B.; Barroso, J. Forecasting Students Dropout:
A UTAD University Study. Future Internet 2022, 14, 76. [CrossRef]
30. Fernández-García, A.J.; Preciado, J.C.; Melchor, F.; Rodriguez-Echeverria, R.; Conejero, J.M.; Sánchez-Figueroa, F. A real-life
machine learning experience for predicting university dropout at different stages using academic data. IEEE Access 2021, 9,
133076–133090. [CrossRef]
31. Friedman, J.H. Greedy function approximation: A gradient boosting machine. Ann. Stat. 2001, 29, 1189–1232. [CrossRef]
32. Sandoval-Palis, I.; Naranjo, D.; Vidal, J.; Gilar-Corbi, R. Early Dropout Prediction Model: A Case Study of University Leveling
Course Students. Sustainability 2020, 12, 9314. [CrossRef]
33. Shynarbek, N.; Orynbassar, A.; Sapazhanov, Y.; Kadyrov, S. Prediction of Student’s Dropout from a University Program. In
Proceedings of the 16th International Conference on Electronics Computer and Computation (ICECCO), Kaskelen, Kazakhstan,
25–26 November 2021; pp. 1–4.
34. Exponential Smoothing. Available online: [Link] (accessed on 28 August 2023).
35. Seaborn, Statistical Data Visualization. Available online: [Link] (accessed on 28 August 2023).
36. Scikit-Learn. Available online: [Link] (accessed on 28 August 2023).
37. Keras. Available online: [Link] (accessed on 28 August 2023).
38. Hu, Z.; Zhang, J.; Ge, Y. Handling vanishing gradient problem using artificial derivative. IEEE Access 2021, 9, 22371–22377.
[CrossRef]
39. Lee, S.; Chung, J.Y. The machine learning-based dropout early warning system for improving the performance of dropout
prediction. Appl. Sci. 2019, 9, 3093. [CrossRef]
40. Moon, G.B.; Kim, J.W.; Lee, J.S. Early prediction model of student performance based on deep neural network using massive LMS
log data. J. Korea Contents Assoc. 2021, 21, 10.
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.