Next Article in Journal
A Low-Cost, Wireless, 3-D-Printed Custom Armband for sEMG Hand Gesture Recognition
Next Article in Special Issue
PUEGM: A Method of User Revenue Selection Based on a Publisher-User Evolutionary Game Model for Mobile Crowdsensing
Previous Article in Journal
An Implantable Inductive Near-Field Communication System with 64 Channels for Acquisition of Gastrointestinal Bioelectrical Activity
Previous Article in Special Issue
Drone Detection and Pose Estimation Using Relational Graph Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Understanding Collective Human Mobility Spatiotemporal Patterns on Weekdays from Taxi Origin-Destination Point Data

1
Key Laboratory of Virtual Geographic Environment (Nanjing Normal University), Ministry of Education, Nanjing 210023, China
2
School of Geography, Nanjing Normal University, Nanjing 210023, China
3
College of Civil Engineering, Nanjing Forestry University, Nanjing 210037, China
4
Jiangsu Center for Collaborative Innovation in Geographical Information Resource Development and Application, Nanjing 210023, China
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(12), 2812; https://doi.org/10.3390/s19122812
Submission received: 17 May 2019 / Revised: 15 June 2019 / Accepted: 19 June 2019 / Published: 24 June 2019
(This article belongs to the Special Issue Mobile Sensing: Platforms, Technologies and Challenges)

Abstract

:
With the availability of large geospatial datasets, the study of collective human mobility spatiotemporal patterns provides a new way to explore urban spatial environments from the perspective of residents. In this paper, we constructed a classification model for mobility patterns that is suitable for taxi OD (Origin-Destination) point data, and it is comprised of three parts. First, a new aggregate unit, which uses a road intersection as the constraint condition, is designed for the analysis of the taxi OD point data. Second, the time series similarity measurement is improved by adding a normalization procedure and time windows to address the particular characteristics of the taxi time series data. Finally, the DBSCAN algorithm is used to classify the time series into different mobility patterns based on a proximity index that is calculated using the improved similarity measurement. In addition, we used the random forest algorithm to establish a correlation model between the mobility patterns and the regional functional characteristics. Based on the taxi OD point data from Nanjing, we delimited seven mobility patterns and illustrated that the regional functions have obvious driving effects on these mobility patterns. These findings are applicable to urban planning, traffic management and planning, and land use analyses in the future.

1. Introduction

Urban applications for city planning represent one of the most significant areas in ubiquitous computing, which has great application prospects in urban space research [1,2,3]. In the past, because of the limitations of data availability, analytic tools, and computational capabilities [4], urban computing has been focused more on the analysis of urban physical space [5], functional space [6], and urban form [7]. With the availability of travel data, the focus has recently shifted to the dynamics of social networks [8,9], the evolution of social groups [10,11], and the behavior space of residents [12,13]. As the basis of behavior space analysis, the collective human mobility spatiotemporal patterns are a collection of the time and spatial distribution characteristics of travel behavior, which reflects the spatiotemporal dynamic law of urban travel behavior and helps to reveal the relationship between humans and land in urban environments.
The research on urban travel can be divided into the following three aspects: First, the travel is used to explore land use spatial interaction, which makes the urban land no longer isolated, but a dynamic interaction. By analyzing the citizens’ collective dynamics, Peng et al. [14] pointed out that the characteristics of traveling strongly influence urban formation, evolution, and future planning. Based on the trajectory data and POI data, Yuan et al. [15] and Fu et al. [16] identified different urban functional areas by analyzing the characteristics of travel time series. For better understanding the interactions of urban space, Zhong et al. [17] and Liu et al. [18] identified travel patterns from geo-tagged data to research their relationships with the spatial structure (city hubs, centers, and borders) and the urban built environment. Second, urban travel is applied to traffic analysis, management, and planning. Foell et al. [19] indicated that a main prerequisite for the development of personalized recommender systems is accurate knowledge of travel patterns, and they demonstrated that the prediction accuracy of the mobility pattern can be improved by combing personal and population-wide mobility patterns. Giannotti [20] unveiled the high-level collective mobility knowledge from thousands of private car data to support the decisions of mobility and transportation managers. Peng et al. [14] put forward that the knowledge of the mobility pattern is essential in traffic modeling for simulation, forecast, and control. Third, some scholars have revealed the scaling characteristics of mobility. Brockmann et al. [21] found that the distribution of travelling distances decays as a power law, but Liang et al. [22] discovered that the taxis’ travelling displacements in urban areas tend to follow an exponential distribution instead of a power-law. Liang et al. [23] explained the exponential law of intra-urban mobility as a result of the exponential decrease in average population density in urban areas. Although many scholars have devoted themselves to the above aspects, there are still some deficiencies. Most of the existing studies ignored the differences of mobility patterns and regarded their characteristics and effects on land use and transportation as homogeneous, which is not consistent with reality. As suggested by Yuan et al. [15] and Kang et al. [24], the quality of different venues is different, and their functions vary with the time of day, which are caused by the spatiotemporal differences of travel patterns. For traffic analysis based on travel behavior, the majority of authors did not consider the important parameters: the reasons for moving and traffic demands, which are crucial in each mobility choice and can be obtained by analyzing different travel patterns [25,26]. In terms of movement analysis, Liang et al. [23] pointed out that there is no strong evidence that the collective motions have similar characteristics. Previous studies have shown that we can obtain the geographic spatiotemporal information of blocks, the travelling purposes, the traffic demands and different travelling characteristics by interpreting different types of travel pattern [21,27,28,29]. Therefore, the classification of travel patterns is the basis to further explore cities and transportation. Nevertheless, most of the existing studies on the classification of collective human mobility patterns provide only qualitative descriptions, and quantitative classification results are relatively scarce. Peng et al. [14] found only three kinds of travel patterns on weekdays: commuting between home and workplace, traveling from workplace to workplace, and other patterns such as that for leisure activities. Qi et al. [30] also recognized only three travel patterns and the corresponding regional functions by using a very simple classification method. However, Yuan et al. [15] put forward a functional region corresponding to a mobility pattern, and the regional functions were diverse. Therefore, the classification of mobility patterns still has shortcomings that need to be further studied to understand the causal mechanism of different patterns for the prediction of travel demand, personalized traffic recommendation systems, location choosing, and the planning and management of urban facilities and services [31,32,33].
As one kind of big geospatial data collected through positioning sensors, taxi trajectory data that record the accurate positions and time stamps of the continuous movements of specific people have been widely used to explore urban development [22,34,35]. Due to the large amount of tracking data, a comprehensive analysis is needed to extract useful information. For a mobility pattern, the Origin and Destination (OD) point information of the taxi that records the location and time of the departures and arrivals of taxi passengers is fully adequate to depict the city structure from a land use perspective [36,37,38], while a route that is usually useful for a traffic analysis is not crucial here [39,40,41]. For instance, Yuan et al. [15] proposed a framework that Discovers Regions of different Functions (DRoF) in a city using both taxi OD data and Points Of Interest (POIs) to understand the urban spatial context. Yue et al. [42] and Wang et al. [43] used the taxi OD matrix to discover attractive areas that people often visit and revealed people’s travel demand in a deeper sense to serve taxi transport management and control. Veloso et al. [44] explored the possibility of predicting the next pick-up area type by studying the relationships between pick-up and drop-off locations and characterizing the scenario between taxi services, which is helpful to realize a personalized traffic recommendation system and traffic forecast. In this paper, we expect to classify more mobility patterns from taxi OD point data to support the in-depth study of urban planning and traffic analysis. In the study of human mobility patterns, it is very important to determine the aggregate unit with the OD point data as the research object. Regular grids and traffic zones [1,45] are the most common aggregate units, but they both have limitations in considering the spatiotemporal distribution characteristics of OD points and weaken the spatial characteristics of travel patterns by dividing the OD points of the same travel into different units. First, due to the complexity of urban morphology, it is difficult to determine the division parameters for a regular grid, which often restricts its application [46]. When a road is divided by a grid, the OD points on the same road will be divided into different research units, resulting in data loss. Hence, the regular grid is only suitable for cities with typical latitude and longitude networks, such as the Beijing downtown area and Manhattan. Second, because the taxi OD points are distributed along both sides of the road and have GPS positioning errors, it is impossible to determine exactly on which side of the road the OD points occur. In addition, the network space of urban roads is unevenly distributed, and the traffic zones outside of cities are obviously larger than the traffic zones in cities. This phenomenon leads to difficulties in data normalization and comparison of characteristics, as well as blurs the travel features. Generally, it is also not ideal to make traffic zones aggregate units. Therefore, this paper proposes establishing an aggregate unit for the taxi OD points with road intersections as the constraint condition through a statistical analysis.
The measurement of a time series of aggregate units is a key technique for pattern classification. The Euclidean distance [47], Dynamic Time Warping (DTW) [48], and Fréchet distance [49] metrics are the three conventional and widely-used proximity measures for time series, but those measures ignore the interdependent relationships among the measurements that characterize the time series behavior; the proximity metric is only based on the closeness of the values [50]. To alleviate this major limitation, Chouakria and Nagabhushan [50] proposed a new dissimilarity index based on an automatic adaptive tuning function to include both the behavior and value proximity measures. However, Chouakria and Nagabhushan’s method is not suitable for identifying the mobility patterns in taxi time series data because of the following two special cases that cannot be solved by their method. First, the travel frequency of aggregate units with the same mobility pattern varies greatly. Second, the statistical value of the time node represents the travel amount at the time of the measurement of the taxi time series. The excessive stretching or displacement of the time axis may lead to semantic errors in the matching result, so the matching range of the time node needs to be constrained.
In this study, we designed a new aggregate unit and improved Chouakria and Nagabhushan’s method according to the particular characteristics of taxi travel and used the DBSCAN clustering method to construct a model that is suitable for classifying the mobility patterns obtained from the taxi OD point data. Finally, we identified seven mobility patterns and found that the regional functions have an obvious driving mechanism for those patterns. The rest of the paper is organized as follows: In Section 2, we describe the study area, the measurement method for the time series, and the classification method for the patterns based on the proximity index. In Section 3, we present the case study experiment conducted in Nanjing. Section 4 discusses the driving mechanism of the patterns. Section 5 presents our conclusions on the experimental results and proposes future work.

2. Materials and Methods

In this paper, we present a model for analyzing the collective human mobility spatiotemporal patterns from taxi OD point data. The proposed model involves the development of an aggregate unit, similarity measurement, and pattern classification and provides a basis for further understanding the driving mechanism of different travel patterns. The general structure of the collective human mobility pattern classification model is illustrated in Figure 1.

2.1. Study Area and Data Sources

Nanjing, as the capital of Jiangsu Province in China, is located in the lower reaches of the Yangtze River. Its geographical coordinate range is 31°14′–32°37′ latitude and 118°22′–119°14′ longitude. The total area is 6587.02 km2, of which the built-up area is 1399 km2, and its urbanization rate has reached 82.50%. From a high altitude view, Nanjing City spans the banks of the Yangtze River and is divided into the Jiangbei area and Jiangnan area, which consist of 11 municipal districts. This paper selected the central urban areas, the Xuanwu, Qinhuai, Gulou, Jianye, Yuhuatai, Jiangning, Qixia, Baixia, Xiaguan, and Pukou districts, as the study areas.
The data came from the Nanjing trajectory data of approximately 7700 taxis operating on weekdays from 1–15 September 2010, and the Nanjing road network data were from OSM. The trajectory data for a taxi on a single day include the vehicle status (the “empty state” is 0, and “passenger status” is 1), GPS time, and the latitude and longitude coordinate information. If the taxi tracking point was projected onto a timeline, the passenger status of the taxi could be represented by a series of consecutive 0s and 1s (Figure 2a). When a taxi status changed from no-load to carrying a passenger, this means that a passenger was boarding the taxi. This time was the passenger’s departure time, and the coordinate point was an origin point (O). Otherwise, when the taxi status changed from carrying a passenger to no-load, this means that a passenger exited the taxi. This time was the passenger’s arrival time, and the coordinate point was the passenger’s destination point (D). From the data of 77,000 taxi trajectories, we extracted a total of 2.094 million OD points (Figure 2b).

2.2. Travel Time Series Similarity Measurement

By counting the hourly frequency of taxi OD points in a unit, the time series of departures and arrivals over 24 h can be obtained. The similarity measure is a method for calculating the similarity of these travel time series and is the basic algorithm for a travel time series classification analysis. Based on the morphological characteristics of the taxi time series curve, this paper calculated the similarity of the time series of an aggregate unit by using the time series similarity measure function that combines the distance measurement and the similarity measurement of the growth trend.

2.2.1. Determination of an Aggregate Unit

In a study of human mobility patterns, the OD points need to be collected according to the aggregate units, and then, the aggregate model is established based on the aggregate data of the units. Because the traditional aggregate unit, a regular grid and the traffic zone, cannot take into account the spatial and temporal distribution characteristics of the taxi OD data, this paper attempted to introduce the road intersection as a constraint and construct a method suitable for processing the taxi data.
A total of 7809 road intersections were extracted from the road network data in the study area. An analysis of the attribute information, such as the distance and direction of the OD points to the nearest road intersection, is shown in Figure 3a. The direction from the OD point to the nearest road intersection was 0° in the northern direction, and the 16-azimuth direction was divided into intervals of 22.5°. The red line records the frequency of the OD points in each direction of the road intersection, and its shape is square-like. The distribution of the OD points in the four vertex directions was the highest, which was roughly consistent with the road direction in the study area. In other directions, the OD points in the opposite direction were similar in frequency, indicating that the taxi OD points were evenly distributed around the road intersections. Figure 3b shows that the highest frequency distance between an OD point and the nearest road intersection was in the range of 20–40 m. As the distance increased, the frequency of the statistically-obtained OD points decreased rapidly. According to the cumulative proportion, the proportion of OD points within 200 m of a road intersection was 98.8%. The analysis of the OD points beyond the 200-m range of a road intersection showed that most of them were in uncovered road network areas such as rivers and mountains, which were probably errors caused by GPS signal drift.
Therefore, as shown in Figure 3c, this paper selected the buffer of a road intersection with a bandwidth of 200 m as the research unit, used the OD frequency of taxis as the statistical indicator to collect the processing results, and constructed a time series dataset using one-hour intervals.

2.2.2. Distance Function Based on Dynamic Time Warping

The DTW distance is used to find the best alignment and matching distance between time series as a measure of time series distance. The smaller the value is, the higher the similarity is. As shown in Figure 4, X and Y were two taxi travel time series (O), each generating 24 time node pairs, expressed as [ ( X 1 ,   Y 1 ) , ( X 2 ,   Y 2 ) ,   , ( X 24 ,   Y 24 ) ] .
Then, the distance between the pairs of time nodes was calculated, and the distance matrix was constructed. In D ( F r e X i , F r e Y j ) = | F r e X i F r e Y j | , F r e X i and F r e Y j represent the travel frequency corresponding to the respective time nodes. D ( F r e X i , F r e Y j ) is the absolute difference between the travel frequencies of time nodes X j and Y j , indicating the distance between different time node pairs.
D = [ F r e X 1 , F r e Y 1 F r e X 2 , F r e Y 1 F r e X 24 , F r e Y 1 F r e X 1 , F r e Y 2 F r e X 2 , F r e Y 2 F r e X 24 , F r e Y 2 . . F r e X i , F r e Y j F r e X 1 , F r e Y 24 F r e X 2 , F r e Y 24 F r e X 24 , F r e Y 24 ]
The DTW distance supports the time series matching by time axis scaling and displacement, but in the condition of the taxi time series, since the statistical value corresponding to the time node expressed the traveling frequency of the time node, the excessive stretching or displacement of the time axis may lead to semantic errors in the matching results, so it is necessary to limit the scope of the time axis expansion. This situation can be avoided by adding a time window and effectively reducing the time complexity of the algorithm. In this paper, the time interval of the taxi time series dataset was 1 h. To preserve the morphological characteristics of the time series during the matching process, the value of the DTW time window, w , was 1 (Figure 4). Based on the recursive relationship, using Equation (1), the minimum value of the cumulative distances in the distance matrix was the DTW distance.
D d t w ( F r e X i , F r e Y j ) = D ( F r e X i , F r e Y j ) + m i n { D d t w ( F r e X i 1 , F r e Y j 1 )      D d t w ( F r e X i 1 , F r e Y j )    | i j | 1 D d t w ( F r e X i , F r e Y j 1 )      .
where D d t w ( F r e X i , F r e Y j ) represents the DTW distance (similarity) between the band of time series X before time node X i and the band of time series Y before time node Y j . D d t w ( F r e X 24 , F r e Y 24 ) indicates the similarity between the overall waveforms of time series X and Y .

2.2.3. Adaptive Dissimilarity Index

The DTW distance calculates the similarity of two time series by the degree of approximation of the values. However, there are correlations among the values of each time node in the time series. The direction and rate of growth of the values also express the similarity of the time series [51]. Chouakria and Nagabhushan [50] introduced a method for measuring the time series growth model, the purpose of which was to calculate the correlation coefficient of the growth trend of the time series to correct the time series distance obtained by the conventional metric method, which is also called the adaptive dissimilarity index, as shown in Equation (2).
C O R T ( F r e X 24 , F r e Y 24 ) = i = 1 23 ( F r e X i + 1 F r e X i ) ( F r e Y i + 1 F r e Y i ) i = 1 23 ( F r e X i + 1 F r e X i ) 2 i = 1 23 ( F r e Y i + 1 F r e Y i ) 2 .
The range of C O R T ( F r e X 24 , F r e Y 24 ) is [−1, 1]. C O R T ( F r e X 24 , F r e Y 24 ) = 1 indicates that the two time series, X and Y , have the same growth direction and growth rate at each time node. C O R T ( F r e X 24 , F r e Y 24 ) = 1 indicates that the two time series’ growth rates are the same, but are in opposite directions. C O R T ( F r e X 24 , F r e Y 24 ) = 0 indicates that the growth characteristics of time series X and Y are randomly independent. The larger the value of C O R T ( F r e X 24 , F r e Y 24 )   is , the more similar the two time series are. In the DTW distance function, the more similar the two time series are, the smaller the DTW distance is. Therefore, the exponential adjustment function needs to be used to adjust the adaptive dissimilarity index [52], as shown in the formula:
F ( C O R T ( F r e X 24 , F r e Y 24 ) ) = 2 1 + e x p ( 2 C O R T ( F r e X 24 , F r e Y 24 ) )
After the adjustment, the more similar the two time series are, the smaller the adjustment index F ( C O R T ( F r e X 24 , F r e Y 24 ) ) of the adaptive dissimilarity index is, which is consistent with the change trend of the DTW distance.

2.2.4. Construction of the Similarity Measurement Function

In general, when the amount of travel within a research unit is large, the randomness of the overall travel behavior within the unit is small, and the daily mobility pattern becomes more stable. In the time series, when the amount of travel within a research unit is high, the average DTW distances among the multiple working day time series in the region is small, that is the more similar the time series are. Equation (1) is used to calculate the average DTW distances among the time series of multiple working days in each research unit. As shown in Figure 5a, the frequency of the OD points in the research unit was linearly correlated with the average DTW distance, which is inconsistent with general understanding. This is because the distance between the pairs of the time nodes in the DTW distance formula was calculated by the Euclidean distance. The OD frequencies in the time series dataset may differ by more than several orders of magnitude. As the OD frequency increased, the absolute distance of the two time series increased. As shown in Figure 5b, even though the time series A1, A2, A3, and A4 were exactly the same, the absolute distance between time series A1 and A2 was significantly larger than the absolute distance between time series A3 and A4.
To eliminate the influence of the absolute value of the sample, the original data must be normalized by Equations (4)–(6), where F r e X i represents the corresponding travel frequency of time node X i after normalization. Using Equation (1), the DTW distance of the normalized taxi time series dataset was recalculated. As shown in Figure 5c, as the OD frequency increased, the research unit’s own DTW distance tended to become stable. The time series distance measurement results were more realistic.
X ¯ = 1 24 F r e X i 24
S X = i = 1 24 ( F r e X i X ¯ ) 2 23
F r e X i = ( F r e X i X ¯ ¯ ) S X
Similarly, the adaptive dissimilarity index was verified. Since the adaptive dissimilarity index was calculated by the ratio of the variance sum to the covariance sum, it was insensitive to the absolute value difference of the input time series (Figure 5d), so no normalization was required. With the increase in the OD frequency in the research unit, the CORT coefficient tended to be 1, which indicates that the taxi travel time series tended to be stable on multiple working days in the region, which is consistent with the inference.
In summary, the time series similarity measure function used in this paper can be written as Equation (7), where D ( X ,   Y ) is the index of the final evaluation of the sequence similarity, and the smaller the value is, the more similar the time series are. C O R T ( F r e X 24 , F r e Y 24 ) is the time series adaptive dissimilarity index, and F ( x ) is the adjustment index of the CORT coefficient. D d t w ( F r e X 24 , F r e Y 24 ) is a DTW distance function with a time window and normalization constraints.
D ( X , Y ) = F [ C O R T ( F r e X 24 , F r e Y 24 ) ] × D d t w ( F r e X 24 , F r e Y 24 )

2.3. Collective Human Mobility Spatial-Temporal Pattern Recognition

2.3.1. Clustering Method for the Travel Time Series

The DBSCAN (Density-Based Spatial Clustering of Applications with Noise) algorithm is a clustering method that can effectively eliminate dataset noise. The method is based on a set of neighbors determined by a minimum number (MinPts) of samples within the search radius (Eps), and the search radius is configured to describe how closely the sample set and these two parameters together define the minimum density threshold of the neighborhood. The portion of the sample density greater than the neighborhood density threshold will be identified and clustered, and the portion less than the neighborhood density threshold will be considered noise. Assuming that there are n time series, using the above similarity measure function, each time series has n 1 similarity indexes compared with other time series. Taking any one time series as the kernel sequence, when the similarity index value of at least MinPts time series in the n 1 similarity index is less than Eps, the time series in the search radius will be grouped into a cluster, which corresponds to a mobility pattern.
The silhouette technique is a method to evaluate the quality of the clustering results based on the degree of compactness within the clusters and the degree of separation between the clusters [53]. For the i t h time series in the cluster, calculate the average similarity index of the other time series within the cluster, denoted as a(i), and calculate the minimum similarity index of the time series with the other clusters as b(i). For time series i, the contour coefficient can be expressed by Equation (8):
S ( i ) = b ( i ) a ( i ) m a x { a ( i ) , b ( i ) }
The contour coefficient, S(i), has a value range of [−1, 1], and when S(i) approaches 1, it indicates that time series i is clustered into a suitable cluster. The contour coefficients of the clusters are expressed by the mean values of the contour coefficients of each time series within the cluster. Therefore, when the contour coefficient of the clustering result is close to 1, the clustering effect is better [15].
In this experiment, the iterative method was used to test the contour coefficients of the clustering results under different combinations of the Eps and MinPts parameters, and the minimum density threshold of the neighborhood was obtained to identify the collective human mobility spatiotemporal pattern from the time series.

2.3.2. Comparing the Results with the K-Means Method

To verify the method described in this section, the top 200 research units with the highest frequency of travel on working days were selected as the sample dataset and were clustered based on the similarity index among the time series of the research units. First, the DBSCAN clustering threshold was determined. As shown in Figure 6, the abscissa is the Eps value, and each color curve represents a clustering result corresponding to different MinPts values. When the Eps value was 3.7 and the MinPts was 7, the clustering result contour coefficient of the sample dataset reached a maximum value of 0.91, and the optimal threshold value for the time series dataset was [Eps = 3.7, MinPts = 7], while the corresponding number of clusters was 3. The K-means clustering algorithm was used to cluster the same sample dataset by setting 3 clusters.
As shown in Figure 7, the clustering results were sorted according to the maximum value of the average frequency of the traffic volume. The results of this method were named Cluster 1, Cluster 2, and Cluster 3, and the results of the comparison experiment were named Contrast 1, Contrast 2, and Contrast 3. Cluster 1 contained 11 samples, Cluster 2 71 samples, and Cluster 3 46 samples, which is a total of 128 samples. The remaining 72 samples were considered as random samples that were treated as noise and excluded. Contrast 1 contained 34 samples, Contrast 2 62 samples, Contrast 3 104 samples; thus, these clustering results contained all 200 samples. Since the K-means algorithm cannot eliminate the interference of noise items, the clustering result is more dependent on the absolute value of the trip frequency for classification. The contour coefficient of the clustering result obtained by the K-means algorithm was 0.32, which indicates that the cohesion and separation were not ideal. Therefore, the clustering results obtained by this method were more suitable for a time series cluster analysis of the taxi travel.

3. Results

3.1. Screening the Aggregate Units

From the trend line of the average value of Figure 5c, it can be clearly seen that the stability of the taxi mode in the research unit was closely related to the OD frequency. When the frequency of the research unit was less than approximately 500, the average DTW distances among the time series of multiple working days in each unit rose sharply, and the mobility pattern showed instability. To improve the reliability of the subsequent time series clustering results, the original research unit was screened, and only 1902 research units with an average frequency of more than 500 trips per day were analyzed.

3.2. Extraction of the Spatiotemporal Travel Patterns

3.2.1. Classification of the Travel Time Series

According to the above method, the optimal clustering threshold of the departure and arrival time series in 1902 research units was determined, and the time series was classified. The search radius was from 3–10, the step size 0.1, the minimum sample size from 6–15, and the step size 1; the time series dataset was iteratively clustered 80 times. The clustering contour coefficient and the number of clusters were mapped to the coordinate axes, as shown in Figure 8.
It can be seen from Figure 8 that when the Eps threshold was 8.2, the contour coefficient was the largest, but only two clusters were obtained. The number of clusters was too small to distinguish the mobility pattern well. Seven clusters were obtained by selecting the threshold value of the second largest contour coefficient (0.33) [Eps = 5.7, MinPts = 7]. The clustering results were sorted from large to small according to the maximum average frequency of the traffic and were named PU1–PU7 (Pick-Up) (Figure 9a–g). Based on the same method, the data of the working day departure time series were clustered. When the threshold value was selected [Eps = 6.1, MinPts = 8], the clustering result contour coefficient was 0.31, corresponding to six clusters. According to the maximum average frequency, the clustering results were named DF1–DF6 (Drop-Off) (Figure 9i–n).

3.2.2. Spatial Distribution of the Travel Patterns

By using the DBSCAN clustering method to screen out the noise sequences, a total of 1309 effective research units were obtained, and the clustering results of the departures and arrivals on working days were correlated to obtain the spatial distribution map of the human mobility spatiotemporal patterns (Figure 10).
PU1 contained only 21 research units, but it had the highest average daily travel frequency with an average of 400–500 trips per hour, mainly distributed in Nanjing Railway Station, Lukou Airport, two bus stations, and the Gulou subway station. This type of area was at its peak from 09:00–17:00, and there would be a small peak at 20:00. These areas usually have large transportation hubs or important metro stations in the city, and there is a strong and stable demand for taxis. PU2 contained 47 research units, and the frequency of travel was slightly lower than that of PU1, mainly distributed in Xinjiekou and the Hunan Road shopping districts and some subcentral areas. The time series in these areas had two peaks at approximately 14:00 and 21:00 due to work commuting and the travel to return home after entertainment and shopping in the evening. PU3 was highly concentrated in space, distributed near the Confucius Temple, Block 1912, and the Lions Bridge pedestrian street. The peak travel pattern in this area occurred from evening to night, and the number of departure points in the early morning was higher than in other areas. This type of area comprises the major entertainment areas in Nanjing, with demand for evening travel on weekdays. PU4 had the largest number of research units and the largest regional area, including the main commercial areas of Nanjing. There were three peaks in the number of trips in this area. The daytime peak travel coincided with the working hours, which should be the transactional travel between workplaces, while a slight peak in the evening reflected travel for entertainment purposes. The distance from PU5 to the center of the city is farther than that of PU4. The time series were similar, but the fluctuations of PU4 were smaller, which had less travel in the evening and lower overall travel demand. PU6 had 268 areas with a very obvious morning peak travel. The area is far from the center of the city and is one of the newly-built residential quarters around the city. These areas are mainly residential and lack places for employment. Therefore, the travel in such areas is mainly commuting to workplaces. PU7 contained 67 regions, and the spatial distribution was relatively scattered. It usually appeared at the junction of the PU4, PU5, and PU6 regions. The total amount of travel in the mobility pattern was similar to that of PU6. The waveform was stable and should be a mixed residential and work area.
Figure 10b shows the results of clustering the arrival time series data for working days and obtained DF1 with six travel patterns. Combined with Figure 10a, DF1, 3, 5, and 6 were basically associated with PU1, 3, 6, and 7, respectively. DF1 was still the travel pattern with the largest average travel volume, which showed that the transportation hub had a greater attraction for mass travel. The DF2 area is distributed in the center of the city and contains most of the areas of PU2 and PU4 in terms of the departure pattern. The arrival time series of the region fluctuated less with three smaller arrival peaks in the working hours and evenings, which were presumed to be transactional travel between work sites. DF3 and PU3 had similar distribution ranges, and the arrival frequency reached a peak at approximately 22:00, which was basically synchronized with an increase in the departure traffic volume. The DF4 area was basically coincident with the PU5 area and covered a part of the PU4 area, which is far from the city center. Besides, the arrival time series of the region had two distinct peaks. The number of passengers in the DF5 area increased slowly from the afternoon, with two peaks at 17:00 and 21:00, corresponding to the travel demand for the rush hour and the return to residences at night. DF6 had fewer areas, and the daily average trip volume was the lowest among all travel patterns. Its spatial distribution was similar to that of PU7, and it is a transitional zone of various functional areas.
Superimposing the clustering results of the departure and arrival time series for weekdays, PU1, 3, 6, and 7 were combined with DF1, 3, 5, and 6, respectively, in the arrival classification data, and the number of research units in a single combination accounted for more than 80% of the classification results, which can be considered as the same type of travel. The clustering results PU2, 4, and 5 for the departure data and the clustering results DF2 and 4 for the arrival data had various combinations, and the proportion of any single combination did not exceed 70% of the whole. Because of the significant difference in the time series among PU2, 4, and 5 in the departure data clustering results, we used the clustering results of the departure data to determine the spatiotemporal patterns of taxi travel on weekdays and named the travel patterns Mode 1–Mode 7.

4. Discussion

The above analysis divided and qualitatively analyzed the taxi travel patterns for working days in Nanjing. To further analyze the relationship between each travel spatiotemporal pattern and the functional features in the corresponding unit, this paper discusses the driving mechanism of the mobility patterns in combination with the 22 POI types in Table 1.
The Random Forest (RF) algorithm [54] is good at identifying the relevant features with only a few major influences on the high-dimensional data and supports the quantitative expression of the characteristics of the influencing factors. In recent years, this algorithm has been widely used in various classification applications and predictions such as feature selection and anomaly detection problems [54,55,56,57,58]. Here, we used the random forest approach to calculate the feature importance and feature contribution metrics to analyze the importance and impact trends of different POIs on the seven mobility patterns. The variable importance metric is a quantitative indicator of the impact of each POI feature on the classification result of the model. The principle is that when the importance of a certain POI is high, the POI is replaced by random noise in the travel pattern classification model. The greater the decrease is in the prediction accuracy, the more the degree of feature importance reflects the importance of the influencing factor to the pattern classification. The feature contribution metric [59] is a quantitative indicator of the contribution of a POI feature to the travel pattern classification results of the random forest algorithm. It reflects the impact of the influencing factor on the classification results of the mobility patterns. In the travel pattern division process, when a certain POI feature contribution score has a positive value, it indicates that the POI feature will increase the probability that the research unit is classified into the travel pattern.
The 22 POIs in Table 1 were used to construct the kernel density surface, and the average kernel density values of the various POIs in each study unit were used as the characteristic values. Second, the eigenvalues of different dimensions were normalized using Equation (9).
V X i ,   j = V X i ,   j V X i ,   m i n V X i , m a x V X i ,   m i n
where V X i ,   j represents the mean value of the X i POI kernel density in the study unit j . V X i , m a x and V X i ,   m i n represent the maximum and minimum values of the average kernel density of the X i POIs of all the study units, respectively. V X i ,   j represents the eigenvalue of the X i POI in study unit j after normalization, and the range of the value was [0, 1].
We selected 70% of the research units as a training set, used the random forest algorithm to calculate the feature importance and feature contribution of the POI eigenvalues in the sample set, and constructed an association model between the two POI metrics and the mobility patterns. The remaining 30% of the research units were used to verify the association model, and the metric-based travel pattern classification result confusion matrix was obtained (Table 2).
Based on the confusion matrix of the classification results, the F1 score [60] of each travel pattern class was calculated, which can be used to determine the classification accuracy of each mobility pattern. As shown in Table 3, except for the lower scores of Modes 4 and 7, the classification accuracies of the other travel patterns were greater than 70%, and the model’s overall accuracy (weighted average) reached 72%. The results showed that the POI features selected in this paper were related to the mobility pattern, reflecting that the regional function had a driving effect on the taxi mobility pattern.
Figure 11 further analyzes the feature importance and feature contributions of various travel pattern driving mechanisms. Each black bar in the graph indicates the feature importance, and striped bar indicates the feature contribution. In general, the residential (X1) and commercial (X7–17) features obtained higher scores in the characteristic importance and contribution of most taxi patterns, while the transportation facilities (X18–21) had a lower contribution to each pattern, mainly because these type of POIs were more relevant to bus and subway travel and had less impact on taxi travel. The traffic hub feature (X19) accounted for a very low proportion of the overall feature importance analysis of the model, but it had a large positive contribution to the Mode 1 class. Modes 1 and 2 were very similar after deleting such features. In the Mode 3 category, the characteristic importance and contribution of the restaurants, hotels, and entertainment (X7–9) achieved higher scores, and the catering characteristics had an importance of more than 20%. This phenomenon explains why these areas had more night trips. In the Mode 6 category, the feature importance of the residential community (X1) was 12%, which was significantly higher than the characteristic importance of the residences in all other categories, and the characteristic contribution of the service facilities (parking and retail) of the residential communities in the region also achieved a high score, which verifies that the area was mainly residential. Modes 4 and 5 were also highly correlated with commercial buildings and corporate features, indicating that the area was in a mixed working and residential living area. The importance and characteristics of the various features in Mode 7 were similar, and there were no obvious features. This is because the region was in the transitional zone of various functional areas, which is also the reason why the number of ODs in the regional travel pattern was small.

5. Conclusions

In this paper, we built buffers based on road intersections as the research units. The taxi trajectory data were collected and processed, and the taxi travel time series dataset was constructed. Then, we constructed a travel time series dataset from the taxi trajectory data by using an aggregate model. Based on the time series characteristics of the spatiotemporal patterns of taxi travel, the taxi mobility patterns were identified and extracted based on the time series clustering method. Using a random forest algorithm to establish a correlation model between the mobility patterns and the POI data, a quantitative analysis of the travel pattern driving mechanism was obtained. The main conclusions of this paper are as follows:
  • We used the DBSCAN algorithm, which can effectively eliminate noise, to cluster the taxi travel time series data, and seven departure patterns and six arrival patterns were obtained. Finally, seven human mobility patterns were delimited through spatial matching based on the aggregate units.
  • Using the random forest algorithm, this paper established a correlation model between the mobility patterns and POI features. Using the feature importance and feature contribution measures as indicators, it was verified that the different urban regional functions had different driving mechanisms for the various taxi travel patterns.
The taxi OD point data analyzed in this study are only applicable to study the travel associated with the central city. Buses or other modes are used for long-distance travel and most cases of commuting, and these modes are expected to incorporate intelligent public transport data to improve urban travel and extend the recognition range of the spatiotemporal modes. In addition, when using the POI data to analyze the driving mechanism of the travel patterns, this paper did not consider attributes such as the POI level, area, or influence range. In the future, it will be necessary to add the survey data, such as the land use status data, to further improve the accuracy of the travel pattern driving mechanism analysis.

Author Contributions

Y.S. principally conceived of the idea for the study and provided the financial support. J.Y. was responsible for the design of the study, setting up the experiments and writing the initial draft of the manuscript. B.S. was responsible for completing most of the experiments. L.W. was responsible for the analysis and discussion of the experimental results. J.Z. provided the data for this study.

Funding

This research was funded by the National Natural Science Foundation of China Grant Numbers 41671392 and 41871297.

Acknowledgments

The authors would like to thank the Editors and the anonymous reviewers for their constructive comments and suggestions, which greatly helped to improve the quality of the manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zheng, Y.; Liu, Y.; Yuan, J.; Xie, X. Urban computing with taxicabs. In Proceedings of the 13th International Conference on UBIQUITOUS Computing, Beijing, China, 17–21 September 2011; ACM: New York, NY, USA, 2011; pp. 89–98. [Google Scholar]
  2. Kindberg, T.; Chalmers, M.; Paulos, E. Guest editors introduction: Urban computing. IEEE Pervasive Comput. 2007, 6, 18–20. [Google Scholar] [CrossRef]
  3. Shklovski, I.; Chang, M.F. Guest Editors’ Introduction: Urban Computing—Navigating Space and Context. Computer 2006, 39, 36–37. [Google Scholar] [CrossRef]
  4. Yue, Y.; Lan, T.; Yeh, A.G.O.; Li, Q.Q. Zooming into individuals to understand the collective: A review of trajectory-based travel behaviour studies. Travel Behav. Soc. 2014, 1, 69–78. [Google Scholar] [CrossRef]
  5. Richardson, E.A.; Pearce, J.; Mitchell, R.; Kingham, S. Role of physical activity in the relationship between urban green space and health. Public Health 2013, 127, 318–324. [Google Scholar] [CrossRef] [Green Version]
  6. Tian, G.; Wu, J.; Yang, Z. Spatial pattern of urban functions in the Beijing metropolitan region. Habitat Int. 2010, 34, 249–255. [Google Scholar] [CrossRef]
  7. Rapoport, A. Human Aspects of Urban Form: Towards a Man—Environment Approach to Urban Form and Design; Elsevier: Amsterdam, The Netherlands, 2016. [Google Scholar]
  8. Candia, J.; González, M.C.; Wang, P.; Schoenharl, T.; Madey, G.; Barabási, A.L. Uncovering individual and collective human dynamics from mobile phone records. J. Phys. A Math. 2008, 41, 224015. [Google Scholar] [CrossRef]
  9. Sekara, V.; Stopczynski, A.; Lehmann, S. Fundamental structures of dynamic social networks. Proc. Natl. Acad. Sci. USA 2016, 113, 9977–9982. [Google Scholar] [CrossRef] [Green Version]
  10. Palla, G.; Barabási, A.L.; Vicsek, T. Quantifying social group evolution. Nature 2007, 446, 664–667. [Google Scholar] [CrossRef] [Green Version]
  11. Atzmueller, M.; Ernst, A.; Krebs, F.; Scholz, C.; Stumme, G. Formation and Temporal Evolution of Social Groups during Coffee Breaks. In Big Data Analytics in the Social and Ubiquitous Context; Springer: Cham, Switzerland, 2015; pp. 90–108. [Google Scholar]
  12. Snepenger, D.J.; Murphy, L.; O’Connell, R.; Gregg, E. Tourists and residents use of a shopping space. Ann. Tour. Res. 2003, 30, 567–580. [Google Scholar] [CrossRef]
  13. Shen, Y.; Chai, Y.W. Daily activity space of suburban mega-community residents in Beijing based on GPS data. Acta Geogr. Sin. 2013, 68, 506–516. [Google Scholar]
  14. Peng, C.; Jin, X.; Wong, K.C.; Shi, M.; Liò, P. Collective human mobility pattern from taxi trips in urban area. PLoS ONE 2012, 7, e34487. [Google Scholar]
  15. Yuan, J.; Zheng, Y.; Xie, X. Discovering regions of different functions in a city using human mobility and POIs. In Proceedings of the 18th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Beijing, China, 12–16 August 2012; ACM: New York, NY, USA, 2012; pp. 186–194. [Google Scholar]
  16. Fu, Y.; Liu, G.; Ge, Y.; Wang, P.; Zhu, H.; Li, C.; Xiong, H. Representing urban forms: A collective learning model with heterogeneous human mobility data. IEEE Trans. Knowl. Data Eng. 2018, 31, 535–548. [Google Scholar] [CrossRef]
  17. Zhong, C.; Arisona, S.M.; Huang, X.; Batty, M.; Schmitt, G. Detecting the dynamics of urban structure through spatial network analysis. Int. J. Geogr. Inf. Sci. 2014, 28, 2178–2199. [Google Scholar] [CrossRef]
  18. Liu, X.; Kang, C.; Gong, L.; Liu, Y. Incorporating spatial interaction patterns in classifying and understanding urban land use. Int. J. Geogr. Inf. Sci. 2016, 30, 334–350. [Google Scholar] [CrossRef]
  19. Foell, S.; Phithakkitnukoon, S.; Kortuem, G.; Veloso, M.; Bento, C. Catch me if you can: Predicting mobility patterns of public transport users. In Proceedings of the 17th International IEEE Conference on Intelligent Transportation Systems (ITSC), Qingdao, China, 8–11 Octorber 2014; pp. 1995–2002. [Google Scholar]
  20. Giannotti, F.; Nanni, M.; Pedreschi, D.; Pinelli, F.; Renso, C.; Rinzivillo, S.; Trasarti, R. Unveiling the complexity of human mobility by querying and mining massive trajectory data. VLDB J. Int. J. Data Bases 2011, 20, 695–719. [Google Scholar] [CrossRef]
  21. Brockmann, D.; Hufnagel, L.; Geisel, T. The scaling laws of human travel. Nature 2006, 439, 462–465. [Google Scholar] [CrossRef]
  22. Liang, X.; Zheng, X.; Lv, W.; Zhu, T.; Xu, K. The scaling of human mobility by taxis is exponential. Phys. A Stat. Mech. Appl. 2012, 391, 2135–2144. [Google Scholar] [CrossRef] [Green Version]
  23. Liang, X.; Zhao, J.; Dong, L.; Xu, K. Unraveling the origin of exponential law in intra-urban human mobility. Sci. Rep. 2013, 3, 2983. [Google Scholar] [CrossRef]
  24. Wu, L.; Zhi, Y.; Sui, Z.; Liu, Y. Intra-urban human mobility and activity transition: Evidence from social media check-in data. PLoS ONE 2014, 9, e97010. [Google Scholar] [CrossRef]
  25. Calabrese, F.; Di Lorenzo, G.; Ratti, C. Human mobility prediction based on individual and collective geographical preferences. In Proceedings of the 13th international IEEE Conference on Intelligent Transportation Systems, Funchal, Portugal, 19–22 September 2010; pp. 312–317. [Google Scholar]
  26. Abbasi, O.; Alesheikh, A.; Sharif, M. Ranking the city: The role of location-based social media check-ins in collective human mobility prediction. ISPRS Int. J. Geo-Inf. 2017, 6, 136. [Google Scholar] [CrossRef]
  27. Gonzalez, M.C.; Hidalgo, C.A.; Barabasi, A.L. Understanding individual human mobility patterns. Nature 2008, 453, 779–782. [Google Scholar] [CrossRef] [PubMed]
  28. Jiang, B.; Yin, J.; Zhao, S. Characterizing the human mobility pattern in a large street network. Phys. Rev. E 2009, 80, 021136. [Google Scholar] [CrossRef] [Green Version]
  29. Kitamura, R.; Chen, C.; Pendyala, R.M.; Narayanan, R. Micro-simulation of daily activity-travel patterns for travel demand forecasting. Transportation 2000, 27, 25–51. [Google Scholar] [CrossRef]
  30. Qi, G.; Li, X.; Li, S.; Pan, G.; Wang, Z.; Zhang, D. Measuring social functions of city regions from large-scale taxi behaviors. In Proceedings of the 2011 IEEE International Conference on Pervasive Computing and Communications Workshops (PERCOM Workshops), Seattle, WA, USA, 21–25 March 2011; pp. 384–388. [Google Scholar]
  31. Veloso, M.; Phithakkitnukoon, S.; Bento, C. Sensing urban mobility with taxi flow. In Proceedings of the 3rd ACM SIGSPATIAL International Workshop on Location-Based Social Networks, Chicago, IL, USA, 1 November 2011; pp. 41–44. [Google Scholar]
  32. Kang, C.; Sobolevsky, S.; Liu, Y.; Ratti, C. Exploring human movements in Singapore: A comparative analysis based on mobile phone and taxicab usages. In Proceedings of the 2nd ACM SIGKDD International Workshop on Urban Computing, Chicago, IL, USA, 11 August 2013; p. 1. [Google Scholar]
  33. Han, X.P.; Hao, Q.; Wang, B.H.; Zhou, T. Origin of the scaling law in human mobility: Hierarchy of traffic systems. Phys. Rev. E 2011, 83, 036117. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  34. Liu, Y.; Kang, C.; Gao, S.; Xiao, Y.; Tian, Y. Understanding intra-urban trip patterns from taxi trajectory data. J. Geogr. Syst. 2012, 14, 463–483. [Google Scholar] [CrossRef]
  35. Liu, Y.; Wang, F.; Xiao, Y.; Gao, S. Urban land uses and traffic ‘source-sink areas’: Evidence from GPS-enabled taxi data in Shanghai. Landsc. Urban Plan. 2012, 106, 73–87. [Google Scholar] [CrossRef]
  36. Tanahashi, Y.; Rowland, J.R.; North, S.; Ma, K.L. Inferring human mobility patterns from anonymized mobile communication usage. In Proceedings of the 10th International Conference on Advances in Mobile Computing Multimedia, Bali, Indonesia, 3–5 December 2012; pp. 151–160. [Google Scholar]
  37. Roth, C.; Kang, S.M.; Batty, M.; Barthélemy, M. Structure of urban movements: Polycentric activity and entangled hierarchical flows. PLoS ONE 2011, 6, e15923. [Google Scholar] [CrossRef] [PubMed]
  38. Guo, D.; Zhu, X.; Jin, H.; Gao, P.; Andris, C. Discovering spatial patterns in origin-destination mobility data. Trans. Gis 2012, 16, 411–429. [Google Scholar] [CrossRef]
  39. Fang, Z.; Shaw, S.L.; Tu, W.; Li, Q.; Li, Y. Spatiotemporal analysis of critical transportation links based on time geographic concepts: A case study of critical bridges in Wuhan, China. J. Transp. Geogr. 2012, 23, 44–59. [Google Scholar] [CrossRef]
  40. Gao, S.; Wang, Y.; Gao, Y.; Liu, Y. Understanding urban traffic-flow characteristics: A rethinking of betweenness centrality. Env. Plan. B Plan. Des. 2013, 40, 135–153. [Google Scholar] [CrossRef]
  41. Li, Q.; Zhang, T.; Wang, H.; Zeng, Z. Dynamic accessibility mapping using floating car data: A network-constrained density estimation approach. J. Transp. Geogr. 2011, 19, 379–393. [Google Scholar] [CrossRef]
  42. Yue, Y.; Zhuang, Y.; Li, Q.; Mao, Q. Mining time-dependent attractive areas and movement patterns from taxi trajectory data. In Proceedings of the 2009 17th International Conference on Geoinformatics, Fairfax, VA, USA, 12–14 August 2009; pp. 1–6. [Google Scholar]
  43. Wang, H.; Zou, H.; Yue, Y.; Li, Q. Visualizing hot spot analysis result based on mashup. In Proceedings of the 2009 International Workshop on Location Based Social Networks, Seattle, WA, USA, 3 November 2009; pp. 45–48. [Google Scholar]
  44. Veloso, M.; Phithakkitnukoon, S.; Bento, C. Urban mobility study using taxi traces. In Proceedings of the 2011 International Workshop on Trajectory Data Mining and Analysis, Beijing, China, 18 September 2011; pp. 23–30. [Google Scholar]
  45. Liu, X.; Gong, L.; Gong, Y.; Liu, Y. Revealing travel patterns and city structure with taxi trip data. J. Transp. Geogr. 2015, 43, 78–90. [Google Scholar] [CrossRef] [Green Version]
  46. Shen, J.; Liu, X.; Chen, M. Discovering spatial and temporal patterns from taxi-based Floating Car Data: A case study from Nanjing. Gisci. Remote Sens. 2017, 54, 617–638. [Google Scholar] [CrossRef]
  47. Liao, T.W. Clustering of time series data—A survey. Pattern Recognit. 2005, 38, 1857–1874. [Google Scholar] [CrossRef]
  48. Sankoff, D. Time warps, string edits, and macromolecules. Theory Pract. Seq. Comp. Read. 1983, 11, 356. [Google Scholar]
  49. Fréchet, M.M. Sur quelques points du calcul fonctionnel. Rendiconti del Circolo Matematico di Palermo (1884–1940) 1906, 22, 1–72. [Google Scholar] [Green Version]
  50. Chouakria, A.D.; Nagabhushan, P.N. Adaptive dissimilarity index for measuring time series proximity. Adv. Data Anal. Classif. 2007, 1, 5–21. [Google Scholar] [CrossRef]
  51. Hennig, C.; Hausdorf, B. Design of Dissimilarity Measures: A New Dissimilarity between Species Distribution Areas. In Data Science and Classification; Springer: Berlin/Heidelberg, Germany, 2006. [Google Scholar]
  52. Montero, P.; Vilar, J.A. TSclust: An R Package for Time Series Clustering. J. Stat. Softw. 2014, 62, 1–43. [Google Scholar] [CrossRef]
  53. Rousseeuw, P.J. Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. J. Comput. Appl. Math. 1987, 20, 53–65. [Google Scholar] [CrossRef] [Green Version]
  54. Cutler, A.; Cutler, D.R.; Stevens, J.R. Random forests. In Ensemble Machine Learning: Methods and Applications; Springer: Berlin/Heidelberg, Germany, 2012. [Google Scholar]
  55. Strobl, C.; Boulesteix, A.L.; Kneib, T.; Augustin, T.; Zeileis, A. Conditional variable importance for random forests. BMC Bioinform. 2008, 9, 307. [Google Scholar] [CrossRef]
  56. Reif, D.M.; Motsinger, A.A.; McKinney, B.A.; Crowe, J.E.; Moore, J.H. Feature selection using a random forests classifier for the integrated analysis of multiple data types. In Proceedings of the 2006 IEEE Symposium on Computational Intelligence in Bioinformatics and Computational Biology, CIBCB’06, Toronto, ON, Canada, 28–29 September 2006. [Google Scholar]
  57. Khalilia, M.; Chakraborty, S.; Popescu, M. Predicting disease risks from highly imbalanced data using random forest. BMC Med. Inf. Decis. Mak. 2011, 11, 51. [Google Scholar] [CrossRef] [PubMed]
  58. Verikas, A.; Gelzinis, A.; Bacauskiene, M. Mining data with random forests: A survey and results of new tests. Pattern Recognit. 2011, 44, 330–349. [Google Scholar] [CrossRef]
  59. Kuz’min, V.E.; Polishchuk, P.G.; Artemenko, A.G.; Andronati, S.A. Interpretation of QSAR models based on random forest methods. Mol. Inf. 2011, 30, 593–603. [Google Scholar] [CrossRef] [PubMed]
  60. Yang, J.; Zhu, J.; Sun, Y.; Zhao, J. Delimitating Urban Commercial Central Districts by Combining Kernel Density Estimation and Road Intersections: A Case Study in Nanjing City, China. ISPRS Int. J. Geo-Inf. 2019, 8, 93. [Google Scholar] [CrossRef]
Figure 1. Overview of the procedure for collective human mobility spatiotemporal pattern recognition.
Figure 1. Overview of the procedure for collective human mobility spatiotemporal pattern recognition.
Sensors 19 02812 g001
Figure 2. Illustration of the study area (Nanjing, China): (a) the spatial distribution of the taxi one-day tracking points, (b) the spatial distribution of the taxi OD points and the 10 districts in Nanjing. OD, origin-destination.
Figure 2. Illustration of the study area (Nanjing, China): (a) the spatial distribution of the taxi one-day tracking points, (b) the spatial distribution of the taxi OD points and the 10 districts in Nanjing. OD, origin-destination.
Sensors 19 02812 g002
Figure 3. Illustration of the aggregate unit: (a) chart of the OD frequency in each direction of the road intersection, (b) chart of the distances from the OD points to the nearest road intersection, and (c) diagram of the aggregate unit.
Figure 3. Illustration of the aggregate unit: (a) chart of the OD frequency in each direction of the road intersection, (b) chart of the distances from the OD points to the nearest road intersection, and (c) diagram of the aggregate unit.
Sensors 19 02812 g003aSensors 19 02812 g003b
Figure 4. Diagram of the DTW distance function considering the time window (DTW, dynamic time warping).
Figure 4. Diagram of the DTW distance function considering the time window (DTW, dynamic time warping).
Sensors 19 02812 g004
Figure 5. Time series similarity measurement: (a) the unnormalized correlation between the DTW distance and the OD frequency, (b) the differences in the absolute distances within the same series, (c) the normalized correlation between the DTW distance and the OD frequency, and (d) the correlation between the CORT coefficient and the OD frequency.
Figure 5. Time series similarity measurement: (a) the unnormalized correlation between the DTW distance and the OD frequency, (b) the differences in the absolute distances within the same series, (c) the normalized correlation between the DTW distance and the OD frequency, and (d) the correlation between the CORT coefficient and the OD frequency.
Sensors 19 02812 g005
Figure 6. Determining the threshold value: (a) the correlation between the Eps value and the contour coefficient with different MinPts values and (b) the correlation between the Eps value and the number of clusters with different MinPts values.
Figure 6. Determining the threshold value: (a) the correlation between the Eps value and the contour coefficient with different MinPts values and (b) the correlation between the Eps value and the number of clusters with different MinPts values.
Sensors 19 02812 g006
Figure 7. Clustering results of the simulation experiments: (ac) the clustering results of the proposed method and (df) the clustering results of the K-means method.
Figure 7. Clustering results of the simulation experiments: (ac) the clustering results of the proposed method and (df) the clustering results of the K-means method.
Sensors 19 02812 g007
Figure 8. Determination of the clustering threshold value of the departure time series on weekdays: (a) the contour coefficients of the clustering results under different threshold combinations and (b) the number of clusters under different threshold combinations.
Figure 8. Determination of the clustering threshold value of the departure time series on weekdays: (a) the contour coefficients of the clustering results under different threshold combinations and (b) the number of clusters under different threshold combinations.
Sensors 19 02812 g008
Figure 9. (ah) The departure time series of the collective human mobility patterns on weekdays and (io) the arrival time series of the collective human mobility patterns on weekdays.
Figure 9. (ah) The departure time series of the collective human mobility patterns on weekdays and (io) the arrival time series of the collective human mobility patterns on weekdays.
Sensors 19 02812 g009aSensors 19 02812 g009b
Figure 10. Spatial distribution map of the departure and arrival patterns on weekdays. PU, Pick-Up. DF, Drop-Off.
Figure 10. Spatial distribution map of the departure and arrival patterns on weekdays. PU, Pick-Up. DF, Drop-Off.
Sensors 19 02812 g010
Figure 11. Driving mechanisms of the different travel patterns on weekdays: (ag) the feature importance and feature contribution metrics of different POIs of mode1–mode7. POIs, Points of interest.
Figure 11. Driving mechanisms of the different travel patterns on weekdays: (ag) the feature importance and feature contribution metrics of different POIs of mode1–mode7. POIs, Points of interest.
Sensors 19 02812 g011aSensors 19 02812 g011b
Table 1. POI feature set and land use types.
Table 1. POI feature set and land use types.
Feature IDFeature DescriptionUrban Construction Land Category
X1Residential areaResidential
X2Government agencyAdministrative office
X3Cultural facilitiesCultural facility
X4School/research instituteEducational /Research
X5HospitalMedical
X6Scenic areaCultural relics and historic sites; religious facilities
X7RestaurantCommercial facility
X8HostelCommercial facility
X9Entertainment venueCommercial facility
X10SupermarketCommercial facility
X11Department storeCommercial facility
X12Retail storeCommercial facility
X13Commercial BuildingCommercial facility
X14BankCommercial facility
X15CompanyCommercial facility; Industrial
X16CinemaRecreation and wellness facilities
X17Wellness facilityRecreation and wellness facilities
X18Subway stationUrban rail transit
X19Transportation hubTransportation hub
X20Bus stationTraffic station site
X21Parking lotTraffic station site
X22Park/gardenGreen space
Table 2. The confusion matrix of the taxi mobility pattern classification results.
Table 2. The confusion matrix of the taxi mobility pattern classification results.
Simulation ModeMode 1Mode 2Mode 3Mode 4Mode 5Mode 6Mode 7
Actual Mode
Mode 17001100
Mode 20900600
Mode 30070500
Mode 4000221411
Mode 5000159240
Mode 600012150
Mode 70003312
Table 3. Accuracy of the classification model for the weekday travel patterns.
Table 3. Accuracy of the classification model for the weekday travel patterns.
ModePrecisionRecallF1-ScoreSupport
Mode 11.000.780.889
Mode 21.000.600.7515
Mode 31.000.580.7412
Mode 40.520.580.5538
Mode 50.750.830.79111
Mode 60.710.830.7718
Mode 70.670.220.339
Weighted average0.740.730.72212

Share and Cite

MDPI and ACS Style

Yang, J.; Sun, Y.; Shang, B.; Wang, L.; Zhu, J. Understanding Collective Human Mobility Spatiotemporal Patterns on Weekdays from Taxi Origin-Destination Point Data. Sensors 2019, 19, 2812. https://doi.org/10.3390/s19122812

AMA Style

Yang J, Sun Y, Shang B, Wang L, Zhu J. Understanding Collective Human Mobility Spatiotemporal Patterns on Weekdays from Taxi Origin-Destination Point Data. Sensors. 2019; 19(12):2812. https://doi.org/10.3390/s19122812

Chicago/Turabian Style

Yang, Jing, Yizhong Sun, Bowen Shang, Lei Wang, and Jie Zhu. 2019. "Understanding Collective Human Mobility Spatiotemporal Patterns on Weekdays from Taxi Origin-Destination Point Data" Sensors 19, no. 12: 2812. https://doi.org/10.3390/s19122812

APA Style

Yang, J., Sun, Y., Shang, B., Wang, L., & Zhu, J. (2019). Understanding Collective Human Mobility Spatiotemporal Patterns on Weekdays from Taxi Origin-Destination Point Data. Sensors, 19(12), 2812. https://doi.org/10.3390/s19122812

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