A Comparative Analysis of RNN and SVM : Electricity Price Forecasting in Energy Management Systems

A trend in increasing electricity consumption and technological innovation has resulted in automated energy management systems. Forecasting movement of the electricity price with machine learning plays a role in the sustainability of these systems. The aim of the report is to compare two machine lea...

Full description

Bibliographic Details
Main Authors: Badal, Lee, Franzén, Sebastian
Format: Others
Language:English
Published: KTH, Skolan för elektroteknik och datavetenskap (EECS) 2019
Subjects:
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-259745
Description
Summary:A trend in increasing electricity consumption and technological innovation has resulted in automated energy management systems. Forecasting movement of the electricity price with machine learning plays a role in the sustainability of these systems. The aim of the report is to compare two machine learning methods, namely Recurrent Neural Network (RNN) with LSTM, and Support Vector Machine (SVM). The metric to evaluate is percentage in prediction accuracy, additionally statistical analysis is applied for further evaluation. The models are built and optimized on a single historic dataset from an Australian electricity market where the major influencing attributes are price, demand and time. The training and test set are split 80/20 whereas the training is done in 10 folds for cross validation. Results of the experiment show that the SVM-model had a slightly higher accuracy and a lower standard error of the mean. Differences were seen in sensitivity and specificity when applied to a confusion matrix. The conclusion made was that in this specific case, SVM outperformed RNN in prediction accuracy, however, there is room for improvement of both implementations of these methods which could lead to a different result. In regard to specificity and sensitivity the choice of an SVM or RNN would be highly dependent on the implementation of real-world application. === En trend i ökad elförbrukning och teknisk innovation har resulterat i automatiserade energiledningssystem. Prognos i förändringen av elpriser med maskininlärning spelar en roll för hållbarheten av dessa system. Syftet med denna rapport är att jämföra de två maskininlärningsmetoderna, Reccurent Neural Network (RNN) med LSTM och Support Vector Machine (SVM). De värden som utvärderas är procentenheter i förutsägbarhetsnoggrannhet där statistisk analys tillämpas för ytterligare utvärdering. Modellerna är byggda på historisk data från en australisk elmarknad där de väsentligaste egenskaperna är pris, efterfrågan och tid. Tränings- och testuppsättningen delas 80/20 och träningen görs med 10-delad korsvalidering. Resultaten från analysen visar att SVM-metoden hade en något högre noggrannhet och lägre standardfel. Från en diagnostisk beslutsmatris beräknades sensitivitet och specificitet, i dessa värden upptäcktes skillnader. Slutsatsen i vårt fall var att SVM är mer noggrann än RNN. Vi anser att utrymme för förbättring av båda modellerna finns, vilket kan leda till ett annat resultat. När det gäller sensitivitet och specificitet skulle valet av RNN eller SVM vara starkt beroende på tillämpningen av en verklig applikation.