Passenger Preference Modeling Toward Adaptive Public Transport Fare Recommendation Using a Discrete Choice Experiment and Machine Learning
Abstract
To inform public transport fares, estimates of passenger preferences need to predict choices reliably, make economic sense, and reflect income differences. This study examined these requirements to support future fare assessments using a publicly released stated-choice experiment involving 366 bus passengers in Hanoi, 3,660 binary choice cards, and 7,320 alternative records. The assessment covered predictions for unseen respondents, probability calibration, repeated preferences, fare monotonicity, and differences in prediction error across socioeconomic groups. Before modelling, the processed data were audited and ambiguous demographic codes were removed from the primary specification. Categorical attributes were kept without assuming equal spacing between categories. Four classifiers were tuned using grouped validation within five respondent-disjoint training partitions. They were compared with conditional logit, panel mixed logit, and a constrained gradient-boosted random utility benchmark. Choice probabilities were assessed at the choice-card level, with uncertainty estimated by resampling complete respondents. In the primary split, choice accuracy was 0.6757 for panel mixed logit, 0.6730 for gradient boosting, and 0.6635 for random forest. The gradient-boosting advantage over random forest was 0.0095, with a 95 percent confidence interval from −0.0041 to 0.0216. Despite comparable predictive performance, random forest and gradient boosting produced at least one upward fare response in 77.6 and 67.6 percent of tested alternative contexts, respectively; both constrained benchmarks produced none. Income-group accuracy differences remained uncertain, particularly in the smallest groups. These findings show that predictive ranking alone is insufficient for fare-policy use. The resulting contribution is a reproducible diagnostic framework for conditional preference prediction, not an operational pricing rule. Actual ridership responses, monetary welfare, affordability, and subsidy effects require revealed choices and operational records that are absent from this experiment.
Keywords
Full Text:
PDFReferences
L. Rodrigue, M. G. Badami, and A. El-Geneidy, “Evaluating the effects of fare characteristics on fare equity: A scoping review,” Journal of Public Transportation, vol. 27, art. 100140, 2025. [Online]. Available: https://doi.org/10.1016/j.jpubtr.2025.100140
M. Bruno, M. Kouwenberg, and N. van Oort, “Equity in transit fare policy: A literature review,” Transport Reviews, vol. 46, no. 3, pp. 525–546, 2026. [Online]. Available: https://doi.org/10.1080/01441647.2025.2601689
R. Brough, M. Freedman, and D. C. Phillips, “Eliminating fares to expand opportunities: Experimental evidence on the impacts of free public transportation on economic and social disparities,” American Economic Journal: Economic Policy, vol. 17, no. 3, pp. 1–34, 2025. [Online]. Available: https://doi.org/10.1257/pol.20230460
C. Aberle and C. Gertz, “Does a short journey get me to the food bank? An empirical study on fare-based public transport accessibility and its implications for social equity,” Journal of Transport Geography, vol. 128, art. 104348, 2025. [Online]. Available: https://doi.org/10.1016/j.jtrangeo.2025.104348
Y. Zhang and Z. Zhao, “Optimal dynamic pricing for public transportation considering consumer social learning,” PLOS ONE, vol. 19, no. 1, art. e0296263, 2024. [Online]. Available: https://doi.org/10.1371/journal.pone.0296263
X. Wu, K. Liu, D. Zhen, Y. Ji, Q. Cui, and C. Xiong, “Tradable Equity Credits (TECs) for public transit: A dynamic pricing approach for heterogeneous travelers,” Transportation Research Part E: Logistics and Transportation Review, vol. 211, art. 104858, 2026. [Online]. Available: https://doi.org/10.1016/j.tre.2026.104858
M. Huber, J. Meier, and H. Wallimann, “Business analytics meets artificial intelligence: Assessing the demand effects of discounts on Swiss train tickets,” Transportation Research Part B: Methodological, vol. 163, pp. 22–39, 2022. [Online]. Available: https://doi.org/10.1016/j.trb.2022.06.006
N. Paulley, R. Balcombe, R. Mackett, H. Titheridge, J. Preston, M. Wardman, J. Shires, and P. White, “The demand for public transport: The effects of fares, quality of service, income and car ownership,” Transport Policy, vol. 13, no. 4, pp. 295–306, 2006. [Online]. Available: https://doi.org/10.1016/j.tranpol.2005.12.004
Z. Li and D. A. Hensher, “Crowding and public transport: A review of willingness to pay evidence and its relevance in project appraisal,” Transport Policy, vol. 18, no. 6, pp. 880–887, 2011. [Online]. Available: https://doi.org/10.1016/j.tranpol.2011.06.003
Z. Li and D. A. Hensher, “Crowding in public transport: A review of objective and subjective measures,” Journal of Public Transportation, vol. 16, no. 2, pp. 107–134, 2013. [Online]. Available: https://doi.org/10.5038/2375-0901.16.2.6
J. de Oña and R. de Oña, “Quality of service in public transport based on customer satisfaction surveys: A review and assessment of methodological approaches,” Transportation Science, vol. 49, no. 3, pp. 605–622, 2015. [Online]. Available: https://doi.org/10.1287/trsc.2014.0544
T. T. D. Nguyen and M. H. Nguyen, “Is a fare-free policy sufficient for bus satisfaction among older persons? An empirical evidence from Hanoi, Vietnam,” Journal of Transport & Health, vol. 48, art. 102283, 2026. [Online]. Available: https://doi.org/10.1016/j.jth.2026.102283
K. Cummings, V. Vaze, Ö. Ergun, and C. Barnhart, “Multimodal transportation pricing alliance design: Large-scale optimization for rapid gains,” Transportation Science, vol. 59, no. 3, pp. 451–472, 2025. [Online]. Available: https://doi.org/10.1287/trsc.2023.0009
M. Hamurcu and T. Eren, “Strategic planning based on sustainability for urban transportation: An application to decision-making,” Sustainability, vol. 12, no. 9, art. 3589, 2020. [Online]. Available: https://doi.org/10.3390/su12093589
A. Kumar, G. Singh, and O. S. Vaidya, “A comparative evaluation of public road transportation systems in India using multicriteria decision-making techniques,” Journal of Advanced Transportation, vol. 2020, art. 8827186, 2020. [Online]. Available: https://doi.org/10.1155/2020/8827186
A. Romero-Ania, L. Rivero Gutiérrez, and M. A. De Vicente Oliva, “Multiple criteria decision analysis of sustainable urban public transport systems,” Mathematics, vol. 9, no. 16, art. 1844, 2021. [Online]. Available: https://doi.org/10.3390/math9161844
J. C. Pérez, M. H. Carrillo, and J. R. Montoya-Torres, “Multi-criteria approaches for urban passenger transport systems: A literature review,” Annals of Operations Research, vol. 226, no. 1, pp. 69–87, 2015. [Online]. Available: https://doi.org/10.1007/s10479-014-1681-8
C. A. T. Pham, D. A. Bui, and X. P. Nguyen, “Unlocking digital and social value in public transit: A discrete choice experiment with urban passengers,” Journal of Public Transportation, vol. 28, art. 100158, 2026. [Online]. Available: https://doi.org/10.1016/j.jpubtr.2026.100158
A. Bui Duc, “Bus_DCE_DIB_Data,” Mendeley Data, version 1, 2026. [Online]. Available: https://doi.org/10.17632/wrxc9jxc2g.1
A. Fonzone and L. Downey, “Preferences for choosing automated buses: A discrete choice experiment,” Transportation Research Procedia, vol. 95, pp. 1056–1063, 2026. [Online]. Available: https://doi.org/10.1016/j.trpro.2026.02.133
D. McFadden, “Conditional logit analysis of qualitative choice behavior,” in Frontiers in Econometrics, P. Zarembka, Ed. New York, NY, USA: Academic Press, pp. 105–142, 1974. [Online]. Available: https://eml.berkeley.edu/reprints/mcfadden/zarembka.pdf
J. J. Louviere, D. A. Hensher, and J. D. Swait, Stated Choice Methods: Analysis and Applications. Cambridge, UK: Cambridge University Press, 2000. [Online]. Available: https://doi.org/10.1017/CBO9780511753831
K. E. Train, Discrete Choice Methods with Simulation, 2nd ed. Cambridge, UK: Cambridge University Press, 2009. [Online]. Available: https://doi.org/10.1017/CBO9780511805271
D. A. Hensher, J. M. Rose, and W. H. Greene, Applied Choice Analysis, 2nd ed. Cambridge, UK: Cambridge University Press, 2015. [Online]. Available: https://doi.org/10.1017/CBO9781316136232
L. Breiman, “Random forests,” Machine Learning, vol. 45, pp. 5–32, 2001. [Online]. Available: https://doi.org/10.1023/A:1010933404324
J. H. Friedman, “Greedy function approximation: A gradient boosting machine,” The Annals of Statistics, vol. 29, no. 5, pp. 1189–1232, 2001. [Online]. Available: https://doi.org/10.1214/aos/1013203451
B. Sifringer, V. Lurkin, and A. Alahi, “Enhancing discrete choice models with representation learning,” Transportation Research Part B: Methodological, vol. 140, pp. 236–261, 2020. [Online]. Available: https://doi.org/10.1016/j.trb.2020.08.006
X. Zhao, X. Yan, A. Yu, and P. Van Hentenryck, “Prediction and behavioral analysis of travel mode choice: A comparison of machine learning and logit models,” Travel Behaviour and Society, vol. 20, pp. 22–35, 2020. [Online]. Available: https://doi.org/10.1016/j.tbs.2020.02.003
J. A. Martín-Baos, J. A. López-Gómez, L. Rodriguez-Benitez, T. Hillel, and R. García-Ródenas, “A prediction and behavioural analysis of machine learning methods for modelling travel mode choice,” Transportation Research Part C: Emerging Technologies, vol. 156, art. 104318, 2023. [Online]. Available: https://doi.org/10.1016/j.trc.2023.104318
M. I. Prasetiyowati, N. U. Maulidevi, and K. Surendro, “Feature selection to increase the random forest method performance on high dimensional data,” International Journal of Advances in Intelligent Informatics, vol. 6, no. 3, pp. 303–312, 2020. [Online]. Available: https://doi.org/10.26555/ijain.v6i3.471
M. I. Prasetiyowati, N. U. Maulidevi, and K. Surendro, “Determining threshold value on information gain feature selection to increase speed and prediction accuracy of random forest,” Journal of Big Data, vol. 8, art. 84, 2021. [Online]. Available: https://doi.org/10.1186/s40537-021-00472-4
M. I. Prasetiyowati, N. U. Maulidevi, and K. Surendro, “The accuracy of Random Forest performance can be improved by conducting a feature selection with a balancing strategy,” PeerJ Computer Science, vol. 8, art. e1041, 2022. [Online]. Available: https://doi.org/10.7717/peerj-cs.1041
W. Gata, M. Haris, M. I. Prasetiyowati, and S. Harianto, “EagleEyes: An artificial intelligence-based approach for automatic traffic violation detection using deep learning,” Journal of Applied Data Sciences, vol. 7, no. 1, pp. 277–289, 2026. [Online]. Available: https://doi.org/10.47738/jads.v7i1.1097
S. Govindaraju, M. Indirani, S. S. Maidin, and J. Wei, “Intelligent Transportation System’s machine learning-based traffic prediction,” Journal of Applied Data Sciences, vol. 5, no. 4, pp. 1826–1837, 2024. [Online]. Available: https://doi.org/10.47738/jads.v5i4.364
D. Mustafa, M. F. Al-Hammouri, and S. M. Khabour, “Severity prediction of road accidents in Jordan using artificial intelligence,” Journal of Applied Data Sciences, vol. 6, no. 2, pp. 1222–1239, 2025. [Online]. Available: https://doi.org/10.47738/jads.v6i2.624
C. Slamet, R. M. Imron, A. Wahana, D. S. Maylawati, W. B. Zulfikar, and M. A. Ramdhani, “Feature engineering for tropical rainfall forecasting using Random Forest and Support Vector Regression,” Journal of Applied Data Sciences, vol. 7, no. 1, pp. 715–728, 2026. [Online]. Available: https://doi.org/10.47738/jads.v7i1.1111
DOI: https://doi.org/10.47738/jads.v7i4.1584
Refbacks
- There are currently no refbacks.

Journal of Applied Data Sciences
| ISSN | : | 2723-6471 (Online) |
| Publisher | : | Bright Publisher |
| Website | : | http://bright-journal.org/JADS |
| : | taqwa@amikompurwokerto.ac.id (principal contact) | |
| support@bright-journal.org (technical issues) |
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0




.png)