Ensemble Bagging in Binary Logistic Regression for Transportation Mode Selection

Nuzulul Laili Nabila, Sobri Abusini, Umu Sa'adah

Abstract


This study examines train versus bus transportation mode choice on the Malang–Blitar route using binary logistic regression combined with ensemble bagging. Data from 100 respondents were analyzed using 80% for training and 20% for testing with k-fold cross-validation. Variables included travel cost differences, time, safety, comfort, and ease of access. Bagging was selected over other ensemble methods due to its effectiveness in reducing variance and overfitting with small datasets. Results showed the standard logistic regression achieved 85% accuracy on test data, while ensemble bagging with 200 replications improved accuracy to 90.83% (confidence interval: 90.379%–91.187%). McNemar’s test confirmed a statistically significant improvement (p < 0.01). Under equivalent conditions, 20.6% of respondents preferred trains while 79.4% chose buses. Ease of access emerged as the primary decision factor, outweighing cost and time considerations. The optimal replication number was 200; exceeding 300 replications decreased model performance. This research contributes an optimized ensemble methodology for transportation mode prediction in developing countries, demonstrating that accessibility infrastructure significantly influences passenger preferences over traditional economic factors.


Keywords


Binary Logistic Regression; Bagging; Bus; Train; Transportation Mode Selection

Full Text:

PDF

References


[1] R. Maulana and M. H. Yudhistira. “Socio-Economic Factors Affecting The Choice Of Transportation Mode In Jakarta Metropolitan Area”. Jurnal Pembangunan Wilayah dan Kota 16.4 (2020), pp. 1245–1252. DOI: https://doi.org/10.14710/pwk.v16i4.32222.

[2] C. Banyong et al. “A machine learning comparison of transportation mode changes from high-speed railway promotion in Thailand”. Results in Engineering 24.103110 (2024), pp. 1–17. DOI: https://doi.org/10.1016/j.rineng.2024.103110.

[3] T. Cao, X. Song, and J. Wang. “A Comparison of the Effectiveness of Techniques for Predicting Binary Dependent Variables”. 2022 21st International Symposium on Communications and Information Technologies, ISCIT 2022 (2022), pp. 160–165. DOI: https://doi.org/10.1109/ISCIT55906.2022.9931323.

[4] X. Cai, Q. Jin, and W. Zhang. “Traffic Flow Prediction: A Method Using Bagging-Based Ensemble Learning Model”. Science Journal of Applied Mathematics and Statistics 12.5 (2024), pp. 72–79. DOI: https://doi.org/10.11648/j.sjams.20241205.11.

[5] A. Brenner, M. Wu, and S. Amin. “Interpretable Machine Learning Models for Modal Split Prediction in Transportation Systems”. IEEE Conference on Intelligent Transportation Systems, Proceedings, ITSC (2022), pp. 901–908. DOI: https://doi.org/10.1109/ITSC55140.2022.9921938.

[6] N. Fahriza et al. “Travel Mode Choice Modeling: Predictive Efficacy between Machine Learning Models and Discrete Choice Model”. The Open Transportation Journal 15 (2021), pp. 241–255. DOI: https://doi.org/10.2174/18744478021150102.

[7] P. Wang, Z. Dong, and J. Tang. “Modelling Intercity Travel Mode Choice Behavior Based on the Logistic Regression Stacking Fusion Algorithm”. 7th IEEE International Conference on Transportation Information and Safety, ICTIS 2023 (2023), pp. 2236–2242. DOI: https://doi.org/10.1109/ICTIS60134.2023.10243830.

[8] X. Zhao, X. Yan, and P. Van Hentenryck. “Prediction and behavioral analysis of travel mode choice: A comparison of machine learning and logit models”. Travel Behaviour and Society 20 (2020), pp. 22–35. DOI: https://doi.org/10.1016/j.tbs.2020.02.003.

[9] J. Á. Martín-Baos, 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 156 (2021), pp. 1–44. DOI: https://doi.org/10.1016/j.trc.2023.104318.

[10] H. Naseri, E. O. D. Waygood, and Z. Patterson. “Application of Machine Learning to Child Mode Choice with a Novel Technique to Optimize Hyperparameters”. International Journal of Environmental Research and Public Health 19.24 (2022), pp. 1–19. DOI: https://doi.org/10.3390/ijerph192416844.

[11] H. Chen and Y. Cheng. “Travel Mode Choice Prediction Using Imbalanced Machine Learning”. IEEE Transactions on Intelligent Transportation Systems 24.4 (2023), pp. 3795–3808. DOI: https://doi.org/10.1109/TITS.2023.3237681.

[12] V. Kotenko. “Application of algorithmic models of machine learning to the freight transportation process”. Transport Technologies 2022.2 (2022), pp. 10–21. DOI: https://doi.org/10.23939/tt2022.02.010.

[13] J. J. M. D’Cruz, A. P. Alex, and V. S. Manju. “Mode Choice Analysis Of School Trips Using Random Forest Technique”. Archives of Transport 63.3 (2022), pp. 39–48. DOI: https://doi.org/10.5604/01.3001.0015.9175.

[14] D. W. Hosmer, S. Lemeshow, and R. X. Sturdivant. Applied Logistic Regression. Wiley, 2013.

[15] S. Burhan and A. Kresna Jaya. “Penaksiran Parameter Regresi Linier Logistik dengan Metode Maksimum Likelihood Lokal pada Resiko Kanker Payudara di Makassar”. Jurnal Matematika, Statistika, dan Komputasi 14.2 (2018), pp. 159–165. DOI: https://doi.org/10.20956/jmsk.v14i2.3556.

[16] R. Ramandhani and D. Safitri. “Metode Bootstrap Aggregating Regresi Logistik Biner Untuk Ketepatan Klasifikasi Kesejahteraan Rumah Tangga Di Kota Pati”. Jurnal Gaussian 6.1 (2017), pp. 121–130. DOI: https://doi.org/10.14710/j.gauss.6.1.121-130.

[17] L. Anisa and N. A. K. Rifai. “Analisis Regresi Logistik Biner dengan Metode Penalized Maximum Likelihood pada Penyakit Covid-19 di RSUD Pringsewu”. Jurnal Riset Statistika (2022), pp. 129–136. DOI: https://doi.org/10.29313/jrs.v2i2.1425.

[18] Z. Sanchez-Varela, D. Boullosa-Falces, and M. A. Gomez-Solaeche. “Prediction of loss of position during dynamic positioning drilling operations using binary logistic regression modeling”. Journal of Marine Science and Engineering 9 (2021), pp. 1–18. DOI: https://doi.org/10.3390/jmse9020139.

[19] L. A. Yates, S. A. Richards, and B. W. Brook. “Cross validation for model selection: A review with examples from ecology”. Ecological Monographs 93.1 (2023), pp. 1–24. DOI: https://doi.org/10.1002/ecm.1557.

[20] L. Maretva Cendani and A. Wibowo. “Perbandingan Metode Ensemble Learning pada Klasifikasi Penyakit Diabetes”. Jurnal Masyarakat Informatika 13.1 (2022), pp. 33–44. DOI: https://doi.org/10.14710/jmasif.13.1.42912.

[21] A. Efendi, R. Fitriani, and B. Rahayudi. “Ensemble Adaboost In Classification And Regression Trees To Overcome Class Imbalance In Credit Status Of Bank Customers”. Journal of Theoretical and Applied Information Technology 98.17 (2020), pp. 3428–3437.

[22] A. I. Marqués, V. García, and J. S. Sánchez. “Exploring the behaviour of base classifiers in credit scoring ensembles”. Expert Systems with Applications 39.11 (2012), pp. 10244–10250. DOI: https://doi.org/10.1016/j.eswa.2012.02.092.

[23] J. Wang, F. Li, and J. Liang. “RSS-Bagging: Improving Generalization Through the Fisher Information of Training Data”. IEEE Transactions on Neural Networks and Learning Systems 36.2 (2025), pp. 1974–1988. DOI: https://doi.org/10.1109/TNNLS.2023.3270559.

[24] S. Innassuraiya, T. Widiharih, and I. T. Utami. “Analisis Klasifikasi Menggunakan Metode Regresi Logistik Biner Dan Bootstrap Aggregating Classification And Regression Trees (Bagging Cart) (Studi Kasus: Nasabah Koperasi Simpan Pinjam Dan Pembiayaan Syariah (KSPPS))”. Jurnal Gaussian 11.2 (2022), pp. 183–194. DOI: https://doi.org/10.14710/j.gauss.v11i2.35458.

[25] M. Raihan-Al-Masud and M. Rubaiyat Hossain Mondal. “Data-driven diagnosis of spinal abnormalities using feature selection and machine learning algorithms”. PLoS One 15.2 (2020), pp. 1–21. DOI: https://doi.org/10.1371/journal.pone.0228422.

[26] D. Liana Wella Putri and S. Mariani. “Peningkatan Ketepatan Klasifikasi Model Regresi Logistik Biner dengan Metode Bagging (Bootstrap Aggregating)”. Indonesian Journal of Mathematics and Natural Sciences 44.2 (2021), pp. 61–72. DOI: https://doi.org/10.15294/ijmns.v44i2.33144.

[27] K. Tanaka. “Institute Of Developing Economies Transport Costs, Distance, And Time: Evidence From The Japanese Census Of Logistics”. IDE-JETRO 241 (2010), pp. 1–32.

[28] S. Xu, S. Zou, and F. Zeng. “Comparison of Different Approaches of Machine Learning Methods with Conventional Approaches on Container Throughput Forecasting”. Applied Sciences (Switzerland) 12.19 (2022), pp. 1–19. DOI: https://doi.org/10.3390/app12199730.




DOI: https://doi.org/10.18860/cauchy.v10i2.32241

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Nuzulul Laili Nabila, Sobri Abusini, Umu Sa'adah

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Editorial Office
Mathematics Department,
Maulana Malik Ibrahim State Islamic University of Malang
Gajayana Street 50 Malang, East Java, Indonesia 65144
e-mail: cauchy@uin-malang.ac.id

Creative Commons License
CAUCHY: Jurnal Matematika Murni dan Aplikasi is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.