ABSTRACT
Smartphones with embedded Global Positioning System (GPS) technology provide an opportunity to passively collect individuals’ travel trajectory data, which can be utilized to identify critical aspects of travel behavior such as transport modes. This paper presents a mode detection algorithm developed to infer modes from smartphone GPS data. The algorithm is designed to classify single-mode trip segments into one of six modes. There are 31 features selected for the algorithm, which are divided into two categories: general features and transit-specific features. General features are needed to classify all available modes. Transit-specific features representing proximity to the nearest transit lines enhance the classification of the three transit modes. Four tree-based ensemble learning models are evaluated: Random Forest (RF), Gradient Boosting Decision Tree (GBDT), eXtreme Gradient Boosting (XGBoost), and Light Gradient Boosting Machine (LightGBM). The results show that LightGBM performs the best in terms of detection accuracy and computation time.
Disclosure statement
No potential conflict of interest was reported by the author(s).