Final Year Project in SEU, 2021.06
Getting the information of residents’ travel needs is a prerequisite for guiding the construction of transportation infrastructure and urban transportation planning. In the context of the era of big traffic data, this paper designs a travel demand information extraction algorithm, based on Global Positioning System (GPS) trajectory data, extracts motion feature indicators after preprocessing, conducts exploratory data analysis to discover transportation modes and finds that there are obvious differences in the distribution characteristics of speed and acceleration, and these differences can be used to identify different transportation modes. On this basis, the travel characteristics are selected in combination with the Pearson correlation coefficient matrix and the Random Forest model, and finally the maximum speed, speed standard deviation, non-zero average speed, maximum acceleration, acceleration standard deviation and average acceleration corresponding to non-zero speed are used as characteristic variables. In the travel demand information algorithm design, the Support Vector Machine algorithm and the XGBoost algorithm are used and compared, and the latter is found to be better to identify different transportation modes. In order to further improve the recognition accuracy, this paper uses the Stacking model fusion method, combined with a variety of machine learning algorithms to extract travel demand information, and finally the weighted macro average F1-score on the test set reaches 89.43%. Through the sensitivity analysis of data sampling frequency, it is found that selecting the lowest data sampling frequency appropriately can improve the efficiency of data storage while ensuring the recognition effect of the algorithm. Through the travel demand information extraction algorithm designed in this paper, the travel demand information of residents can be grasped in a timely manner to meet the needs of the rapid development of contemporary urban transportation.
KEY WORDS: GPS trajectory data, transportation mode, travel characteristics, machine learning algorithm
- Example Data
- Data Matching.py
- Data Process.py
- Feature Calculate.py
- Feature Extract.py
- Data Analysis.py
- Data Analysis.html
- RF_feature select.py
- SVM.py
- Learning Curve of SVM.png
- XGBoost.py
- Learning Curve of XGBoost.png
- Stacking Model.py
- Learning Curve of Stacking.png