摘要
针对公交车到站时间预测准确性不高的问题,选用具有流式计算特点的粒子滤波(PF)算法,建立了一个公交到站时间预测模型。为更好地解决使用PF算法过程中存在的预测误差及粒子优化选择问题,通过引入上一趟公交车的行驶速度和构造观测值的方法对预测模型进行改进,使之具有更贴近实际路况的公交到站时间预测精度,并且能同时预测多个公交到达时间。基于该模型和Spark平台实现了一套公交到站时间实时预测软件系统,所有到站时间预测结果与实际相比,平峰的最大绝对误差为207 s,平均绝对误差为71. 67 s;高峰的最大绝对误差为270 s,平均绝对误差为87. 61 s,而预测结果的平均绝对误差在2 min以内是公认的理想结果。实验结果表明,所提模型及实现系统能准确预测公交到站时间,满足乘客实际需求。
To improve the accuracy of bus arrival time prediction,a Particle Filter(PF)algorithm with stream computing characteristic was used to establish a bus arrival time prediction model.In order to solve the problems of prediction error and particle optimization in the process of using PF algorithm,the prediction model was improved by introducing the latest bus speed and constructing observations,making it predict bus arrival time closer to the actual road conditions and simultaneously predict the arrival times of multiple buses.Based on the above model and Spark platform,a real-time bus arrival time prediction software system was implemented.Compared with actual results,for the off-peak period,the maximum absolute error was 207 s,and the mean absolute error was 71.67 s;for the peak period,the maximum absolute error was 270 s,and the mean absolute error was 87.61 s.The mean absolute error of the predicted results was within 2 min which was a recognized ideal result.The experimental results show that the proposed model and implementated system can accurately predict bus arrival time and meet passengers actual demand.
作者
刘靖
肖冠烽
LIU Jing;XIAO Guanfeng(College of Computer Science,Inner Mongolia University,Hohhot Nei Mongol 010021,China)
出处
《计算机应用》
CSCD
北大核心
2019年第2期429-435,共7页
journal of Computer Applications
基金
国家自然科学基金资助项目(61662051)~~