This project forecasts the Air Quality Index (AQI) using historical data from Amravati, India. It uses the Facebook Prophet model for time series forecasting and visualizes actual vs. predicted AQI values.
- Real-time AQI data resampled to 15-minute intervals
- Time series forecasting with Facebook Prophet
- Visualization of predicted vs. actual AQI with training/test split
- Insights into PM2.5 levels vs WHO guidelines
- pandas
- matplotlib
- numpy
- prophet
- Source: IQAir - Amravati
The model forecasts AQI values and overlays real test data after the training period with a red vertical line to separate training and test.

-
Clone the repo
-
Install dependencies:
pip install -r requirements.txt
-
Run the notebook:
jupyter notebook aqi_pred.ipynb
- PM2.5 concentration reached over 4.2 times the WHO annual safe limit.
- AQI fluctuates frequently in short time windows, highlighting the importance of fine-grained prediction.
- Compare Prophet with other ML models (e.g. Random Forest, XGBoost, LSTM)
- Build a real-time AQI dashboard using Streamlit or Dash