journal article·2023-09-11Open access

Taxi Demand and Fare Prediction with Hybrid Models: Enhancing Efficiency and User Experience in City Transportation

Ka Seng Chou, Kei Long Wong, Boliang Zhang, Davide Aguiari, Sio Kei Im, Chan Tong Lam, Rita Tse, Su-Kit Tang, Giovanni Pau

Applied Sciences· Volume 13· Issue 18

Abstract

An essential part of a city’s transportation infrastructure, taxis allow for regular encounters between drivers and customers. Nevertheless, there are issues with efficiency since there is an imbalance in the supply and demand for taxis. This study describes the creation of a platform that serves both customers and taxi drivers by offering immediate forecasts of demand and fare. Root mean squared error (RMSE) of 3.31 and a negative log-likelihood of −3.84, the long short-term memory recurrent neural network (LSTM-RNN) with the mixture density network (MDN) is employed to forecast taxi demand. The best RMSE of 3.24 is obtained for fare prediction via an ensemble learning model that integrates linear regression (LR), ridge regression (RR), and multilayer perceptron (MLP). To ensure peak performance, the models are systematically created, implemented, trained, and improved. By integrating these models into a web application interface, the taxi service system offers a better overall user experience, which improves urban mobility.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Transportation and Mobility Innovations · Traffic Prediction and Management Techniques · Transportation Planning and Optimization

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Faculty of Applied Sciences, Macao Polytechnic University, Macao SAR 999078, China

Department of Computer Science and Engineering, University of Bologna, 40126 Bologna, Italy

Autonomous Robotics Research Center, Technology Innovation Institute (TII), Abu Dhabi P.O. Box 9639, United Arab Emirates

Macao Polytechnic University, Macao SAR 999078, China

Samueli Computer Science Department, University of California, Los Angeles, CA 90095, USA

References (37)

Show source-provided references
1. A Graph-Based Approach to Measuring the Efficiency of an Urban Taxi Service System10.1109/TITS.2016.2521862 ↗
2. Nonlinear pricing of taxi services10.1016/j.tra.2010.03.004 ↗
3. Demand, Supply, and Performance of Street-Hail Taxi10.1109/TITS.2019.2938762 ↗
4. Taxi fare prediction system using key feature extraction in artificial intelligence
5. Quantifying the benefits of vehicle pooling with shareability networks10.1073/pnas.1403657111 ↗
6. Contextualized Spatial–Temporal Network for Taxi Origin-Destination Demand Prediction10.1109/TITS.2019.2915525 ↗
7. Yamaki, S. (2021, March 30). Study on Taxi Demand Prediction Using Context and Spatio-Tamporal Data. Available online: https://core.ac.uk/download/pdf/288814152.pdf.
8. Grinberg, J., Jain, A., and Choksi, V. (2023, August 05). Predicting Taxi Pickups in New York City. Available online: http://www.vivekchoksi.com/papers/taxi_pickups.pdf.
9. Predicting taxi demands via an attention-based convolutional recurrent neural network10.1016/j.knosys.2020.106294 ↗
10. Taxi Dispatch with Real-Time Sensing Data in Metropolitan Areas: A Receding Horizon Control Approach10.1109/TASE.2016.2529580 ↗
11. Predicting Taxi–Passenger Demand Using Streaming Data10.1109/TITS.2013.2262376 ↗
12. Yuan, J., Zheng, Y., Zhang, L., Xie, X., and Sun, G. (2011, January 17–21). Where to find my next passenger. Proceedings of the 13th International Conference on Ubiquitous Computing, Beijing, China.10.1145/2030112.2030128 ↗
13. Taxi Demand Prediction Using Parallel Multi-Task Learning Model10.1109/TITS.2020.3015542 ↗
14. MLRNN: Taxi Demand Prediction Based on Multi-Level Deep Learning and Regional Heterogeneity Analysis10.1109/TITS.2021.3080511 ↗
15. Real-Time Prediction of Taxi Demand Using Recurrent Neural Networks10.1109/TITS.2017.2755684 ↗
16. Travel-Time Prediction with Support Vector Regression10.1109/TITS.2004.837813 ↗
17. Regulating taxi services in the presence of congestion externality10.1016/j.tra.2004.05.004 ↗
18. Antoniades, C., Fadavi, D., and Foba Amon, A. (2023, August 05). Fare and Duration Prediction: A Study of New York City Taxi Rides. Available online: http://cs229.stanford.edu/proj2016/report/AntoniadesFadaviFobaAmonJuniorNewYorkCityCabPricing-report.pdf.
19. Modelling Taxi Drivers’ Behaviour for the Next Destination Prediction10.1109/TITS.2019.2922002 ↗
20. Upadhyay, R., and Lui, S. (2023, August 05). Taxi Fare Rate Classification Using Deep Networks. Available online: https://www.researchgate.net/publication/324706525_Taxi_Fare_Rate_Classification_Using_Deep_Networks.
21. Visual Exploration of Big Spatio-Temporal Urban Data: A Study of New York City Taxi Trips10.1109/TVCG.2013.226 ↗
22. (2023, August 10). TLC Trip Record Data, Available online: https://www.nyc.gov/site/tlc/about/tlc-trip-record-data.page.
23. Predicting Taxi and Uber Demand in Cities: Approaching the Limit of Predictability10.1109/TKDE.2019.2955686 ↗
24. Shu, P., Sun, Y., Zhao, Y., and Xu, G. (2020, January 20–21). Spatial-temporal taxi demand prediction using LSTM-CNN. Proceedings of the 2020 IEEE 16th International Conference on Automation Science and Engineering (CASE), Hong Kong, China.10.1109/CASE48305.2020.9217007 ↗
25. Guo, X. (2020, January 23–27). Prediction of taxi demand based on CNN-BiLSTM-attention neural network. Proceedings of the Neural Information Processing: 27th International Conference, ICONIP 2020, Bangkok, Thailand.10.1007/978-3-030-63836-8_28 ↗
26. Taxi demand prediction based on CNN-LSTM-ResNet hybrid depth learning model
27. BERT-Based Deep Spatial-Temporal Network for Taxi Demand Prediction10.1109/TITS.2021.3122114 ↗
28. Li, Y., and Moura, J.M. (2019). Forecaster: A graph transformer for forecasting spatial and time-dependent data. arXiv.
29. A stepwise interpretable machine learning framework using linear regression (LR) and long short-term memory (LSTM): City-wide demand-side prediction of yellow taxi and for-hire vehicle (FHV) service10.1016/j.trc.2020.102786 ↗
30. Django (2023, August 05). The Web Framework for Perfectionists with Deadlines. Available online: https://www.djangoproject.com/.
31. Flask (2023, August 05). Welcome to Flask—Flask Documentation (2.3.x). Available online: https://flask.palletsprojects.com/en/2.3.x/.
32. (2023, August 05). Google Maps Platform-Location and Mapping Solutions. Available online: https://mapsplatform.google.com/.
33. (2023, August 05). ApexCharts.js—Open Source JavaScript Charts for Your Website. Available online: https://apexcharts.com/.
34. (2023, August 05). Chart.js|Open Source HTML5 Charts for Your Website. Available online: https://www.chartjs.org/.
35. Otto, M. (2023, August 05). Bootstrap. Available online: https://sites.google.com/view/bootstrap2022/.
36. Amazon (2023, August 05). Amazon Web Services (AWS)—Cloud Computing Services. Available online: https://pages.awscloud.com/AWS-Innovators-Amazon.html.
37. (2023, August 05). Deploying a Django Application to Elastic Beanstalk. AWS Elastic Beanstalk. Available online: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html.