Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -9,4 +9,41 @@ app_file: app.py
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
+
Air Quality Prediction Model
|
13 |
+
This repository contains a machine learning model trained to predict air quality categories based on air quality index (AQI) values. The model takes AQI values of individual pollutants as input and predicts the overall air quality category, such as 'good', 'moderate', 'unhealthy', etc.
|
14 |
+
|
15 |
+
Dataset
|
16 |
+
The model was trained using the Global Air Pollution Dataset available on Kaggle. The dataset contains air quality data from various cities and countries, including AQI values for different pollutants.
|
17 |
+
|
18 |
+
Dataset Shape: (23035, 12)
|
19 |
+
Model Performance
|
20 |
+
Accuracy: 99.91%
|
21 |
+
Classification Report:
|
22 |
+
yaml
|
23 |
+
Copy code
|
24 |
+
precision recall f1-score support
|
25 |
+
|
26 |
+
0 1.00 1.00 1.00 1926
|
27 |
+
1 1.00 0.91 0.95 45
|
28 |
+
2 1.00 1.00 1.00 1841
|
29 |
+
3 1.00 1.00 1.00 405
|
30 |
+
4 1.00 1.00 1.00 333
|
31 |
+
5 0.93 1.00 0.97 57
|
32 |
+
|
33 |
+
accuracy 1.00 4607
|
34 |
+
macro avg 0.99 0.99 0.99 4607
|
35 |
+
weighted avg 1.00 1.00 1.00 4607
|
36 |
+
Usage
|
37 |
+
To use the model:
|
38 |
+
|
39 |
+
Install the required dependencies.
|
40 |
+
Load the trained model (hackathonrf.joblib).
|
41 |
+
Provide AQI values of individual pollutants as input.
|
42 |
+
Obtain the predicted air quality category.
|
43 |
+
Dependencies
|
44 |
+
scikit-learn
|
45 |
+
pandas
|
46 |
+
numpy
|
47 |
+
requests
|
48 |
+
Author
|
49 |
+
This model was developed by [Your Name].
|