Enhancing travel mode choice prediction with adjustable kernel SVM: a comparative analysis of machine learning models on imbalanced datasets

Mujahid Ali1
Elżbieta Macioszek2
1, 2Department of Transport Systems, Traffic Engineering and Logistics, Faculty of Transport and Aviation Engineering, Silesian University of Technology, Krasinskiego 8 Street, 40-019, Katowice, Poland
Corresponding Author: Mujahid Ali
Download PDF

Abstract

Analyzing travel mode choice (TMC), particularly for work-related trips, is vital to forecasting travel demand, promoting sustainable transportation, and developing policies. Cars have the highest percentage, causing TMC datasets imbalanced, posing challenges for effective analysis. Traditional methods such as discrete choice models are based on assumptions and typically handle binary regression and classification but struggle with multi-class regression, where TMC has multi-classes. Numerous Machine learning (ML) algorithms such as Support Vector Machine (SVM) commonly cater to binary classification; however, leveraging the adaptations of the theory of adjustable kernel scaling enables them to manage multi-class regression. Besides, other ML algorithms such as Naive Bayes (NB), Gradient Boost (GB), Random Forest (RF), and Neural Network (NN) are capable of handling multi-class. Therefore, this study introduces an adjustable kernel (SVMAK) approach, built on kernel scaling theory and SVM, to address imbalanced TMC data and compare the performance with standard SVM, and NB, GB, RF, and NN algorithms. Using data from the 2022 National Household Travel Survey (NHTS) – California, results show that among the ML models, NN achieved a high accuracy of 92 %, while SVMAK improved the standard SVM's accuracy from 90.2 % to 99.8 %, highlighting its ability to handle imbalanced datasets effectively and superior performance than traditional ML algorithms. This method holds potential for use in additional transportation planning applications involving unequal data distributions.

About this article

Received
December 3, 2024
Accepted
December 11, 2024
Published
November 27, 2026
Keywords
travel mode choice
machine learning
sustainable transportation
NHTS
Acknowledgements

The authors would like to thank Assistant Professor Muhammad Faisal Javed for helping and guiding in machine learning algorithms and thanks to the partners of Tech Reading Engineering Conference 2024 for free participation.