Analyzing public transport delays using Machine Learning

Delays is a big factor when considering taking the public transportation or taking your own car. If delays were more predictable, more people would take the bus instead. This thesis results can be used to further develop more robust systems for predicting delays, thus, more people using the public t...

Full description

Bibliographic Details
Main Authors: Robertsson, Marcus, Hirvonen, Alexander
Format: Others
Language:English
Published: Högskolan i Halmstad, Akademin för informationsteknologi 2019
Subjects:
ai
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:hh:diva-39045
id ndltd-UPSALLA1-oai-DiVA.org-hh-39045
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-hh-390452019-05-15T06:35:18ZAnalyzing public transport delays using Machine LearningengRobertsson, MarcusHirvonen, AlexanderHögskolan i Halmstad, Akademin för informationsteknologiHögskolan i Halmstad, Akademin för informationsteknologi2019machine learningaipublic transportbus delayEngineering and TechnologyTeknik och teknologierDelays is a big factor when considering taking the public transportation or taking your own car. If delays were more predictable, more people would take the bus instead. This thesis results can be used to further develop more robust systems for predicting delays, thus, more people using the public transportation systems. This was done in collaboration with Hogia. Hogia is a company in Sweden that have their own solutions for calculating delays within public transportation. This thesis investigates if predictions using Machine Learning can improve Hogia’s predictions on bus delays. Python and various libraries are used for training and testing the Machine Learning model. The data available for this study was gathered and provided by Hogia. Raw data were analyzed and preprocessed to create and find features in it, and then used to train a Random Forest Regressor. The model’s predictions are analyzed with various measurements and then compared against their current solution, as well as the actual delays. The result of this study looks promising since only a small dataset of 30 days was used. Also, it gives an understanding of what features that can be of value when training a model. Even though the model’s predictions were in some cases far off compared to Hogia’s current solution due to outliers in the data, this study can be used for further research of utilizing Machine Learning for predicting delays. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:hh:diva-39045application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
topic machine learning
ai
public transport
bus delay
Engineering and Technology
Teknik och teknologier
spellingShingle machine learning
ai
public transport
bus delay
Engineering and Technology
Teknik och teknologier
Robertsson, Marcus
Hirvonen, Alexander
Analyzing public transport delays using Machine Learning
description Delays is a big factor when considering taking the public transportation or taking your own car. If delays were more predictable, more people would take the bus instead. This thesis results can be used to further develop more robust systems for predicting delays, thus, more people using the public transportation systems. This was done in collaboration with Hogia. Hogia is a company in Sweden that have their own solutions for calculating delays within public transportation. This thesis investigates if predictions using Machine Learning can improve Hogia’s predictions on bus delays. Python and various libraries are used for training and testing the Machine Learning model. The data available for this study was gathered and provided by Hogia. Raw data were analyzed and preprocessed to create and find features in it, and then used to train a Random Forest Regressor. The model’s predictions are analyzed with various measurements and then compared against their current solution, as well as the actual delays. The result of this study looks promising since only a small dataset of 30 days was used. Also, it gives an understanding of what features that can be of value when training a model. Even though the model’s predictions were in some cases far off compared to Hogia’s current solution due to outliers in the data, this study can be used for further research of utilizing Machine Learning for predicting delays.
author Robertsson, Marcus
Hirvonen, Alexander
author_facet Robertsson, Marcus
Hirvonen, Alexander
author_sort Robertsson, Marcus
title Analyzing public transport delays using Machine Learning
title_short Analyzing public transport delays using Machine Learning
title_full Analyzing public transport delays using Machine Learning
title_fullStr Analyzing public transport delays using Machine Learning
title_full_unstemmed Analyzing public transport delays using Machine Learning
title_sort analyzing public transport delays using machine learning
publisher Högskolan i Halmstad, Akademin för informationsteknologi
publishDate 2019
url http://urn.kb.se/resolve?urn=urn:nbn:se:hh:diva-39045
work_keys_str_mv AT robertssonmarcus analyzingpublictransportdelaysusingmachinelearning
AT hirvonenalexander analyzingpublictransportdelaysusingmachinelearning
_version_ 1719085682338562048