CoolFace
Apppublic

Amir-Ali/Air_Quality_Index_Prediction_Model

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
App README

๐ŸŒซ๏ธ Air Quality Prediction Dashboard

This is a complete machine learning project that predicts the Air Quality Index (AQI) using a trained Random Forest Regressor. The app is built using Streamlit and includes interactive EDA dashboards and a real-time prediction tool.


๐Ÿ“Œ Project Highlights

โœ… Predicts AQI (Air Quality Index) based on air pollutant concentrations โœ… Built-in Exploratory Data Analysis (EDA) with Seaborn and Matplotlib โœ… Clean and responsive Streamlit UI โœ… Final model: Random Forest Regressor โœ… Fully interactive interface with real-time prediction โœ… Suitable for academic, portfolio, or real-world use


๐Ÿ“‚ Dataset

  • โ€”Source: Air Quality Index
  • โ€”Target Column: AQI
  • โ€”Features Used:
  • โ€”CO
  • โ€”COโ‚‚
  • โ€”NOโ‚‚
  • โ€”SOโ‚‚
  • โ€”Oโ‚ƒ
  • โ€”PM2.5
  • โ€”PM10

๐Ÿ“Š App Features

FeatureDescription
๐Ÿ“– IntroductionOverview of the project, model, and dataset
๐Ÿ“ˆ EDA DashboardExplore statistics, distributions, and correlations
๐Ÿ”ฎ Predict AQIEnter pollutant values and get live AQI predictions
๐Ÿงน Clean TransitionsSwitching sections clears the previous content automatically

๐Ÿง  Tools & Models Used

  • โ€”โœ… Random Forest Regressor
  • โ€”โœ… Pandas, Scikit-learn
  • โ€”โœ… Seaborn, Matplotlib
  • โ€”โœ… Streamlit for building the web UI
  • โ€”โœ… Joblib for saving the compressed model and also loading the model

โ–ถ How to Run Locally

bash
# Step 1: Install dependencies
pip install -r requirements.txt

# Step 2: Run the Streamlit app
streamlit run app.py