Next Article in Journal
Mapping Cropland Abandonment in Mountainous Areas Using an Annual Land-Use Trajectory Approach
Next Article in Special Issue
An Analytical Model for the Many-to-One Demand Responsive Transit Systems
Previous Article in Journal
Social Life Cycle Assessment of Brine Treatment in the Process Industry: A Consequential Approach Case Study
Previous Article in Special Issue
College Students’ Shared Bicycle Use Behavior Based on the NL Model and Factor Analysis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Random Forest Model for Travel Mode Identification Based on Mobile Phone Signaling Data

Intelligent Transportation System Research Center, Southeast University, Nanjing 210000, China
*
Author to whom correspondence should be addressed.
Sustainability 2019, 11(21), 5950; https://doi.org/10.3390/su11215950
Submission received: 14 August 2019 / Revised: 18 October 2019 / Accepted: 20 October 2019 / Published: 25 October 2019

Abstract

:
Identifying and detecting the travel mode and pattern of individual travelers is an important problem in transportation planning and policy making. Mobile-phone Signaling Data (MSD) have numerous advantages, including wide coverage and low acquisition cost, data stability and reliability, and strong real-time performance. However, due to their noisy and temporally irregular nature, extracting mobility information such as transport modes from these data is particularly challenging. This paper establishes a travel mode identification model based on the MSD combined with residents’ travel survey data, Geographic Information System (GIS) data, and navigation data. Using the data obtained from Kunshan, China in 2017, enriched with variables on the travel mode identification, the model achieved a high accuracy of 90%. The accuracy is satisfactory for all of the transport modes other than buses. Furthermore, among the explanatory variables such as the built environment factors (e.g., the coverage rate of a bus stop) are in general more significant, in contrast with other attributes. This indicates that the land use functions are more influential on the travel mode selection as well as the level of travel demand.

1. Introduction

Traffic demand forecasting is well recognized to be a cornerstone of urban traffic planning. Predicting urban traffic demand is of great significance for the proper management and control of urban transport systems. Existing methods for traffic demand forecasting (e.g., traffic assignment models) heavily rely on the estimation of the travel demand in different travel modes. However, it is not a straightforward task to accurately predict the demand in a multimodal transport system, due to its highly complex nature. Herein, a key hurdle is that the operation of transport system and the temporal/spatial fluctuations of traffic flows are not detectable. In the era of big data, however, mobile-phone Signaling Data (MSD) has provided a good aid for the dynamic detection of traffic flows in the entire multimodal transport system. We particularly focus on travel mode identification, mainly due to the following two reasons: (1) Understanding the travel modes people take is the key to travel behavior studies [1]; (2) The process of travel mode detection often involves data cleaning, segmentation, and inference, which are common to many motilities and urban planning applications. Some recent studies on the analysis of MSD only focus on the broad spectrum of their applications [2] (including social network analysis, mobility analysis, event detection, and urban planning), and the topic addressed in this paper is not thoroughly discussed. This paper thus focuses on identifying the travel demand of each mobile-phone user based on multiple types of data, which is a strong basis for urban travel demand forecasting.

1.1. Literature Review

When it comes to the research of travel mode identification, there seems to be a preference for using rule-based methods [3,4] and fuzzy logic systems [5]. Some studies also use supervised learning methods such as random forests. Rule-based methods extract the features in specific data sources and identify different modes by setting a corresponding threshold. However, this method struggles with low generalizability as rules obtained from one city may not be so applicable to another city due to various reasons. In addition, the simplicity and comprehensibility of this method mean that the derived parameters for each city must be feasible (length or average distance for each travel, for example). Fuzzy logic (FL) systems are powerful predictive models as they can handle uncertainty and vagueness in a way that is understandable by humans. However, FL is mostly subjective because the success of a fuzzy expert system lies in proper selection of its functions and parameters, which is usually done manually [1]. And the other drawback of FL systems is that these rules tend not to take into account inter-variable correlation, and as the rules are generated using experts’ understanding of the field, any class (mode) additions to the mode would be extremely costly. So due to certain limitations for setting rules and algorithms in programs, some studies have turned to machine learning methods instead. And random forest is one of the most commonly used methods. Bolbol et al. (2012) estimated travel modes with 88% accuracy using the Support Vector Machine (SVM) classification methods [6,7]. Jahangiri et al. (2015) carried out a comparative study using different supervised learning methods from the field of machine learning to develop multiclass classifiers [8]. The study concluded that RF (Random Forest) and SVM methods produced the best performance. Bantis et al. (2017) used dynamic Bayesian Networks to explore the impact of incorporating both environmental and individual characteristics of travelers in the task of travel mode detection [9].
A crucial factor in the accuracy of machine learning models is feature extraction, which determines the upper-bound of their performance [10]. Zhou (2017) used the velocity statistical feature quantity, acceleration statistical feature quantity, direction change rate, and travel feature quantity to distinguish each travel mode [3]. Silanowicka et al. (2016) used various characteristic parameters like the average speed, average distance, frequency, gender, and age, in combination with background spatial information of traffic routes to differentiate travel modes [11]. Despite most features used in travel mode identification studies being limited to distance, time, speed, etc., the spatial and temporal characteristics of the trajectory of various travel modes are often associated with disturbances, resulting in reduced recognition accuracy.
Another essential consideration for travel mode identification is the data quality. For instance, the traditional four-step approach (Trip Generation, Trip Distribution, Mode Choice, and Route Choice) is widely used in the existing software packages/tools for transport system analysis and flow predictions [12]; the four-step approach highly relies on the residents’ survey data. However, due to the high cost, small sample size, and long update cycle of collecting survey data, the accuracy of the four-step approach is inherently undermined by the low data quality. In view of the limitation, using high-quality automatically collected big data is a new trend in travel mode identification. Feng and Timmermans (2016) detected travel modes and activities using 142 days of GPS data from 32 volunteers [13]. In their method, four travel modes were classified based on empirical values of median speed, average speed, maximum speed, and standard deviation of speed. This method based on GPS data offers apparent advantages over traditional methods, as it requires less effort from the respondents, provides greater spatial and temporal precision and detail, and reduces the labor and time costs for the researcher [14].
However, GPS-based methods commonly rely on data from a small number of volunteers and are, therefore, not suitable for estimating mode shares on a large-scale [15]. Apart from the GPS data, Hu and Song (2015) analyzed personal travel behavior using features from smartphone sensors [16]. Though this kind of data can provide accurate speed and acceleration at a low cost, the feature extraction is difficult to perform [17,18]. With the rapid development in telecommunication networks, MSD has been recently used in mode identification because it can produce a huge amount of information regarding how people (with their mobile devices) move and behave over space and time. While GPS data and smartphone sensors data, typically collected by smartphone apps, are restricted to rather small samples of the population, MSD are routinely collected by mobile network operators. It has full temporal coverage with comparatively low costs, potentially allowing us to analyze the travel behaviors and social interactions of the whole population. Therefore, recent years have seen an increasing interest in using such data for human mobility studies [19]. The recognized travel modes of users can then be used in different ways, such as improving traffic survey methods, developing safety applications, providing traveler information, etc. Table 1 below summarizes the advantages and disadvantages of these four data sets.

1.2. Objectives and Contributions

This study aims to establish a travel mode identification model based on mobile signaling data, combined with residents’ travel survey data, Geographic Information System (GIS) data, and navigation data. Though systematic reviews of studies on travel mode identification highlight that machine learning methods are widely applied to this topic, they are unable to provide recognition accuracy in complex environments because the selected features are limited to spatial and temporal characteristics like distance, time, and speed. Recently, the application of MSD in solving traffic planning problem has been gaining popularity among researchers, but its use in mode identification is still limited. How to extract rich features and get tagged data are some of the difficulties that persist [20,21]. To sum up, the contributions of this paper are threefold: (1) A travel path map matching method based on base station and road network intersection is proposed to obtain the spatial-temporal characteristics of the trajectory; (2) A travel mode label sample acquisition method based on the residents’ travel survey data is proposed. The travel labels of partial mobile phone track samples can be obtained by matching the residents’ travel survey data with travel track data of the mobile phone; (3) Multivariate data like MSD, residents’ travel survey data, and data collected from AMAP, which is a web map, navigation, and location-based services provider in China, are used to extract features. The study takes into account personal attributes and environmental characteristics of traffic facilities that are seldom used in the existing studies, while combining the navigation information to improve the performance of the proposed model in the complex traffic systems.
The remainder of this paper is organized as follows: Section 2 introduces the methodology, including map matching based on MSD, the sample label acquisition method based on the residents’ travel survey data, feature extraction and selection, and the model establishment and evaluation. Section 3 presents the difficulties in data processing and application used in the paper while considering Kunshan City, China as an example location to introduce data characteristics. Section 4 conducts a case study to implement a random forest model for travel model identification and analyze the identification results. Finally, Section 5 concludes this study and suggest future research directions.

2. Methodology

2.1. Problem Description

The main objective of pattern recognition is to assure that the classification results are consistent with reality, while keeping the error rate as low as possible. Generally, the basic framework of pattern recognition can be divided into five parts, namely the acquisition of original data, data pre-processing, feature extraction and selection, classifier design, and the final classification. Apart from data, feature extraction and classifier design are also important factors affecting the recognition accuracy.
Feature extraction is based on data pre-processing. Through the analysis of the characteristics, the features that directly or indirectly exhibit similarity and difference between categories are extracted. The extraction of features will directly affect the accuracy of the classification results.
In existing literature, many scholars have extracted various features for travel mode identification. Stenneth et al. (2011) used average speed, average distance, frequency, gender, and age as characteristic parameters to classify the travel mode. Also, background information of traffic routes and travel information of travelers are included in their model [22]. Wang and Chen (2018) used speed, acceleration, direction change rate, and individual traveler characteristics (age and disability) as input features combined with GIS information [23]. In the study of Dabiri (2018), the speed, acceleration, speed curve smoothness, and direction change rate were used to identify the mode of travel, and the GPS trajectory data collected by the test was used to test and establish different classifications [24,25,26]. In summary, at present, scholars often only consider the difference among travel modes in the temporal and spatial distribution of the trajectory classification problem. Generally, the selected features are limited to distance, time consumption, speed, etc. But in a complex traffic environment, under the influence of the different types of travel modes, the difference characteristics reflected in the travel trajectory will be disturbed. Further, there will be a crossover phenomenon, resulting in lower recognition accuracy. Therefore, finding new features from the data other than feature information from trajectory is the key to improving the feature extraction.
Classifier design is the rule designed for classifying objects. Traditional methods for mode identification often use statistical regression, such as linear regression, a polynomial logit model [27], etc. However, these models have unrealistic assumptions and require a predefined relationship between the dependent variable and the explanatory variables. Compared with statistical models, machine-learning-based classifiers can be more effectively in mode identification. Its effectiveness has been confirmed in many studies involving decision trees, neural networks, and support vector machines [14]. However, many errors and uncertainty exist in the case of MSD, which may lead to unstable performance of the model. Random forests are found to overcome these issues and have shown good learning ability to help solve predictions and classification problems. Thus, the random forest is chosen in the study as the classifier to identify the travel mode.

2.2. Point-to-Point Map Matching Based on Probability Statistics

From the perspective of travel mode identification, it is very important for the mining of travel mode characteristics to map the user base station trajectory sequence onto the road network to obtain the real travel trajectory. Through path matching, features can be extracted from a more accurate trajectory when the real travel trajectory on the road network is obtained. From the perspective of mode identification application, we match the user’s travel trajectory to the road network, so that more accurate traffic flow information can be obtained. With this information, we are able to achieve traffic condition identification and real-time traffic flow control. Therefore, this paper studies the map matching technology based on the location information of the mobile phone base station, which lays a foundation for feature mining in traffic pattern recognition.
Existing algorithms in map matching mainly include three categories: geometry, topology, and probability statistics. In addition, the map matching algorithm based on geometric analysis can be divided into point-to-point, point-to-line, and line-to-line matching. Point-to-point is a simple search algorithm that matches points to the nearest node on the road network. Point-to-line matches points to the nearest road section. The line-to-line matching algorithm connects the trajectory points as curves and then searches for the most similar road segments in the road network to the matched road segments. The matching algorithm based on topology analysis is based on the topological relationship of the road network, simultaneously considering the direction, speed, and road network connectivity [28]. It then matches historical information with the actual road network information.
The main principle of the probability-based algorithm is to define a possible matching area as the center of the matching point according to the positioning accuracy of the track points, take the road section within the area as the possible matching road section and calculate its matching probability to determine the best matching road. In addition to the above map-matching algorithms, matching algorithms using complex mathematical theories have emerged in recent years, such as the Bayesian inference matching algorithm, Kalman filtering matching algorithm, fuzzy logic matching algorithm, and matching algorithm based on convex optimization [29,30,31,32].
Although a range of research on map matching already exists, the MSD was not commonly used. This may be attributed to two reasons. Firstly, the algorithm involves a large amount of computation, especially in an area with a complex road network. Moreover, as the number of segments waiting for matching is large, the algorithm efficiency can be extremely low. Secondly, the accuracy of the algorithm depends mainly on the location frequency of signaling data. In this paper, to overcome the shortcomings of the path matching method using the existing map matching technology based on mobile base stations, a novel matching method based on base stations and intersections is proposed.
Based on the map-matching algorithm and the characteristics of positioning data, this paper proposes a road network matching algorithm suitable for base station positioning trajectory. The proposed algorithm allows for the spatial distance, coverage road frequency, and road network connectivity.
After preparing the necessary information records, the sequence of the travel base station track is numbered. Suppose a track is expressed as set Si = {j1, j2, …, jn}, where ji represents the base station occupied in the trajectory. The following algorithm flow is then performed for each trajectory. The procedures for map matching is shown in Algorithm 1:
Algorithm 1.Procedures for map matching.
Step 1: Add the road covered by each base station ji in track Si according to the base station and road information correspondence table. Obtain the frequency table of road coverage in the trajectory Fi.
Step 2: For each base station ji, the intersections set Ri in coverage area can be found according to the base station and interaction information correspondence table.
Step 3: According to the frequency table Fi obtained in Step 1, mark the road R m a x ( F i ) with the highest frequency in Ri and select the intersection composed of this road. Delete the base station ji, if R m a x ( F i ) = 1 .
Step 4: Calculate the distance D between the intersections screened from the previous step and the base station while reserving the intersection closest to the base station according to the principle of minimum distance, i.e., the intersection corresponding to the base station on the road network.
Step 5: Cyclic match all base stations in the trajectory sequence to obtain an intersection sequence Ci. For non-adjacent intersections, the shortest circuit function is used to connect them to obtain a fully connected intersection sequence on the road network.
Step 6: Judge whether C(i-1), Ci, and C(i+1), three adjacent data in the intersection sequence Ci are A-B-A type data. If yes, delete the intersection Ci and C(i+1).
The path matching in the study was carried out using ArcGIS and Python. The fundamental geographic information data is stored in ArcGIS in the form of shapefile, while map matching is achieved using the NetworkX module in Python. The Dijkstra shortest path algorithm is used for the connection between the intersections. The advantages for choosing this method include high efficiency, high speed, and strong applicability in complex networks [33]. The detailed flow chart is provided as follows in Figure 1.

2.3. Sample Label Acquisition Based on Association Rules Mining

MSD is location data processed anonymously by mobile operators. On the one hand, it has been widely used in many research fields due to its advantages of protecting user privacy. On the other hand, anonymity also provides few obstacles to the research. In the research of individual trip chaining with fine granularity, it is difficult to obtain the user’s real travel information. Thus, it is impossible to create a link between the data and the actual scene. Further, it is difficult to verify the accuracy of scientific research results.
In previous studies, the sample data were collected by volunteers to record daily travel information. Meanwhile, the MSD was extracted from the communication operator if the volunteer consented to the data acquisition and signed the authorization letter. However, the economic cost of this method is relatively high and requires a large workforce to process the data, which is a fundamental reason for the small sample size in previous studies. Besides, due to the size and nature of the research institution, there may be a bias in the recruitment of volunteers and data collection, leading to the deviation/errors in the travel samples obtained. For example, Shafique et al. (2015) found that most volunteers for research institution projects in universities are students, whose activity scope, travel purpose, and travel mode are relatively limited [33]. To handle the above shortcomings, this paper proposes a method for obtaining travel mode label samples based on mobile phone travel trajectory data and residents’ travel survey data.
The residents’ travel survey data includes information like gender and the age of residents, the departure and arrival traffic zone number, and the departure time and arrival time of each travel record. The travel base station trajectory information extracted from MSD also contains the departure point and arrival point of each travel trajectory, the departure time and arrival time of each travel trajectory, and gender and age of the user corresponding to the IMSI number. Through connecting these attributes, the trajectory extracted from the MSD can be matched to the residents’ travel survey data. Therefore, the travel mode information of the mobile phone travel trajectory can be obtained once the two records match successfully under the set rules, elaborated as follows.
To fuse these two types of data, the principal task is to establish a spatial correspondence between the base station and the traffic community. Then, the travel based on the mobile signaling data can be integrated into the travel based on the traffic community. Preliminary screening of mobile phone data can be conducted through the date of residents’ travel survey data, and the departure and arrival of the community. Then, the travel time in each survey data is screened again. Finally, the data are matched according to gender and age attributes. For successfully matched records, the travel mode recorded in the travel survey data of residents can be regarded as the travel mode corresponding to the mobile phone travel path. Figure 2 shows the specific matching algorithm rules and procedures.

2.4. Feature Extraction and Selection

The identification of the travel mode based on MSD is essentially a pattern recognition problem. The selection of features is a crucial step in the pattern classification problem, directly impacting on the accuracy of the classification results. In the past, the extracted features in trajectory data mining were mostly limited to the temporal and spatial characteristics of the trajectory itself, and the data source was relatively simple. However, in the increasingly complex transportation system, the spatial and temporal distribution of different travel modes is getting smaller and smaller. It is often unsatisfactory to rely solely on the differences in the temporal and spatial characteristics to distinguish between different travel modes. Some scholars combined GIS in feature extraction and considered the differences among different travel modes in urban road network distribution, such as the similarity of travel routes and bus routes. However, few scholars were found to consider the relevant influencing factors involving traffic travel mode selection behavior and navigation path characteristics in their studies.
Different personal attributes, origin, and destination of the traffic in built environment affect the residents’ travel mode choice behavior. The addition of characteristic parameters that affect residents’ travel choice behavior may enhance the recognition capability of the model.
Moreover, in the case of different traffic conditions and departure times, the travel path and travel time required for each travel mode will be different. For example, in the morning and evening rush hours, the travel time required by cars on some congested roads is longer. To help consider the complexity of the traffic operating environment, Internet data was integrated into the feature extraction process. The travel distance and travel time between various travel modes were crawled from the Internet to help address the travel modes classification problem.
Following the analysis above, the study divided the features into three categories. The first category is the temporal and spatial features of the trajectory itself. It is also the characteristic of different travel modes in the travel trajectory. The second category is the personal attributes and environmental characteristics related to travel mode selection. Finally, the third category is navigation data which features considering paths and road conditions.
Seven temporal and spatial characteristics of the trajectory were extracted first. The travel distance “Distance” was calculated by distance of the travel track in the road network after map matching. The departure time “O_time” and the arrival time “D_time” were obtained from the track record in MSD, and travel time “Time” was obtained by subtracting these two characters. And the average speed “speed” was calculated by using “Distance” divided by “Time”. The last step was defining the morning peak from 7 to 9 and the evening peak from 17 to 19 to judge whether the departure time and arrival time was at a peak or not in order to get the “O_peak” and “D_peak”.
The personal attributes incorporated in the model include (i) the gender “Sex” by defining male as 1, female as 0; (ii) the age by defining 1 for travelers under 20 years old, 20~29 as 2, 30~39 as 3, 40~49 as 4, 50~59 as 5, and 60 years old or older as 6.
Then, we proceeded with the built environment features. A total of twenty features that can be divided into six categories were extracted. First is the coverage rate of a bus stop. After intersecting the 300 m and 500 m bus station buffer layer with the traffic zone layer in GIS, the area of the site coverage area corresponding to the service radius of each traffic community was obtained. Comparing the site coverage area of each traffic zone with the zone area, the 300 m bus station coverage rate and 500 m bus station coverage rate of the traffic community could be obtained. According to the spatial geographical location of the departure and arrival points of the track, four features including a 300 m coverage rate of a bus stop in the departure and arrival area “O_BS300” and “D_BS300”, as well as a 500 m coverage rate of a bus stop in the departure and arrival area “O_BS500” and “D_BS500” corresponding to the trajectory can be obtained. Next were the bus line repetition coefficient, intersection density, road network density, and land mix in the departure and arrival area. Similar to the acquisition method of the coverage rate of a bus stop, their calculation methods are not described in detail here. What worth noting is the land use mixing index, which refers to the relative proximity of different functional land in the area. In the paper, the land use type was reclassified and divided into office, commercial, and residential according to the type of land use plan. The entropy index was used to measure the mixing degree of land use, which can quantify the equilibrium of land use in a given area, and the calculation formula was shown as the following:
H i = k = 1 n p ( k ) ln ( p ( k ) )
where k represents the ratio of the area of the kth land type for the total area of the cell in the traffic zone i and n is the land type.
After feature extraction, feature selection, i.e., the selection of features from the original feature set to optimize the overall model performance, was carried out. Through the difference analysis of travel mode and travel behavior in the previous section, 29 features related to travel mode classification were extracted as the original features. After eliminating irrelevant and redundant features, the optimal feature subset was selected as an input to train the machine learning algorithms and models. In this study, filtered feature selection was adopted. The principle was to separately count the statistical indicators of each variable, according to which the characteristics were selected. This selection strategy is simple and easy to implement, and is beneficial to understanding the data. Chi-square test is often used for classification problems. The basic idea is to infer whether there is a significant difference between the overall distribution and the expected distribution based on the sample data or to infer whether the two categorical variables are related or independent.
x 2 = ( A T ) 2 T
where A denotes the actual value, T denotes the theoretical value.
The feature selection steps in the study are as follows in the Algorithm 2:
Algorithm 2.Procedures for feature extraction.
Step 1: Traversing the number of features k.
Step 2: With the univariate feature selection, the chi-square test is used to select the optimal k features.
Step 3: Use the combination of k optimal variables to construct the classification model and calculate the model accuracy.
Step 4: Choose the combination of variables under the optimal model accuracy as the selected feature.

2.5. Model Construction Based on Random Forest

Random Forest, also known as Random Decision Forest, is an ensemble learning algorithm composed of multiple decision trees and can be used for both classification and regression tasks. Firstly, through the bootstrap resampling technique, k samples are randomly selected from the original training sample set to form a new training sample set. Then, the obtained training samples are used to construct a decision tree, together forming a random forest. Finally, the classification result is determined by the classification tree. The random forest algorithm has the following advantages over other machine learning methods [34]: (1) It has high accuracy among the classification algorithms widely used at present. (2) The importance of each feature vector in the feature space can be evaluated by indicators like the Gini index. The importance measure for a particular variable is obtained as the average decrease of Gini impurity index over all trees in the forest. For a candidate splitting variable X i with a possible number of categories as L 1 , , L j , the Gini impurity index for this variable can be calculated. (3) It can effectively deal with large data sets and data samples with high dimensional characteristics, so it does not need to conduct dimensionality reduction. (4) The accuracy of the model can be guaranteed even when there are many default data values. (5) The construction and execution speed of the model is fast and is not associated with the overfitting phenomenon.
G ( X i ) = j = 1 J P ( X i = L j ) ( 1 P ( X i = L j ) ) = 1 j J P ( X i = L j ) 2
where G ( X i ) denotes the Gini impurity index for the variable X i ; P ( X i = L j ) represents the estimated category X i = L j probabilities. Once Gini impurity indices are calculated for each candidate splitting variable, the split is conducted on the variable that has the highest value.
The travel mode identification model based on the random forest algorithm mainly consists of four parts, namely the construction of training set and test set, the selection of feature vectors, the construction of decision tree, and voting to determine the optimal classification. The specific model construction process is as followed in Algorithm 3:
Algorithm 3.Procedures for model construction.
Step 1: For the original travel path sample set, the samples were randomly divided following the ratio of 3:1 while 25% of the samples were taken as the test set.
Step 2: For the above-determined training sample set D(x1, x2, ..., xn), by taking k as random repeatable samples, construct the random vector set D1, D2, ..., Dk.
Step 3: In the selected features, m specific variables are randomly selected. Determine the optimal identification point using these variables.
Step 4: For each random vector Di, construct a decision tree.
Step 5: Repeat step 3 and step 4. Finally, construct k decision trees.
Step 6: For an input vector, each decision tree in the random forest votes.
Step 7: Finally, votes from all the decision trees are counted, among which the travel mode of this vector is the one with the majority of votes.

3. Data

3.1. Location Analysis

Our study area, Kunshan, is located inside the Yangtze River Delta economic area (YRDEA), one of the fastest-growing regions in China. From the picture, we could see that there are three of the biggest cities in China around Kunshan: Shanghai (to the east), Nanjing (to the west and the capital of Jiangsu province), and Hangzhou (to the south and the capital of Zhejiang province) [35]. It was selected for the studies in this paper, mainly because 4G telecommunication facilities are well established in its city area, which provides an ideal hardware/data condition for the topic addressed in this paper.

3.2. Data Description

3.2.1. The Residents’ Travel Survey Data

A traditional resident travel survey is the most basic way to obtain the residents’ traffic demand for the local planning department. Despite the growing popularity and application of big data, the traditional residents’ survey is still an indispensable way to obtain traffic information. A key advantage of residents’ travel survey data is that they allow us to probe population mobility patterns together with rich sociodemographic information, which also makes them still one of the most reliable tools for transportation research [36].
In June 2017, we conducted a comprehensive traffic survey in Kunshan. The survey randomly selected 5150 households in urban areas and 250 households in peripheral villages, collecting 38,598 pieces of valid travel data, as shown in the Table 2.
Residents’ travel survey data was used as a data set for known travel modes. Although the sample size was limited, sample labels can be extracted for unlabeled mobile phone data and used while modeling. Therefore, data matching between two sources is an important issue that needs to be solved in this research. On the one hand, the residents’ travel survey data includes information like ID, gender, and age, as well as trip information like the starting traffic area ID, the arriving traffic area ID, leaving and arriving times, and travel modes of each record. On the other hand, the travel base station trajectory information extracted from the MSD includes the departure point and arrival point of each travel trajectory, departure time and arrival time, gender, and age of the users corresponding to the IMSI number. How to set rules to match these attributes and integrate MSD with the residents’ travel survey data is a complex problem that needs to be solved in order to obtain the mobile phone trace sample data with travel modes.

3.2.2. The Mobile-Phone Signaling Data (MSD)

This study takes the MSD of Kunshan city as the primary data source. The daily data production volume is 65G, about 2.7 billion data, and the average person generates 1000 pieces of data per day, with an average update time of 20s/piece. When a mobile-phone user triggers a signaling event, the system will automatically record the user’s signaling information, with one MSD sample containing multiple fields. To complete the matching work with the residents’ travel survey data, MSD from June 12 was selected as the mobile phone data source for analysis. After pre-processing and identification of the parking point, the travel track information was extracted, obtaining a total of about 4.25 million data samples. The raw 4G MSD attributes used in the study are shown in Table 3.
The fields that are valuable for user trajectory information extraction and traffic analysis are listed as follows.
Valuable MSD fields
STAT_DATE: The date on which the MSD is generated.
IMSI: International Mobile Subscriber Identification Number. It is a unique international user identification code assigned by the system to each mobile user. Further, it is also the unique identifier of the signaling data subject. From this field, relevant registration information such as the gender and age of the user can be obtained. One of the main advantages of MSD in the field of traffic analysis is anonymous data processing, meaning there are no user privacy and information security issues.
LAC/CELL: A physical base can be uniquely found by the LAC and CELL to match its latitude and longitude information.
BEGIN_TIME/END_TIME: The start time and the end time of the signaling event. In general, the occurrence of signaling events and information propagation is rapid. The two fields can be merged into a single field, indicating when a signaling event occurred in the data pre-processing stage.
PROCEDURE TYPE: Different event type numbers triggered by signaling.
The unit of travel mode identification is a segment of travel trajectory. The acquisition of trajectory information from the mobile phone signaling is the primary task, as the original MSD is a continuous time-stamped base station location point. First, since there is a large amount of duplicated, invalid, and noisy data in the original MSD, it is necessary to filter and denoise the original data. Then, it is necessary to filter out the positioning information when the user is in the travel state to obtain the approximate travel trajectory of the user. As this topic has been thoroughly discussed in past research, this article will not go into depth in discussing it. The default MSD is the station-based user travel trajectory.
However, to improve the accuracy of the mode recognition, the travel trajectory connected by such a base station is insufficient. Therefore, this paper aims to match the travel trajectory based on the base station to the actual road network to form a real travel trajectory based on the road intersection. It enables extracting high-quality features in order to improve mode identification. How to achieve map matching based on the travel trajectory of the base station is another challenging task that is solved in this paper.

3.2.3. AMAP Data

The classification used to rely on static data like residents’ travel survey data. In recent times, GPS data and MSD are more frequently used. However, these data are identified from the perspective of the trajectory itself. This paper innovatively combines travel trajectory data with navigation data. Using the official application programming interface (API) interface, the travel distance and travel time of various travel mode can be connected. The data obtained is the simulation data generated in the real road network environment, considering the real-time traffic condition, which is significant to travel mode identification.
The path planning interface in the AMAP API was used in this study. Travel distance and travel time required for the navigation path using walking, bicycle, bus, and car could be crawled separately once the OD point of the trip is imported into AMAP. In general, there are several recommended paths to select for each travel mode. This article selected the best-recommended path for navigation when crawling. Further, considering the volatility of road conditions in a single day, two sets of data in flat peak and peak periods were crawled. Then, the corresponding navigation path feature parameters were determined according to the occurrence time of the travel trajectory. Table 4 is an example of crawled data in AMAP. O_base and D_base represent the departure and arrival base station ID through which the latitude and longitude information could be extracted. It is then possible to obtain the travel distance and travel time of the navigation recommended route for different travel modes.

4. Implementation and Results

4.1. Model Effect Evaluation

To evaluate the performance of the model in mode identification, the precision rate, recall rate, and F-score are selected as evaluation indexes in this study [37]. For a classification problem, the sample can be divided into true positive (TP), false positive (FP), true negative (TN), and false negative (FN) according to the combination of its real category and the prediction category. The precision rate refers to the proportion of the correct number of travel mode samples identified by the model to the total samples identified as the travel mode.
P i = T P i T P i + F P i
where Pi denotes the precision rate of mode i, TPi represents the correct number of samples of mode i in the model, and FPi represents the number of incorrect samples of mode i.
Recall rate refers to the proportion of the correct sample number of a particular travel mode identified by the model to the actual travel mode.
R i = T P i T P i + F N i
where Ri denotes the precision rate of mode i, and FNi stands for the number of incorrect samples of mode i.
F-score is a commonly used evaluation index in classification problems. The precision rate and recall rate are a set of contrasting indicators. When the precision rate is high, the recall rate is low. In actual model evaluation, precision or recall alone is not enough. Therefore, another statistical index composed of the ratio of recall and precision is defined and formulated as follows:
F s c o r e = 2 × P i × R i P i + R i × 100 %
The definitions of the parameters in Equations (2)–(4) are shown in Table 5 below.

4.2. Sample Data Matching

The travel modes in the residents’ survey data can be divided into: walking, electric vehicle, taxi, motorcycle, bus, bicycle, unit bus, private car and unit matching car, unit business car, etc. The usage proportion for each travel mode is shown in Figure 3 below.
It can be seen from Figure 4 that private cars and electric cars have a high proportion of usage, i.e., 29.07% and 28.37% respectively, followed by walking, bus, and bicycle. According to the travel structure of Kunshan city and the driving characteristics of vehicles, the travel modes were divided into walking, bicycle, electric vehicle, bus, and car. Note that, here, bicycles include public bicycles and other bicycles, and cars include taxis, private cars and online car-hailing. Due to the low proportion of other travel modes, the differences among the above-mentioned travel modes are not apparent, thus are not differentiated. By combining and excluding the travel records of other travel modes, a total of 36,987 valid survey data samples were obtained.
The distribution of these sample data in Kunshan is presented in Figure 5. After matching, a total of 5861 mobile phone travel track data were obtained, including 1147 walking samples, 570 bicycles samples, 1562 electric vehicles samples, 732 buses samples, and 1850 cars samples. These numbers were consistent with the mode share obtained from the residents’ survey data. Partially matched data are shown in Table 6. Id represents the serial number of residents’ travel survey data, and type represents the travel mode type. O_time and D_time represent the departure time and arrival time filled in the survey data. O_id and D_id represent the number of traffic area at the starting and ending points. Leave_time and arrive_time represent the departure time of the first stop point (starting point) and the arrival time of the second stop point (ending point) in the successfully matched trajectories.

4.3. Feature Extraction and Selection

According to the feature selection process above, the relationship between the accuracy of the model and the number of features is plotted. As shown in the Figure 6, the accuracy of the model increases with the number of features. When the number of features is greater than 22, the model accuracy remains constant, and it reaches the highest level when the number of features is 24. The corresponding features are: speed, O_BS500, D_BS300, O_BS300, bus_distance, car_distance, car_time, bus_time, O_RJdensity, D_RJdensity, time, bike_distance, distance, walk_distance, age, D_BLrepetition, bike_time, D_landmixing, walk_time, O_landmixing, O_BLrepetition, O_RDdensity, D_RDdensity, and O_peak.
Figure 7 presents the importance ranking of 24 features in the model based on the random forest algorithm. It can be seen from the figure that speed is the most significant feature in the model. The importance ranking of features is travel trajectory spatio-temporal features, followed by navigation path features, and travel mode selection features. Moreover, the distance attribute is found to be more significant than the time attribute in navigation features.

4.4. Model Accuracy Analysis

The model is coded in Python using the third-party machine learning module, scikit-learn (sklearn). Sklearn module encapsulates commonly used machine learning algorithms, including regression, dimensionality reduction, classification, clustering. It is a simple and efficient data mining and data analysis tool [38]. To ensure the reliability and generalization performance of the model results, this paper randomly divides the samples in the ratio of 3:1. Three-fourth of the samples were used as model training samples while the remainder were used as test samples.
Table 7 is the test set confusion matrix and evaluation index based on the random forest algorithm.
Concerning the model accuracy, we made a comparison between the results of previous research and ours. Yamada et al. (2016) used a dataset from Scenargie software [31], and the recall of their model for car mode was 0.75. Xu et al. (2011) evaluated their method with 500 mode sequences labeled by individual users, with 80% of the data for training and the other 20% for testing [39]. Their F1 values was 0.89. Li et al. (2017) used a labeled dataset consisting of 7 days data of 10 users to evaluate their method [40]. The reported average precision, recall and F1 values were around 0.64–0.91, 0.74–0.81, and 0.72–0.83, respectively, depending on the parameters. It is clear that the proposed model outperform those in existing research. Among the 1466 test set samples, 1322 samples were correctly identified through the random forests model, achieving an overall accuracy of 90.2%. The accuracy of walking and car is up to 98%. Walking travel is limited by people’s physical strength, and its travel speed and distance are obviously different from that of other travel modes. Therefore, the recognition accuracy of walking is relatively ideal. The recognition accuracy of the car is also very high due to its navigation path feature aided discrimination. Further, its speed is also different from other travel modes. However, the precision rate and recall rate of bus trips were only 78% and 53% respectively, which is far lower than the average accuracy of the model. The main reason for the poor performance in bus identification may be the existence of too many uncertainty, for example, random bus users, uncertain waiting and stopping time, and the inability to conduct path adjustment according to traffic conditions. The precision rates of the bike and electric bike were both around 85%. These two modes are likely to be identified as a bus because with the increase in the share of non-motor vehicles, since their travel speed and travel distance are close to those of a bus.

5. Conclusions

In this research work, we have established a travel mode identification model based on mobile signaling data, combined with residents’ travel survey data, GIS data, and navigation data, aiming to accurately identify the travel modes as well as travel trajectories of urban travelers/commuters. The social values of works in this paper are twofold. First, imbalance between transport supply and demand is the core factor in congestion as well as many other transport externalities. Thus, for the sustainable development of an urban transport system (and also the vibrancy of our livable cities), to manage travel demand and wisely plan/construct the supply are highly significant. In order to make optimal decisions/policies on transport demand and supply, it is an important prerequisite to accurately obtain the multimodal travel demand (that is the travel mode of each traveler). Considering that existing methods on the travel mode detection are not accurate, this work based on big data is an important new pathway to solving this problem. Second, to accurately detect the travel modes of urban travelers are also important to resolve many existing social problem; for instance, the special aids and cares for elderly travelers. If we can detect their most commonly used travel modes and trip chain, the transport authorities can improve the placement and arrangements of the facilities.
This study built a travel mode identification model based on the 4G MSD, the residents’ travel survey data and the GIS data in Kunshan city, as well as the navigation data crawled from AMAP API. The travel mode labels of mobile phone track samples were obtained using the attribute matching rule with the mobile phone track. Regarding model feature extraction, 29 features were extracted from the spatial and temporal characteristics of trajectories, travel mode selection behavior characteristics, and navigation path characteristics. The precision rate of the model reached 90.2%, and the recognition result of walking and car is satisfactory. However, the recognition accuracy of bus is low and needs further optimization.
Two aspects need to be further investigated to overcome these issues. First is the identification of the trajectory switching point and division of the travel segments. This paper takes the trip as the unit for analysis, taking into account the dominant mode of travel only by priority. In future research, the concept of a transition point can be further incorporated, i.e., by dividing the travel segment by the changes in the travel mode, which provides proper path matching and in-depth mining of trajectory data. The path matching algorithm proposed in this paper does not match the roads lacking intersections and those with vertical parallel paths such as overpasses and tunnels. Further, the path matching algorithm can be improved by integrating elevated entrances and exits. Moreover, in the process of feature extraction, the trajectory information is worth further exploration, including for similarities with the bus network and the similarities between the navigation paths of different travel modes.

Author Contributions

Formal analysis, C.A.; Investigation, Z.L. (Zhen Long); Methodology, Z.L. (Zhenbo Lu); Resources, Z.L. (Zhenbo Lu); Software, C.A.; Supervision, J.X.; Validation, J.X.; Visualization, Z.L. (Zhen Long); Writing—original draft, Z.L.; Writing—review & editing, Z.L. (Zhenbo Lu).

Funding

This research was funded by the National Natural Science Foundation of China (71971060).

Acknowledgments

The authors gratefully acknowledge assistance with Residents’ travel survey data and mobile phone signaling data from Kunshan Land Resources Bureau.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Das, R.; Winter, S. Automated Urban Travel Interpretation: A Bottom-up Approach for Trajectory Segmentation. Sensors 2016, 16, 1962. [Google Scholar] [CrossRef] [PubMed]
  2. Cheng, L.; Chen, X.; Yang, S.; Wu, J.; Yang, M. Structural equation models to analyze activity participation, trip generation, and mode choice of low-income commuters. Transp. Lett. 2017, 1–9. [Google Scholar] [CrossRef]
  3. Bohte, W.; Maat, K. Deriving and validating trip purposes and travel modes for multi-day GPS-based travel surveys: a large-scale application in the Netherlands. Transp. Res. Part C 2009, 17, 285–297. [Google Scholar] [CrossRef]
  4. Gong, H.; Chen, C.; Bialostozky, E.; Lawson, C.T. A GPS/GIS method for travel mode detection in New York City. Comput. Environ. Urban Syst. 2012, 36, 131–139. [Google Scholar] [CrossRef]
  5. Rasmussen, T.K.; Ingvardson, J.B.; Halldórsdóttir, K.; Nielsen, O.A. Improved methods to deduct trip legs and mod from travel surveys using wearable GPS devices: A case study from the Greater Copenhagen area. Comput. Environ. Urban Syst. 2015, 54, 301–313. [Google Scholar] [CrossRef]
  6. Attia, M.; Moussa, A.; El-Sheimy, N. Map aided pedestrian dead reckoning using buildings information for indoor navigation applications. Positioning 2013, 4, 227–239. [Google Scholar] [CrossRef]
  7. Bolbol, A.; Cheng, T.; Tsapakis, I.; Haworth, J. Inferring hybrid travel modes from sparse GPS data using a moving window SVM classification. Comput. Environ. Urban Syst. 2012, 36, 526–537. [Google Scholar] [CrossRef]
  8. Bantis, T.; Haworth, J. Who you are is how you travel: a framework for travel mode detection using individual and environmental characteristics. Transp. Res. Part C 2017, 80, 286–309. [Google Scholar] [CrossRef]
  9. Blondel, V.D.; Decuyper, A.; Krings, G. A survey of results on mobile phone datasets analysis. EPJ Data Sci. 2015, 4, 10. [Google Scholar] [CrossRef] [Green Version]
  10. Wu, C.; Thai Jérôme Yadlowsky, S.; Pozdnoukhov, A.; Bayen, A. Cellpath: fusion of cellular and traffic sensor data for route flow estimation via convex optimization. Transp. Res. Part C 2015, 59, 111–128. [Google Scholar] [CrossRef]
  11. Silanowicka, K.; Vandrol, J.; Oshan, T.; Long, J.A.; Demšar, U.; Fotheringham, A.S. Analysis of human mobility patterns from GPS trajectories and contextual information. Int. J. Geogr. Inf. Sci. 2016, 30, 881–906. [Google Scholar] [CrossRef]
  12. Rojas, M.B.; Sadeghvaziri, E.; Jin, X. Comprehensive review of travel behavior and mobility pattern studies that used mobile phone data. Transp. Res. Rec. 2016, 2563, 71–79. [Google Scholar] [CrossRef]
  13. Brunauer, R.; Hufnagl, M.; Rehrl, K.; Wagner, A. Motion pattern analysis enabling accurate travel mode detection from GPS data only. In Proceedings of the 16th International IEEE Conference on Intelligent Transportation Systems (ITSC 2013), Hague, The Netherlands, 6–9 October 2013; pp. 404–411. [Google Scholar]
  14. Calabrese, F.; Ferrari, L.; Blondel, V. Urban sensing using mobile phone network data: a survey of research. ACM Comput. Surv. 2015, 47, 1–20. [Google Scholar] [CrossRef]
  15. Cheng, L.; Chen, X.; De Vos, J.; Lai, X.; Witlox, F. Applying a random forest method approach to model travel mode choice behavior. Travel Behav. Soc. 2019, 14, 1–10. [Google Scholar] [CrossRef]
  16. Hu, Y.; Song, L.; Zhang, J.; Ran, B. Improvement of traffic OD extraction method based on mobile phone signaling data. Traffic Inf. Secur. 2015, 5, 84–90. [Google Scholar]
  17. Jahangiri, A.; Rakha, H.A. Applying machine learning techniques to travel mode recognition using mobile phone sensor data. IEEE Trans. Intell. Transp. Syst. 2015, 16, 2406–2417. [Google Scholar] [CrossRef]
  18. Johnson, D.B. A Note on Dijkstra’s Shortest Path Algorithm. J. ACM 1973, 20, 385–388. [Google Scholar] [CrossRef]
  19. Dabiri, S.; Heaslip, K. Inferring travel modes from GPS trajectories using a convolutional neural network. Transp. Res. Part C 2018, 86, 360–371. [Google Scholar] [CrossRef]
  20. Mazhelis, O. Using recursive Bayesian estimation for matching GPS measurements to imperfect road network data. In Proceedings of the International IEEE Conference on Intelligent Transportation Systems, Proceedings, ITSC 2010, Madeira Island, Portugal, 19–22 September 2010; pp. 1492–1497. [Google Scholar]
  21. Naboulsi, D.; Fiore, M.; Ribot, S.; Stanica, R. Large-scale mobile traffic analysis: A survey. IEEE Commun. Surv. Tutor. 2016, 18, 124–161. [Google Scholar] [CrossRef]
  22. Stenneth, L.; Wolfson, O.; Yu, P.S.; Xu, B. Travel mode detection using mobile phones and GIS information. In Proceedings of the 19th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, Chicago, IL, USA, 1–4 November 2011; pp. 54–63. [Google Scholar]
  23. Wang, F.; Chen, C. On data processing required to derive mobility patterns from passively-generated mobile phone data. Transp. Res. Part C Emerg. Technol. 2018, 87, 58–74. [Google Scholar] [CrossRef]
  24. Demissie, M.G.; Correia, G.H.D.A.; Bento, C. Intelligent road traffic status detection system through cellular networks handover information: an exploratory study. Transp. Res. Part C 2013, 32, 76–88. [Google Scholar] [CrossRef]
  25. Eftekhari, H.R.; Ghatee, M. An inference engine for smartphones to preprocess data and detect stationary and travel modes. Transp. Res. Part C 2016, 69, 313–327. [Google Scholar] [CrossRef]
  26. Feng, T.; Timmermans, H.J.P. Travel mode recognition using GPS and accelerometer data. Transp. Res. Part C 2013, 37, 118–130. [Google Scholar] [CrossRef]
  27. Demissie, M.G.; Phithakkitnukoon, S.; Kattan, L. Trip Distribution Modeling Using Mobile Phone Data: Emphasis on Intra-Zonal Trips. IEEE Trans. Intell. Transp. Syst. 2018, 20, 2605–2617. [Google Scholar] [CrossRef]
  28. Elkan, C.; Berenji, H.; Chandrasekaran, B.; De Silva, C.; Attikiouzel, Y.; Dubois, D.; Prade, H.; Smets, P.; Freksa, C.; Garcia, O. The paradoxical success of fuzzy logic. IEEE Expert 1994, 9, 3–49. [Google Scholar] [CrossRef] [Green Version]
  29. Shafique, M.A.; Hato, E. Use of acceleration data for travel mode prediction. Transportation 2015, 42, 163–188. [Google Scholar] [CrossRef]
  30. Wu, L.; Yang, B.; Jing, P.; Wu, L.; Yang, B.; Jing, P. Travel mode detection based on GPS raw data collected by smartphones: a systematic review of the existing methodologies. Information 2016, 7, 67–79. [Google Scholar] [CrossRef]
  31. Yamada, Y.; Uchiyama, A.; Hiromori, A.; Yamaguchi, H.; Higashino, T. Travel estimation using Control Signal Records in cellular networks and geographical information. In Proceedings of the 9th IFIP Wireless and Mobile Networking Conference (WMNC), Colmar, France, 11–13 July 2016; pp. 138–144. [Google Scholar]
  32. Yang, Y.L.; Ye, H.Y.H.; Fei, S.M. Integrated map-matching algorithm based on fuzzy logic and dead reckoning. In Proceedings of the International Conference on Control Automation & Systems, ICCAS, Gyeonggi-do, Korea, 27–30 October 2010; pp. 1139–1142. [Google Scholar]
  33. Joseph, A.; Herrera, D.; Hijal, T.; Hendren, L.; Leung, A.; Wainberg, J.; Sawaf, M.; Gorshkov, M.; Maglieri, R.; Keshavarz, M.; et al. Su-f-p-20: predicting waiting times in radiation oncology using machine learning. Med. Phys. 2016, 43, 3362. [Google Scholar] [CrossRef]
  34. Feng, T.; Timmermans, H.J.P. Comparison of advanced imputation algorithms for detection of travel mode and activity episode using GPS data. Transp. Plan. Technol. 2016, 39, 1–15. [Google Scholar] [CrossRef]
  35. Long, H.; Tang, G.; Li, X. Socio-economic driving forces of land-use change in Kunshan, the Yangtze River Delta economic area of China. J. Environ. Manag. 2007, 83, 351–364. [Google Scholar] [CrossRef]
  36. Ran, B. Application of mobile phone data in traffic investigation and traffic planning. Urban Transp. 2013, 11, 72–81. [Google Scholar]
  37. Zhang, D.; Wang, J.; Chen, F. Comparative Analysis of Domestic Network Map Service. J. East China Norm. Univ. (Nat. Sci. Ed.) 2017, 6, 85–95. [Google Scholar]
  38. Yuan, Y.; Raubal, M. Exploring georeferenced mobile phone datasets—A survey and reference framework. Geogr. Compass 2016, 10, 239–252. [Google Scholar] [CrossRef]
  39. Xu, D.; Song, G.; Gao, P.; Cao, R.; Nie, X.; Xie, K. Travel modes identifcation from mobile Phone data using probabilistic models. In Advanced Data Mining and Applications; Lecture Notes in Computer Science; Tang, J., King, I., Chen, L., Wang, J., Eds.; Springer: Berlin/Heidelberg, Germany, 2011; pp. 359–371. [Google Scholar]
  40. Li, G.; Chen, C.-J.; Peng, W.-C.; Yi, C.-W. Estimating crowd flow and crowd density from cellular data for mass rapid transit. In Proceedings of the 6th International Workshop on Urban Computing, Halifax, NS, Canada, 18–30 June 2017. [Google Scholar]
Figure 1. Flowchart for path matching.
Figure 1. Flowchart for path matching.
Sustainability 11 05950 g001
Figure 2. Flowchart for the sample tag matching.
Figure 2. Flowchart for the sample tag matching.
Sustainability 11 05950 g002
Figure 3. Kunshan’s geographical location.
Figure 3. Kunshan’s geographical location.
Sustainability 11 05950 g003
Figure 4. Structural ratio of different travel modes.
Figure 4. Structural ratio of different travel modes.
Sustainability 11 05950 g004
Figure 5. Spatial distribution of the selected sample.
Figure 5. Spatial distribution of the selected sample.
Sustainability 11 05950 g005
Figure 6. Comparison of model accuracy with the number of features.
Figure 6. Comparison of model accuracy with the number of features.
Sustainability 11 05950 g006
Figure 7. Importance ranking of feature parameters.
Figure 7. Importance ranking of feature parameters.
Sustainability 11 05950 g007
Table 1. Data Source Introduction.
Table 1. Data Source Introduction.
Data SetsAdvantagesLimitations
Residents’ survey dataGet accurate travel mode and mature use methodTime-consuming, labor-intensive and exist many human factors in the acquisition process
GPS dataGet a travel trajectory, real-time and less affected by external influencesNot available or may be lost in some areas and need volunteers
Smartphone sensors dataGet accurate speed and acceleration and less energy consumptionSome sport patterns not significantly different and feature extraction more complicated
Mobile phone signaling dataFull sample, real-time and match personal informationInaccurate spatial position and difficult to extract information
Table 2. Residents’ travel survey data examples.
Table 2. Residents’ travel survey data examples.
IDSexAgeOrderLeave_IDArrive_IDLeave_IDArrive_IDMode
1111Man3015045107:208:01bus
4289Woman2923295046:297:31car
Table 3. 4G MSD feature attributes.
Table 3. 4G MSD feature attributes.
No.FeatureIdentificationNumberFeatureIdentification
1STAT_DATEDate7BEGIN_TIMEEvent start time
2PROCEDURETYPEEvent8END_TIMEEvent end time
3MSISDNPhone number(mask)9KEY_WORD1User status
4IMSIPhone unique identifier10CITY_CODELocation city
5LACBase location area coding11REGIONPhone number belonging city
6CELLArea coding12DAY_NUMBERTag data date
Table 4. Recommended path navigation data crawling example.
Table 4. Recommended path navigation data crawling example.
O_baseD_baseWalk-TWalk_DBike-TBike-DBus-TBus-DCar-TCar-D
41529851382117276445518561468018664230027128
29854151383017287442518438424418260225625535
1427404307038379233846232967026814174
404462286835858603582187342187474142
4621427128016004962065162226685992080
5082751289936249543977274673205934025
27512048317939749563982268347816184832
2048158470068758216290103289878912239268
15842985664883102030845931821455912318999
Table 5. Definition of parameters in the model evaluation indexes.
Table 5. Definition of parameters in the model evaluation indexes.
Identify SampleNumber of Samples Identified as iNumber of Samples Identified as Other Classes
Actual Sample
Number of class i samplesTPiFNi
Number of other samplesFPiTNi
Table 6. Matching data scheme.
Table 6. Matching data scheme.
IDTypeO_TimeO_idD_TimeD_idSexAgeLeave_TimeArrive_Time
20002318:15:0042018:50:0016413818:17:5418:56:53
900237:40:003848:03:003962267:38:168:02:22
26002511:24:0028511:48:0027023511:26:5111:42:53
15002315:30:00715:40:00725815:29:2615:39:27
200219:22:003239:40:003242609:24:499:34:35
12002317:00:0014917:30:006025116:51:1217:20:59
1600218:40:00279:00:00272588:40:178:59:54
31002517:00:006417:30:0043014716:54:5817:25:56
33002317:00:0020617:29:008122916:53:1617:21:24
36002121:42:0024321:49:0024325921:44:4921:50:25
Table 7. Random forest algorithm identification results.
Table 7. Random forest algorithm identification results.
Confusion MatrixEvaluation Index
Identified Travel ModeReal Travel Mode
WalkBikeElectric-BikeBusCarTotalPrecision RatioRecall RatioF1
Walk25660002620.980.910.94
Bike512111601430.850.840.84
Electric-bike10103946004740.830.970.89
Bus106119301200.780.530.63
Car01354584670.981.000.99
Total28114440917445814660.900.900.90

Share and Cite

MDPI and ACS Style

Lu, Z.; Long, Z.; Xia, J.; An, C. A Random Forest Model for Travel Mode Identification Based on Mobile Phone Signaling Data. Sustainability 2019, 11, 5950. https://doi.org/10.3390/su11215950

AMA Style

Lu Z, Long Z, Xia J, An C. A Random Forest Model for Travel Mode Identification Based on Mobile Phone Signaling Data. Sustainability. 2019; 11(21):5950. https://doi.org/10.3390/su11215950

Chicago/Turabian Style

Lu, Zhenbo, Zhen Long, Jingxin Xia, and Chengchuan An. 2019. "A Random Forest Model for Travel Mode Identification Based on Mobile Phone Signaling Data" Sustainability 11, no. 21: 5950. https://doi.org/10.3390/su11215950

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop