edgBR / price-forecast

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PriceForecast

Description

This code is for the COMPLATT SmartWatt electricity price forecasting competition.

Logs

4/4/2016 - Used testModels_HourModels.R

5/4/2016 - Used testModels_HourModels.R

6/4/2016 - Used testModels_HourModels.R

7/4/2016 - Switched to testModels_HourModels_adjHrs.R. Uses adjacent hours when fitting. Added windspeed_sd for midday and evening models. Added temperature_sd for morning models. Combined saturday and sunday into weekend variable because was not significant and weekend categorical variable improved MAE in CV.

8/4/2016 - As above.

9/4/2016 - Started using genHourModelsForecasts_1day.R for one day ahead forecasts and old script for days 2 to 5.

10/4/2016 - As above

11/4/2016 - As above

12/4/2016 - As above

13/4/2016 - Fixed up one day forecast to use better DoW variables. Now using DoW5. In the 5 day forecast script, switched the training day for weather data forecasts from day 4 (produced smallest MAE for 5 day horizon). Really should train a separate model for each forecast day, but not enough time today. Will do tomorrow.

14/4/2016 - now training separate models for days 2, 3, 4 and 5 based on weather forecasts for those days. Doesn't seem to make too much of a difference to MAE results. It seems as though the D+5 model trained on D+1 data sometimes performs better, but it's likely that it can be way out if the weather forecast is way out. Hence, I still suspect training the D+5 model on D+5 data is better, as it stops really bad prediction days from happening.

CV should probably be shifted to a 1 day horizon.

15/4/2016 - As above, but fixed a bug in the genHourModelsForecasts.R script. Day 5 was using day 4 model due to a typo.

16/4/2016 - As above

17/4/2016 - As above. Done!!!!

Result

Came 20th. 200 teams registered, 80 competed and 60 finished. So ok result but nothing impressive. Next time I'll feel justified using more advanced techniques! Xgboost here I come!

About

License:MIT License


Languages

Language:R 91.3%Language:Python 8.7%