File size: 1,147 Bytes
71a4a95
 
 
 
 
 
 
 
 
 
 
 
bb6ef57
8ea8450
71a4a95
bb6ef57
71a4a95
bb6ef57
71a4a95
 
 
 
bb6ef57
71a4a95
bb6ef57
71a4a95
8ea8450
71a4a95
8ea8450
71a4a95
bb6ef57
71a4a95
bb6ef57
71a4a95
 
 
 
 
 
bb6ef57
71a4a95
bb6ef57
71a4a95
bb6ef57
71a4a95
bb6ef57
71a4a95
bb6ef57
71a4a95
 
bb6ef57
71a4a95
bb6ef57
71a4a95
bb6ef57
 
71a4a95
bb6ef57
71a4a95
bb6ef57
71a4a95
bb6ef57
71a4a95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
license: mit
tags:
- machine-learning
- air-quality
- aqi
- random-forest
- regression
- scikit-learn
library_name: scikit-learn
---

# ๐ŸŒ AQI Predictor

A machine learning model that predicts the **Air Quality Index (AQI)** using pollutant measurements.

The model was trained using air-quality data and uses four pollutant features:

- PM2.5
- PM10
- Carbon Monoxide (CO)
- Nitrogen Oxides (NO)

The trained model is saved as a Python `.pkl` file using `scikit-learn`.

## ๐Ÿค– Model

**Algorithm:** Random Forest Regressor

**Task:** AQI Regression

**Input Features:**

| Feature | Description |
|---|---|
| PM2.5 | Fine particulate matter |
| PM10 | Particulate matter |
| CO | Carbon monoxide |
| NO | Nitrogen oxide |

**Output:**

Predicted AQI value.

## ๐Ÿ“Š Model Performance

The model achieved approximately:

- **Rยฒ:** 0.89
- **RMSE:** ~22

Performance was evaluated on the project dataset. Results may vary depending on the data split and preprocessing procedure.

## ๐Ÿ”„ Prediction Pipeline

```text
Pollutant Measurements
        โ†“
PM2.5 | PM10 | CO | NO
        โ†“
Trained Random Forest Model
        โ†“
Predicted AQI