GithubHelp home page GithubHelp logo

kdpkst / classify-and-cluster-students-based-on-their-marks Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 643 KB

A machine learning project that classifies and clusters students from different majors based on their marks

Python 100.00%
machine-learning python classification cluster

classify-and-cluster-students-based-on-their-marks's Introduction

Classification and Clustering based on Machine Learning Approach

This repository consists of two main folders:

  • project folder: contain the source code and dataset for the machine learning project.
  • notes folder: contain code examples for the usage of Python libraries (e.g., scikit-learn) related to machine learning, data visualization and etc.

Introduction

The project aims to classify and cluster students from different majors based on their marks. The provided CSV file (Data.csv) contains student records, including the mark for each question and corresponding student information, which will be used for training the classification and clustering models.

The following shows the columns in the dataset:

Columns Description
ID A unique identifier for each student.
Q1 Mark for question 1.
Q2 Mark for question 2.
Q3 Mark for question 3.
Q4 Mark for question 4.
Q5 Mark for question 5.
Programme The major in which the student is enrolled.

Workflow

Data Exploration and Preprocessing

  1. Data Loading and Preprocessing:
    • Load the dataset from the CSV file (Data.csv)
    • Perform data preprocessing
  2. Descriptive Statistics:
    • Print descriptive statistics
    • Analyze correlation between variables
    • Explore data distribution and skewness
  3. Data Visualization
    • Generate histograms, density plots, box-and-whisker plots, correlation matrices plot, and scatter matrices.
    • First gather students with the same programme in one list. Then, draw scatter plots for median, mean, standard deviation, minimum, and maximum marks for each programme.

Dimensionality Reduction

  • Apply Principal Component Analysis (PCA).
  • Perform Independent Component Analysis (ICA).
  • Utilize t-Distributed Stochastic Neighbor Embedding (t-SNE).
  • Implement Linear Discriminant Analysis (LDA).
  • Use Non-Negative Matrix Factorization (NMF).
  • Filter features based on variance.

Classification

  • Train and evaluate Decision Tree, Random Forests, Logistic Regression, k-Nearest Neighbors, Naive Bayes, Support Vector Machines (SVM).

Clustering

  • Apply k-Means, Agglomerative Clustering, and DBSCAN clustering algorithms.

Requirements

  • Python3
  • anaconda

Getting Started

To quickly explore the project, follow these steps:

  1. Clone the repository and cd to project folder
  2. Run the file classify_and_cluster.py and observe the figures and results.
  3. For detailed information about project specificaton, data exploration and preprocessing, dimensionality reduction, classification and clustering, please Click to read the report. Feel free to modify the codes as needed.

classify-and-cluster-students-based-on-their-marks's People

Contributors

kdpkst avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.