To forecast the daily electricity consumption with weather data (daily temperature ranges and precipitation).
- Clone this repository.
git clone https://github.com/Gaurav0502/electricity-forecasting.git
- Install all packages in the requirements.txtfile.
pip install -r requirements.txt
- Download and store all the three datasets from following sources:
- 
Electricity dataset: https://archive.ics.uci.edu/dataset/321/electricityloaddiagrams20112014 
- 
Weather dataset: https://www.kaggle.com/datasets/gauravpendharkar/portuguese-weather-data-from-2011-to-2014 
- Ensure the all the data and code files have the directory structure as follows:
.
βββ README.md
βββ clustering.ipynb
βββ clusters.json
βββ data
β   βββ LD2011_2014.txt
β   βββ lisbon_precip_2011-2014.csv
β   βββ lisbon_temp_2011-2014.csv
βββ eda.ipynb
βββ model.py
βββ modelling.ipynb
βββ preprocess.py
βββ requirements.txt
Electricity: https://archive.ics.uci.edu/dataset/321/electricityloaddiagrams20112014
Weather: https://www.ipma.pt/en/oclima/series.longas/list.jsp