File size: 1,618 Bytes
8f0ff83
 
 
 
 
 
 
 
 
 
 
f433346
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: HCC CSA April24 Hackathon
emoji: 🌍
colorFrom: pink
colorTo: purple
sdk: gradio
sdk_version: 4.28.3
app_file: app.py
pinned: false
---

Air Quality Prediction Model
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.

Dataset
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.

Dataset Shape: (23035, 12)
Model Performance
Accuracy: 99.91%
Classification Report:
yaml
Copy code
               precision    recall  f1-score   support

           0       1.00      1.00      1.00      1926
           1       1.00      0.91      0.95        45
           2       1.00      1.00      1.00      1841
           3       1.00      1.00      1.00       405
           4       1.00      1.00      1.00       333
           5       0.93      1.00      0.97        57

    accuracy                           1.00      4607
   macro avg       0.99      0.99      0.99      4607
weighted avg       1.00      1.00      1.00      4607
Usage
To use the model:

Install the required dependencies.
Load the trained model (hackathonrf.joblib).
Provide AQI values of individual pollutants as input.
Obtain the predicted air quality category.
Dependencies
scikit-learn
pandas
numpy
requests
Author
This model was developed by [Your Name].