摘要To improve the forecasting accuracy of short-term traffic flow and provide precise and reliable traffic information for traffic management units and travelers, this study proposes a hybrid prediction model that is based on the characteristics of K-nearest neighbor (KNN) method and support vector regression (SVR). The proposed hybrid model, i.e. KNN-SVR, mimics the search mechanism of the KNN method to reconstruct a time series of historical traffic flow that is similar to the current traffic flow. Then, the SVR is used for short-term traffic flow forecasting. Using actual traffic flow data, we study the effect of the traffic flows on target and adjacent section roads and analyze the forecasting accuracy of the proposed model. Results show that the KNN-SVR model that considers the target and adjacent section roads has the best performance, having a mean absolute percentage error (MAPE) of 8.29%. The forecasting error of the KNN-SVR model that considers only the target section road is slightly large, having an average MAPE of 9.16%. Furthermore, the forecasting accuracy of the KNN-SVR model is better than that of traditional prediction models, such as the KNN method, SVR, and neural networks.
Abstract:To improve the forecasting accuracy of short-term traffic flow and provide precise and reliable traffic information for traffic management units and travelers, this study proposes a hybrid prediction model that is based on the characteristics of K-nearest neighbor (KNN) method and support vector regression (SVR). The proposed hybrid model, i.e. KNN-SVR, mimics the search mechanism of the KNN method to reconstruct a time series of historical traffic flow that is similar to the current traffic flow. Then, the SVR is used for short-term traffic flow forecasting. Using actual traffic flow data, we study the effect of the traffic flows on target and adjacent section roads and analyze the forecasting accuracy of the proposed model. Results show that the KNN-SVR model that considers the target and adjacent section roads has the best performance, having a mean absolute percentage error (MAPE) of 8.29%. The forecasting error of the KNN-SVR model that considers only the target section road is slightly large, having an average MAPE of 9.16%. Furthermore, the forecasting accuracy of the KNN-SVR model is better than that of traditional prediction models, such as the KNN method, SVR, and neural networks.
基金资助:Supported by the National Natural Science Foundation of China (No.61573106); The Scientific Innovation Research of College Graduates in Jiangsu Province (No.KYLX_0168)
通讯作者:
LIU Zhao
E-mail: liuzhao_xy@sina.com
引用本文:
刘钊, 杜威, 闫冬梅, 柴干, 郭建华. 基于K近邻算法和支持向量回归组合的短时交通流预测[J]. Journal of Highway and Transportation Research and Development, 2018, 12(1): 89-96.
LIU Zhao, DU Wei, YAN Dong-mei, CHAI Gan, GUO Jian-hua. Short-term Traffic Flow Forecasting Based on Combination of K-nearest Neighbor and Support Vector Regression. Journal of Highway and Transportation Research and Development, 2018, 12(1): 89-96.
[1] VLAHOGIANNI E I, GOLIAS J C, KARLAFTIS M G. Short-term Traffic Forecasting:Overview of Objectives and Methods[J]. Transport Reviews, 2004,24(5):533-557.
[2] SMITH B L, WILLIAMS B M, OSWALD R K. Comparison of Parametric and Nonparametric Models for Traffic Flow Forecasting[J]. Transportation Research Part C:Emerging Technologies, 2002,10(4):303-321.
[3] KARLAFTIS M G, VLAHOGIANNI E I. Memory Properties and Fractional Integration in Transportation Time Series[J]. Transportation Research Part C:Emerging Technologies, 2009,17(4):444-453.
[4] GUO J H, WILLIAMS B M. Real Time Short Term Traffic Speed Level Forecasting and Uncertainty Quantification Using Layered Kalman Filters[J]. Transportation Research Record:Journal of the Transportation Research Board, 2010,2175:28-37.
[5] SONG Guo-jie, HU Cheng, XIE Kun-qing, et al. Process Neural Network Modeling for Real Time Short-term Traffic Flow Prediction[J]. Journal of Traffic and Transportation Engineering, 2009,9(5):73-77. (in Chinese)
[6] YANG Chun-xia,FU Yi-qin,BAO Tie-nan. Short-term Traffic Flow Prediction Based on Similarity[J]. Journal of Highway and Transportation Research and Development, 20015,32(10):124-128. (in Chinese)
[7] ZHANG Tao, CHEN Xian, XIE Mei-ping, el al. K-NN Based on Nonparametric Regression Method for Short Term Traffic Flow Forecasting[J]. System Engineering-Theory & Practice, 2010,30(2):376-384. (in Chinese)
[8] WU Q. A Hybrid-Forecasting Model Based on Gaussian Support Vector Machine and Chaotic Particle Swarm Optimization[J]. Expert Systems with Applications, 2010,37(3):2388-2394.
[9] GUO Jian-hua, WILLIAMS B, SMITH B. Data Collection Time Intervals for Stochastic Short-term Traffic Flow Forecasting[J]. Transportation Research Record, 2008,2024:18-26.
[10] SUN Zhan-quan, PAN Jing-shan, ZHANG Zan-jun, et al. Traffic Flow Forecast Based on Combining Principal Component Analysis with Support Vector Machine[J]. Journal of Highway and Transportation Research and Development, 2009,26(5):127-131. (in Chinese)
[11] FAN Na, ZHAO Xiang-mo, DAI Ming, et al. Short-term Traffic Flow Prediction Model[J]. Journal of Traffic and Transportation Engineering, 2012(4):114-119. (in Chinese)
[12] SHEN Guo-jiang, WANG Xiao-hu, KONG Xiang-jie. Short-term Traffic Volume Intelligent Hybrid Forecasting Model and Its Application[J]. System Engineering-Theory & Practice, 2011,31(3):561-568. (in Chinese)
[13] HUANG Ling, LIN Pei-qun, XU Jian-min. Urban Road Network Traffic Congestion Prediction Model Based on Probe Vehicle Technology[J]. Journal of Highway and Transportation Research and Development, 2009,26(10):121-125. (in Chinese)
[14] WANG J, Shi Q. Short-term Traffic Speed Forecasting Hybrid Model Based on Chaos-wavelet Analysis-support Vector Machine Theory[J]. Transportation Research Part C:Emerging Technologies, 2013,27:219-232.
[15] XIANG Xiao-dong. Research on Forecast of Nonlinear Time Series Based on Neural Networks and Chaotic Theory[D]. Chengdu:Southeast Jiaotong University, 2002.
[16] YANG Zhao-sheng, WANG Yuan, GUAN Qing. Short-term Traffic Flow Prediction Method Based on SVM[J]. Journal of Jilin University Engineering and Technology Edition, 2006,36(6):881-884. (in Chinese)
[17] ZHANG Xiao-li, LU Hua-pu. Non-parametric Regression for Short-term Traffic Flow Forecasting[J]. Journal of Tsinghua University:Science and Technology, 2009,5(9):1471-1475. (in Chinese)
[18] SMOLA A J, SCHÖLKOPF B. A Tutorial on Support Vector Regression[J]. Statistics and Computing, 2004, 14(3):199-222.
[19] YUAN F, CHEU R L. Incident Detection Using Support Vector Machines[J]. Transportation Research Part C:Emerging Technologies, 2003, 11(3):309-328.
[20] TAN M C, WONG S C, XU J M, et al. An Aggregation Approach to Short-term Traffic Flow Prediction[J]. IEEE Transactions on Intelligent Transportation Systems, 2009,10(1):60-69.
[1]
周星宇, 李红梅, 郑伟皓, 唐智慧, 杨丽君. 基于交互式BP-UKF模型的短时交通流预测方法[J]. Journal of Highway and Transportation Research and Development, 2019, 13(2): 56-64.
[2]
李高盛, 彭玲, 李祥, 吴同. 基于LSTM的城市公交车站短时客流量预测研究[J]. Journal of Highway and Transportation Research and Development, 2019, 13(2): 65-72.
[3]
胡宝雨, 赵琥, 孙祥龙, 王弟鑫, 刘宁. 城市公交与农村客运同步换乘模型研究[J]. Journal of Highway and Transportation Research and Development, 2019, 13(2): 73-79.
[4]
郭建科, 邱煜焜, 白家圆, 王利. 基于城市公共交通可达性的医疗服务空间分异及均等化研究——以大连市为例[J]. Journal of Highway and Transportation Research and Development, 2019, 13(2): 80-89.
[5]
赵妮娜, 赵晓华, 林展州, 葛书芳. 主线分流互通立交指路标志版面形式研究[J]. Journal of Highway and Transportation Research and Development, 2019, 13(2): 90-102.
[6]
姜明, 陈艳艳, 冯移冬, 周瑞. 路侧示警桩设置关键指标研究[J]. Journal of Highway and Transportation Research and Development, 2019, 13(1): 79-87.
[7]
蔡静, 刘莹, 张明辉. 京津冀货物运输结构调整策略研究[J]. Journal of Highway and Transportation Research and Development, 2019, 13(1): 88-93.
[8]
邱欣, 徐静娴, 陶钰强, 杨青. 路面结冰条件判别标准及SVM预测分析研究[J]. Journal of Highway and Transportation Research and Development, 2018, 12(4): 1-9.
[9]
常云涛, 王奕彤. 连续流交叉口信号配时优化模型[J]. Journal of Highway and Transportation Research and Development, 2018, 12(4): 66-74.
[10]
林丽, 冯辉, 朱泳旭. 基于Ring-Barrier相位的干线公交协调控制[J]. Journal of Highway and Transportation Research and Development, 2018, 12(4): 85-91.
[11]
胡祖平, 何建佳. 基于网络可靠性的街区开放适宜度研究[J]. Journal of Highway and Transportation Research and Development, 2018, 12(4): 51-58.
[12]
陈红, 马晓彤, 赵丹婷. 基于元胞自动机的破损路面车辆换道仿真研究[J]. Journal of Highway and Transportation Research and Development, 2018, 12(4): 75-84.
[13]
李新, 毛剑楠, 骆晨, 刘澜. 基于MFD的路网可扩展边界控制方法研究[J]. Journal of Highway and Transportation Research and Development, 2018, 12(4): 59-65.
[14]
梁仁鸿, 仵思燃. 公路货物运输量统计新试行方案问题分析及完善思路研究[J]. Journal of Highway and Transportation Research and Development, 2018, 12(4): 103-110.
[15]
郝丽, 胡大伟, 李晨. T-JIT环境下企业供应链中采购管理供应商选择和订单分配研究[J]. Journal of Highway and Transportation Research and Development, 2018, 12(3): 80-89.