# dark-sil/student-performance-prediction architecture

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

- Interactive diagram: https://gitdiagram.com/dark-sil/student-performance-prediction
- Repository: https://github.com/dark-sil/student-performance-prediction

## Overview

This small repository describes a student-performance prediction model using Decision Tree Regression and Random Forest Regression. The notebook is the only apparent runtime implementation, and the CSV is the available data file. No notebook or data excerpts were provided, so the graph includes only the README-documented model relationships; it cannot establish how data is loaded or predictions are produced.

Main entry points: [`AI_DA2.ipynb`](https://github.com/dark-sil/student-performance-prediction/blob/main/AI_DA2.ipynb) (Prediction notebook)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_notebook["Prediction notebook<br/>[AI_DA2.ipynb]"]
node_data["Student data<br/>[exams.csv]"]
node_decision_tree["Decision tree<br/>[AI_DA2.ipynb]"]
node_random_forest["Random forest<br/>[AI_DA2.ipynb]"]

node_notebook -->|"uses"| node_decision_tree
node_notebook -->|"uses"| node_random_forest

click node_notebook "https://github.com/dark-sil/student-performance-prediction/blob/main/AI_DA2.ipynb"
click node_data "https://github.com/dark-sil/student-performance-prediction/blob/main/exams.csv"
click node_decision_tree "https://github.com/dark-sil/student-performance-prediction/blob/main/AI_DA2.ipynb"
click node_random_forest "https://github.com/dark-sil/student-performance-prediction/blob/main/AI_DA2.ipynb"

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_user toneBlue
class node_notebook,node_data,node_decision_tree,node_random_forest toneTeal
```

## Components

### Other components

- **User**
- [Prediction notebook](https://github.com/dark-sil/student-performance-prediction/blob/main/AI_DA2.ipynb): `AI_DA2.ipynb`
- [Student data](https://github.com/dark-sil/student-performance-prediction/blob/main/exams.csv): `exams.csv`
- [Decision tree](https://github.com/dark-sil/student-performance-prediction/blob/main/AI_DA2.ipynb): `AI_DA2.ipynb`
- [Random forest](https://github.com/dark-sil/student-performance-prediction/blob/main/AI_DA2.ipynb): `AI_DA2.ipynb`

## Connections

- Prediction notebook → Decision tree: uses (evidence: `README.md`)
- Prediction notebook → Random forest: uses (evidence: `README.md`)
