Tharunp2431/weather-forecasting
๐ค๏ธ Weather Prediction with Hybrid Deep Learning Models
MSc Deep Learning Applications (CMP-L016) โ Project #28 Author: Tharun Bisai
Overview
This project investigates hybrid deep learning architectures for short-term temperature forecasting using the Jena Climate dataset (2009โ2022). We compare LSTM, TCN, TCN-LSTM hybrid, and stacking ensemble approaches.
Models
Quick Start
1. Install Dependencies
pip install -r requirements.txt2. Run Training (Colab)
Upload notebooks/Tharun_ML2.ipynb to Google Colab and run all cells.
3. Run Evaluation
Upload notebooks/Tharun_ML3.ipynb to Colab (after M2 finishes).
4. Launch Dashboard
๐ Live Cloud Deployment: ๐ [weather-tcn-forecasting.streamlit.app](https://weather-tcn-forecasting.streamlit.app)
To run legally/locally:
streamlit run app.pyProject Structure
โโโ app.py # Streamlit web dashboard
โโโ requirements.txt # Python dependencies
โโโ notebooks/
โ โโโ Tharun_ML1.ipynb # Data exploration
โ โโโ Tharun_ML2.ipynb # Model training
โ โโโ Tharun_ML3.ipynb # Evaluation & analysis
โโโ docs/
โ โโโ Tharunbisai_FinalReport.md # IEEE report
โโโ data/raw/ # Dataset (not tracked)
โโโ outputs/
โ โโโ figures/ # Generated plots
โ โโโ models/ # Saved weights (.pt)
โ โโโ results/ # JSON results
โโโ src/models/hybrid.py # Model class definitionsDataset
Jena Climate Dataset โ Max Planck Institute for Biogeochemistry 14 meteorological features, hourly resolution, 2009โ2022
Results
- Best model: Stacking Ensemble (MSE ~0.0043)
- Best standalone: LSTM (MSE ~0.0044)
- Fastest training: TCN (24 epochs vs 84 for LSTM)
Tech Stack
Python 3.10+ โข PyTorch โข Streamlit โข Plotly โข scikit-learn
License
Academic use only โ MSc coursework submission.
