# sanapathisaikiran21/-prediction-of-student-performance-using-ml architecture

> Architecture diagram of the GitHub repository sanapathisaikiran21/-prediction-of-student-performance-using-ml, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml
- Repository: https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml

## Overview

This is a small, single-script student-grade classification and analysis project. Its main workflow loads the CSV, explores and plots grade-related data, prepares features, trains several classifiers, reports performance, and optionally predicts a grade for user-entered values. The README also describes confusion-matrix visualizations; the excerpts do not show their implementation, so that capability is represented within the results component without a separate inferred flow. The source excerpts are partial, so the graph only connects stages whose relationships are visible there.

Main entry points: [`Project.py`](https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py) (Feature preparation), [`AI-Data.csv`](https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/AI-Data.csv) (Student dataset)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_analysis["Data analysis"]
  node_explore["Exploration plots<br/>[Project.py]"]
  node_prepare["Feature preparation<br/>[Project.py]"]
end

subgraph group_modeling["Grade prediction"]
  node_tree["Decision tree<br/>[Project.py]"]
  node_forest["Random forest<br/>[Project.py]"]
  node_perceptron["Perceptron<br/>[Project.py]"]
  node_logistic["Logistic regression<br/>[Project.py]"]
  node_mlp["MLP classifier<br/>[Project.py]"]
end

subgraph group_results["Results"]
  node_evaluation["Model evaluation<br/>[Project.py]"]
  node_manual["Manual prediction<br/>[Project.py]"]
end

node_user(("User"))
node_csv["Student dataset<br/>[AI-Data.csv]"]

node_csv -->|"loads data"| node_explore
node_explore -->|"continues analysis"| node_prepare
node_prepare -->|"trains"| node_tree
node_prepare -->|"trains"| node_forest
node_prepare -->|"trains"| node_perceptron
node_prepare -->|"trains"| node_logistic
node_prepare -->|"trains"| node_mlp
node_tree -->|"reports predictions"| node_evaluation
node_forest -->|"reports predictions"| node_evaluation
node_perceptron -->|"reports predictions"| node_evaluation
node_logistic -->|"reports predictions"| node_evaluation
node_mlp -->|"reports predictions"| node_evaluation
node_user -->|"enters values"| node_manual
node_manual -->|"requests prediction"| node_tree
node_manual -->|"requests prediction"| node_forest
node_manual -->|"requests prediction"| node_perceptron
node_manual -->|"requests prediction"| node_logistic
node_manual -->|"requests prediction"| node_mlp

click node_csv "https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/AI-Data.csv"
click node_explore "https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py"
click node_prepare "https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py"
click node_tree "https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py"
click node_forest "https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py"
click node_perceptron "https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py"
click node_logistic "https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py"
click node_mlp "https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py"
click node_evaluation "https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py"
click node_manual "https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_explore,node_prepare,node_user toneBlue
class node_tree,node_forest,node_perceptron,node_logistic,node_mlp toneAmber
class node_evaluation,node_manual toneMint
class node_csv toneTeal
```

## Components

### Data analysis

- [Exploration plots](https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py): `Project.py`
- [Feature preparation](https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py): `Project.py`

### Grade prediction

- [Decision tree](https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py): `Project.py`
- [Random forest](https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py): `Project.py`
- [Perceptron](https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py): `Project.py`
- [Logistic regression](https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py): `Project.py`
- [MLP classifier](https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py): `Project.py`

### Results

- [Model evaluation](https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py): `Project.py`
- [Manual prediction](https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/Project.py): `Project.py`

### Other components

- **User**
- [Student dataset](https://github.com/sanapathisaikiran21/-prediction-of-student-performance-using-ml/blob/main/AI-Data.csv): `AI-Data.csv`

## Connections

- Student dataset → Exploration plots: loads data (evidence: `Project.py`)
- Exploration plots → Feature preparation: continues analysis (evidence: `Project.py`)
- Feature preparation → Decision tree: trains (evidence: `Project.py`)
- Feature preparation → Random forest: trains (evidence: `Project.py`)
- Feature preparation → Perceptron: trains (evidence: `Project.py`)
- Feature preparation → Logistic regression: trains (evidence: `Project.py`)
- Feature preparation → MLP classifier: trains (evidence: `Project.py`)
- Decision tree → Model evaluation: reports predictions (evidence: `Project.py`)
- Random forest → Model evaluation: reports predictions (evidence: `Project.py`)
- Perceptron → Model evaluation: reports predictions (evidence: `Project.py`)
- Logistic regression → Model evaluation: reports predictions (evidence: `Project.py`)
- MLP classifier → Model evaluation: reports predictions (evidence: `Project.py`)
- User → Manual prediction: enters values (evidence: `Project.py`)
- Manual prediction → Decision tree: requests prediction (evidence: `Project.py`)
- Manual prediction → Random forest: requests prediction (evidence: `Project.py`)
- Manual prediction → Perceptron: requests prediction (evidence: `Project.py`)
- Manual prediction → Logistic regression: requests prediction (evidence: `Project.py`)
- Manual prediction → MLP classifier: requests prediction (evidence: `Project.py`)
