# Explainable Bus Arrival Time Prediction Model with Improved Features Related to Topography and Points of Interest
## Abstract
Accurate and reliable prediction of bus arrival times enhances passenger mobility experience. This study addresses a significant research gap by focusing on the complexities of predicting bus arrival times in heterogeneous
traffic conditions. Unlike conventional prediction models, this research identifies hidden features related to topographical and Points of Interest (POIs) data, recognizing their critical role
in reasoning. The methodology involves a two-fold approach, segmenting predictions into running time within a segment and dwell time at bus halts, using the multi-model ensemble
technique. The results indicate that incorporating the new features (5 topographical and 10 POIs-related) has improved model performance by a reduction in MAE of 1.37 seconds
(dwell time) and a decrease in MAPE by 0.7% (running time). While the enhancements in accuracy may appear modest, our focus lies on examining the influence of new features, offering
valuable insights into the factors that cause delays. Moreover, we developed a dashboard showcasing real-time bus arrival times and highlighting delay reasoning using explainable AI
techniques.
## Model Architecture
<img src="https://github.com/user-attachments/assets/22c5e216-66a8-48e0-a727-ac5043fd0198" alt="Model Architecture Diagram">
## Results
<div id="results" style= ""padding:15pt">
<h3> Performance of Running Time Prediction with and without Topographical and POIs Data </h3>
<table>
<tr>
<th>XGBoost Model</th>
<th>RMSE (s)</th>
<th>MAE (s)</th>
<th>MAPE (%)</th>
<th>R2</th>
</tr>
<tr>
<td>Without topographical & POIs features</td>
<td>57.55</td>
<td>37.19</td>
<td>23.11</td>
<td>0.76</td>
</tr>
<tr>
<td>With topographical & POIs (total 25 features)</td>
<td>57.14</td>
<td>36.64</td>
<td><b>22.06</b></td>
<td>0.76</td>
</tr>
<tr>
<td>With topographical & POIs (total 19 features)</td>
<td><b>56.99</b></td>
<td><b>36.56</b></td>
<td>22.12</td>
<td>0.76</td>
</tr>
</table>
<h3> Performance of Dwell Time Prediction with and without POIs Data </h3>
<table>
<tr>
<th>XGBoost Model</th>
<th>RMSE (s)</th>
<th>MAE (s)</th>
<th>R2</th>
</tr>
<tr>
<td>Without POIs features</td>
<td><b>38.13</b></td>
<td>19.77</td>
<td>0.14</td>
</tr>
<tr>
<td>Original features with total_poi_count</td>
<td>38.2</td>
<td><b>19.6</b></td>
<td>0.14</td>
</tr>
</table>
</div>
## Authors
- A.K. Warnakulasuriya - Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka
- C.D.R.M. Weerasinghe - Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka
- H.K.G.V.L. Wickramarathna - Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka
- Shiveswarran Ratneswaran - Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka
- Dr. Uthayasanker Thayasivam - Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka
Raw data
{
"_id": null,
"home_page": "https://github.com/kavindu-w/Explainable-Bus-Arrival-Time-Prediction-Model-with-Improved-Features-Related-to-Topography-and-POIs",
"name": "gps2topo-poi",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "Topolographical data, Elevation, Points of Interest, POI, GPS, Travel Time, Public Transit, Heterogeneous Traffic Conditions",
"author": "kavindu-w",
"author_email": "akwarnakulasuriya@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ab/b3/0d9e3a5c025598202f89d9ccc0789b8a5c9c4c74a0e1c0300526480025be/gps2topo_poi-0.1.1.tar.gz",
"platform": null,
"description": "# Explainable Bus Arrival Time Prediction Model with Improved Features Related to Topography and Points of Interest\r\n\r\n\r\n## Abstract\r\nAccurate and reliable prediction of bus arrival times enhances passenger mobility experience. This study addresses a significant research gap by focusing on the complexities of predicting bus arrival times in heterogeneous\r\ntraffic conditions. Unlike conventional prediction models, this research identifies hidden features related to topographical and Points of Interest (POIs) data, recognizing their critical role\r\nin reasoning. The methodology involves a two-fold approach, segmenting predictions into running time within a segment and dwell time at bus halts, using the multi-model ensemble\r\ntechnique. The results indicate that incorporating the new features (5 topographical and 10 POIs-related) has improved model performance by a reduction in MAE of 1.37 seconds\r\n(dwell time) and a decrease in MAPE by 0.7% (running time). While the enhancements in accuracy may appear modest, our focus lies on examining the influence of new features, offering\r\nvaluable insights into the factors that cause delays. Moreover, we developed a dashboard showcasing real-time bus arrival times and highlighting delay reasoning using explainable AI\r\ntechniques.\r\n\r\n## Model Architecture\r\n<img src=\"https://github.com/user-attachments/assets/22c5e216-66a8-48e0-a727-ac5043fd0198\" alt=\"Model Architecture Diagram\">\r\n\r\n## Results\r\n<div id=\"results\" style= \"\"padding:15pt\"> \r\n <h3> Performance of Running Time Prediction with and without Topographical and POIs Data </h3>\r\n <table>\r\n <tr>\r\n <th>XGBoost Model</th>\r\n <th>RMSE (s)</th>\r\n <th>MAE (s)</th>\r\n <th>MAPE (%)</th>\r\n <th>R2</th>\r\n </tr>\r\n <tr>\r\n <td>Without topographical & POIs features</td>\r\n <td>57.55</td>\r\n <td>37.19</td>\r\n <td>23.11</td>\r\n <td>0.76</td>\r\n </tr>\r\n <tr>\r\n <td>With topographical & POIs (total 25 features)</td>\r\n <td>57.14</td>\r\n <td>36.64</td>\r\n <td><b>22.06</b></td>\r\n <td>0.76</td>\r\n </tr>\r\n <tr>\r\n <td>With topographical & POIs (total 19 features)</td>\r\n <td><b>56.99</b></td>\r\n <td><b>36.56</b></td>\r\n <td>22.12</td>\r\n <td>0.76</td>\r\n </tr>\r\n </table> \r\n\r\n <h3> Performance of Dwell Time Prediction with and without POIs Data </h3>\r\n <table>\r\n <tr>\r\n <th>XGBoost Model</th>\r\n <th>RMSE (s)</th>\r\n <th>MAE (s)</th>\r\n <th>R2</th>\r\n </tr>\r\n <tr>\r\n <td>Without POIs features</td>\r\n <td><b>38.13</b></td>\r\n <td>19.77</td>\r\n <td>0.14</td>\r\n </tr>\r\n <tr>\r\n <td>Original features with total_poi_count</td>\r\n <td>38.2</td>\r\n <td><b>19.6</b></td>\r\n <td>0.14</td>\r\n </tr>\r\n \r\n </table> \r\n</div>\r\n\r\n## Authors\r\n\r\n- A.K. Warnakulasuriya - Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka\r\n- C.D.R.M. Weerasinghe - Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka\r\n- H.K.G.V.L. Wickramarathna - Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka\r\n- Shiveswarran Ratneswaran - Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka\r\n- Dr. Uthayasanker Thayasivam - Department of Computer Science and Engineering, University of Moratuwa, Sri Lanka\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python package to use GPS data of public transit routes and append topographical and Points of Interests (POI) related features.",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/kavindu-w/Explainable-Bus-Arrival-Time-Prediction-Model-with-Improved-Features-Related-to-Topography-and-POIs",
"Source": "https://github.com/kavindu-w/Explainable-Bus-Arrival-Time-Prediction-Model-with-Improved-Features-Related-to-Topography-and-POIs/tree/main/src/code/Feature_Extraction/gps2topo_poi"
},
"split_keywords": [
"topolographical data",
" elevation",
" points of interest",
" poi",
" gps",
" travel time",
" public transit",
" heterogeneous traffic conditions"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "abb30d9e3a5c025598202f89d9ccc0789b8a5c9c4c74a0e1c0300526480025be",
"md5": "a26087496036c95798c754faefb34ec7",
"sha256": "b66d542977ab243768dcd63058cc88a1aab007c4ecf41c0dbf9e4e0414d5a9eb"
},
"downloads": -1,
"filename": "gps2topo_poi-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "a26087496036c95798c754faefb34ec7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 13308,
"upload_time": "2024-08-01T09:11:01",
"upload_time_iso_8601": "2024-08-01T09:11:01.697517Z",
"url": "https://files.pythonhosted.org/packages/ab/b3/0d9e3a5c025598202f89d9ccc0789b8a5c9c4c74a0e1c0300526480025be/gps2topo_poi-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-01 09:11:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kavindu-w",
"github_project": "Explainable-Bus-Arrival-Time-Prediction-Model-with-Improved-Features-Related-to-Topography-and-POIs",
"github_not_found": true,
"lcname": "gps2topo-poi"
}