# rhussain4072429-blip/student_performance_analysis architecture

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

- Interactive diagram: https://gitdiagram.com/rhussain4072429-blip/student_performance_analysis
- Repository: https://github.com/rhussain4072429-blip/student_performance_analysis

## Overview

This is a standalone educational data-science project, organized as a five-day sequence of Python scripts rather than a shared application. The main workflow loads the student scores, explores and visualizes performance, predicts average scores with regression, and classifies pass/fail outcomes; a final script summarizes results and compares model use cases. The scripts independently reload the CSV, so the graph does not imply that one script invokes another. Edges reflect the shown code or README; the Kaggle download script reports a downloaded path but is not shown feeding the project CSV.

Main entry points: [`StudentsPerformance.csv`](https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/StudentsPerformance.csv) (Student scores CSV), [`csv data.py`](https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/csv%20data.py) (Dataset downloader), [`day1_data_loading_and_exploration.py`](https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/day1_data_loading_and_exploration.py) (Load and inspect), [`day2_analysis_and_visualization.py`](https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/day2_analysis_and_visualization.py) (Score analysis and charts)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data access"]
  node_download["Dataset downloader<br/>[csv data.py]"]
  node_csv[("Student scores CSV")]
end

subgraph group_analysis["Exploration"]
  node_load["Load and inspect"]
  node_eda["Score analysis and charts"]
end

subgraph group_models["Prediction and summary"]
  node_regression["Average-score regression"]
  node_classification["Pass/fail classification"]
  node_summary["Project summary"]
end

node_analyst(("Project user"))
node_kaggle["Kaggle dataset"]

node_analyst -->|"downloads data"| node_download
node_download -->|"requests dataset"| node_kaggle
node_analyst -->|"runs analysis"| node_load
node_analyst -->|"runs analysis"| node_eda
node_analyst -->|"runs prediction"| node_regression
node_analyst -->|"runs classification"| node_classification
node_analyst -->|"reviews results"| node_summary
node_load -->|"reads"| node_csv
node_eda -->|"reads"| node_csv
node_regression -->|"reads"| node_csv
node_classification -->|"reads"| node_csv
node_summary -->|"reads"| node_csv

click node_download "https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/csv%20data.py"
click node_csv "https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/StudentsPerformance.csv"
click node_load "https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/day1_data_loading_and_exploration.py"
click node_eda "https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/day2_analysis_and_visualization.py"
click node_regression "https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/day3_machine_learning_and_prediction.py"
click node_classification "https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/day4_pass_fail_classification.py"
click node_summary "https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/day5_project_summary_and_conclusion.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_download,node_csv,node_analyst toneBlue
class node_load,node_eda toneAmber
class node_regression,node_classification,node_summary toneMint
class node_kaggle toneIndigo
```

## Components

### Data access

- [Dataset downloader](https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/csv%20data.py): `csv data.py`
- [Student scores CSV](https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/StudentsPerformance.csv): `StudentsPerformance.csv`

### Exploration

- [Load and inspect](https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/day1_data_loading_and_exploration.py): `day1_data_loading_and_exploration.py`
- [Score analysis and charts](https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/day2_analysis_and_visualization.py): `day2_analysis_and_visualization.py`

### Prediction and summary

- [Average-score regression](https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/day3_machine_learning_and_prediction.py): `day3_machine_learning_and_prediction.py`
- [Pass/fail classification](https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/day4_pass_fail_classification.py): `day4_pass_fail_classification.py`
- [Project summary](https://github.com/rhussain4072429-blip/student_performance_analysis/blob/master/day5_project_summary_and_conclusion.py): `day5_project_summary_and_conclusion.py`

### Other components

- **Project user**
- **Kaggle dataset**

## Connections

- Project user → Dataset downloader: downloads data (evidence: `csv data.py`)
- Dataset downloader → Kaggle dataset: requests dataset (evidence: `csv data.py`)
- Project user → Load and inspect: runs analysis (evidence: `README.md`)
- Project user → Score analysis and charts: runs analysis (evidence: `README.md`)
- Project user → Average-score regression: runs prediction (evidence: `README.md`)
- Project user → Pass/fail classification: runs classification (evidence: `README.md`)
- Project user → Project summary: reviews results (evidence: `README.md`)
- Load and inspect → Student scores CSV: reads (evidence: `day1_data_loading_and_exploration.py`)
- Score analysis and charts → Student scores CSV: reads (evidence: `day2_analysis_and_visualization.py`)
- Average-score regression → Student scores CSV: reads (evidence: `day3_machine_learning_and_prediction.py`)
- Pass/fail classification → Student scores CSV: reads (evidence: `day4_pass_fail_classification.py`)
- Project summary → Student scores CSV: reads (evidence: `day5_project_summary_and_conclusion.py`)
