StudyHours int64 | Attendance int64 | Resources int64 | Extracurricular int64 | Motivation int64 | Internet int64 | Gender int64 | Age int64 | LearningStyle int64 | OnlineCourses int64 | Discussions int64 | AssignmentCompletion int64 | ExamScore int64 | EduTech int64 | StressLevel int64 | FinalGrade int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
19 | 64 | 1 | 0 | 0 | 1 | 0 | 19 | 2 | 8 | 1 | 59 | 40 | 0 | 1 | 3 |
19 | 64 | 1 | 0 | 0 | 1 | 0 | 23 | 3 | 16 | 0 | 90 | 66 | 0 | 1 | 2 |
19 | 64 | 1 | 0 | 0 | 1 | 0 | 28 | 1 | 19 | 0 | 67 | 99 | 1 | 1 | 0 |
19 | 64 | 1 | 1 | 0 | 1 | 0 | 19 | 2 | 8 | 1 | 59 | 40 | 0 | 1 | 3 |
19 | 64 | 1 | 1 | 0 | 1 | 0 | 23 | 3 | 16 | 0 | 90 | 66 | 0 | 1 | 2 |
19 | 64 | 1 | 1 | 0 | 1 | 0 | 28 | 1 | 19 | 0 | 67 | 99 | 1 | 1 | 0 |
19 | 64 | 0 | 1 | 0 | 1 | 0 | 19 | 2 | 8 | 1 | 59 | 40 | 0 | 1 | 3 |
19 | 64 | 0 | 1 | 0 | 1 | 0 | 23 | 3 | 16 | 0 | 90 | 66 | 0 | 1 | 2 |
19 | 64 | 0 | 1 | 0 | 1 | 0 | 28 | 1 | 19 | 0 | 67 | 99 | 1 | 1 | 0 |
19 | 64 | 1 | 1 | 1 | 1 | 0 | 19 | 2 | 8 | 1 | 59 | 40 | 0 | 1 | 3 |
19 | 64 | 1 | 1 | 1 | 1 | 0 | 23 | 3 | 16 | 0 | 90 | 66 | 0 | 1 | 2 |
19 | 64 | 1 | 1 | 1 | 1 | 0 | 28 | 1 | 19 | 0 | 67 | 99 | 1 | 1 | 0 |
19 | 64 | 1 | 0 | 0 | 1 | 0 | 19 | 2 | 8 | 1 | 59 | 40 | 0 | 1 | 3 |
19 | 64 | 1 | 0 | 0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 | 1 | 1 | 25 | 2 | 20 | 1 | 70 | 82 | 1 | 1 | 1 |
17 | 97 | 2 | 0 | 2 | 1 | 1 | 27 | 1 | 9 | 0 | 64 | 87 | 1 | 1 | 0 |
17 | 97 | 2 | 0 | 2 | 1 | 1 | 25 | 2 | 20 | 1 | 70 | 82 | 1 | 1 | 1 |
17 | 97 | 2 | 1 | 1 | 0 | 1 | 27 | 1 | 9 | 0 | 64 | 87 | 1 | 1 | 0 |
17 | 97 | 2 | 1 | 1 | 0 | 1 | 25 | 2 | 20 | 1 | 70 | 82 | 1 | 1 | 1 |
17 | 97 | 2 | 0 | 1 | 1 | 1 | 27 | 1 | 9 | 0 | 64 | 87 | 1 | 1 | 0 |
17 | 97 | 2 | 0 | 1 | 1 | 1 | 25 | 2 | 20 | 1 | 70 | 82 | 1 | 1 | 1 |
The dataset used in this study integrates quantitative data on student learning behaviors, engagement patterns, demographics, and academic performance. It was compiled by merging two publicly available Kaggle datasets, resulting in a combined file (“merged_dataset.csv”) containing 14,003 student records with 16 attributes. All records are anonymized and contain no personally identifiable information.
The dataset covers the following categories of variables:
Study behaviors and engagement: StudyHours, Attendance, Extracurricular, AssignmentCompletion, OnlineCourses, Discussions
Resource access and learning environment: Resources, Internet, EduTech
Motivation and psychological factors: Motivation, StressLevel
Demographic information: Gender, Age (ranging from 18 to 30 years)
Learning preference classification: LearningStyle
Academic performance indicators: ExamScore, FinalGrade
In this study, “ExamScore” and “FinalGrade” served as the primary performance indicators. The remaining variables were used to derive behavioral and contextual profiles, which were clustered using unsupervised machine learning techniques.
The analysis and modeling were implemented in Python through a structured Jupyter Notebook (“Project.ipynb”), which included the following main steps:
Environment Setup – Import of essential libraries (NumPy, pandas, Matplotlib, Seaborn, SciPy, StatsModels, scikit-learn, imbalanced-learn) and visualization configuration.
Data Import and Integration – Loading the two source CSV files, harmonizing columns, removing irrelevant attributes, aligning formats, handling missing values, and merging them into a unified dataset (merged_dataset.csv).
Data Preprocessing –
Encoding categorical variables using LabelEncoder.
Scaling features using both z-score standardization (for statistical tests and PCA) and Min–Max normalization (for clustering).
Detecting and removing duplicates.
Clustering Analysis –
Applying K-Means clustering to segment learners into distinct profiles.
Determining the optimal number of clusters using the Elbow Method and Silhouette Score.
Evaluating cluster quality with internal metrics (Silhouette Score, Davies–Bouldin Index).
Dimensionality Reduction & Visualization – Using PCA for 2D/3D cluster visualization and feature importance exploration.
Mapping Clusters to Learning Styles – Associating each identified cluster with the most relevant learning style model based on feature patterns and alignment scores.
Statistical Analysis – Conducting ANOVA and regression to test for significant differences in performance between clusters.
Interpretation & Practical Recommendations – Analyzing cluster-specific characteristics and providing implications for adaptive and mobile learning integration.
- Downloads last month
- 6