Published August 25, 2026 | Version v1

Hirarchical_Clustering

Description

Certainly. Since this dataset is being used specifically for the hierarchical clustering coding example, I would describe it in a way that focuses on grouping students according to their academic characteristics, rather than treating it Final_Exam_Score as a dependent variable.

Dataset Description

The dataset represents the academic characteristics and performance of students. It contains 500 observations and five numerical variables describing different aspects of students' academic behavior and achievement.

The variables are

Variable Description Unit
Study_Hours Total amount of time devoted to studying Hours
Attendance_Rate Percentage of classes attended by the student %
Previous_GPA Student's GPA from previous academic performance GPA points
Extracurricular_Hours Time spent on extracurricular activities Hours
Final_Exam_Score Student's final examination performance Score

Purpose of the Dataset

The objective is to use hierarchical clustering to identify groups of students with similar academic profiles.

In this exercise, there is no predefined target variable and no class label. All five variables are treated as characteristics used to measure the similarity between students.

For example, hierarchical clustering may identify groups corresponding approximately to:

  • students with lower study time, attendance, GPA, and exam performance;

  • students with moderate academic characteristics;

  • students with higher study time, attendance, GPA, and exam performance.

However, these groups are not predefined. They are discovered automatically by the clustering algorithm based on the distances between observations.

Important Note

Because the five variables have different scales—for example, Previous_GPA is around 2–4 while Attendance_Rate is around 50–100—standardization is required before calculating distances.

This makes the dataset suitable for demonstrating the complete Hierarchical Clustering concept using Python.

Files

Hirarchical.csv

Files (5.8 kB)

Name Size
md5:acc89ba7a704de856373f6187df7ecc8
5.8 kB Preview Download