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
id ndltd-UPSALLA1-oai-DiVA.org-kth-259745
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-kth-2597452019-09-25T04:24:12ZA Comparative Analysis of RNN and SVM : Electricity Price Forecasting in Energy Management SystemsengEn jämförande analys av RNN och SVM : Prognos för elpriser i energiledningssystemBadal, LeeFranzén, SebastianKTH, Skolan för elektroteknik och datavetenskap (EECS)KTH, Skolan för elektroteknik och datavetenskap (EECS)2019Computer and Information SciencesData- och informationsvetenskapA 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. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-259745TRITA-EECS-EX ; 2019:353application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
topic Computer and Information Sciences
Data- och informationsvetenskap
spellingShingle Computer and Information Sciences
Data- och informationsvetenskap
Badal, Lee
Franzén, Sebastian
A Comparative Analysis of RNN and SVM : Electricity Price Forecasting in Energy Management Systems
description 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.
author Badal, Lee
Franzén, Sebastian
author_facet Badal, Lee
Franzén, Sebastian
author_sort Badal, Lee
title A Comparative Analysis of RNN and SVM : Electricity Price Forecasting in Energy Management Systems
title_short A Comparative Analysis of RNN and SVM : Electricity Price Forecasting in Energy Management Systems
title_full A Comparative Analysis of RNN and SVM : Electricity Price Forecasting in Energy Management Systems
title_fullStr A Comparative Analysis of RNN and SVM : Electricity Price Forecasting in Energy Management Systems
title_full_unstemmed A Comparative Analysis of RNN and SVM : Electricity Price Forecasting in Energy Management Systems
title_sort comparative analysis of rnn and svm : electricity price forecasting in energy management systems
publisher KTH, Skolan för elektroteknik och datavetenskap (EECS)
publishDate 2019
url http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-259745
work_keys_str_mv AT badallee acomparativeanalysisofrnnandsvmelectricitypriceforecastinginenergymanagementsystems
AT franzensebastian acomparativeanalysisofrnnandsvmelectricitypriceforecastinginenergymanagementsystems
AT badallee enjamforandeanalysavrnnochsvmprognosforelpriserienergiledningssystem
AT franzensebastian enjamforandeanalysavrnnochsvmprognosforelpriserienergiledningssystem
AT badallee comparativeanalysisofrnnandsvmelectricitypriceforecastinginenergymanagementsystems
AT franzensebastian comparativeanalysisofrnnandsvmelectricitypriceforecastinginenergymanagementsystems
_version_ 1719258034027364352