短时交通流预测的改进K近邻算法

来源 :交通运输工程学报 | 被引量 : 0次 | 上传用户:982114
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
分析了原有的短时交通流预测的K近邻算法,用模式距离搜索方法代替原有的欧氏距离搜索方法,引入多元统计回归模型,建立了一种改进的短时交通流预测的K近邻算法,并以北京市某路段进行实例验证。试验结果表明:当K取23时,利用改进的K近邻算法,预测结果的均方误差、平均相对误差、平均绝对误差分别为31.43%、4.17%、0.27%;利用原有的K近邻算法,预测结果的均方误差、平均相对误差、平均绝对误差分别为33.33%、4.40%、0.28%;利用历史平均模型,预测结果的均方误差、平均相对误差、平均绝对误差分别为46.20%、11.40%、0.48%。可见,改进的K近邻算法的预测精度明显高于其他2种方法,在提高搜索效率的同时准确地刻画了交通流的真实情况。 The K-nearest neighbor algorithm for short-term traffic flow prediction was analyzed. The original Euclidean distance search method was replaced by the model distance search method, and multivariate regression model was introduced to establish an improved K-nearest neighbor Algorithm, and a section of Beijing to verify the examples. The experimental results show that the mean square error, average relative error and average absolute error of the predicted results are 31.43%, 4.17% and 0.27%, respectively, using the improved K nearest neighbor algorithm when K is taken as 23; using the original K nearest neighbor algorithm, The mean square error, average relative error and average absolute error of prediction results were 33.33%, 4.40% and 0.28% respectively. Using the historical average model, the mean square error, average relative error and average absolute error of the prediction results were 46.20% and 11.40 respectively %, 0.48%. It can be seen that the prediction accuracy of the improved K nearest neighbor algorithm is obviously higher than the other two methods, which accurately depicts the real situation of traffic flow while improving the search efficiency.
其他文献
为了提升学生的素质,促进素质教育的发展,从而保障学生的全面发展。文章首先概述了素质教育,阐述了素质教育的价值,然后分析了当前我国素质教育发展过程中遇到的困境,最后提
据广东年鉴编纂委员会出版的《广东年鉴2019》相关数据显示,广东玩具以“加工贸易”方式出口的产品占比继续下降,从改革开放初期占出口总额90%以上,下降到2018年的41%。这里
科斯将制度范畴纳入经济分析之中,给经济学带来了全新的理论思维视角,但是其理论具有两面性。在此基础上,企业契约理论出现了不同发展轨迹。其中企业契约集合论继承了保守的一面
为了考查学生学生对基本概念、基础知识掌握得是否扎实、思考问题是否周密,中考命题者对一些题(尤其是选择题、填空题)往往在其中设计一些容易出错的"陷阱",解题时稍有不慎,
坐落在海河古道岸边的天津宏舜联合物业管理服务集团有限公司,是一家从“大团结劳动服务社”发展到集家政、扫保、消杀、物业、装饰、养老、绿化、文体、保安、广告、培训学校
目的:观察益气养阴活血利水方在治疗充血性心力衰竭的疗效。方法回顾性分析我院心血管内科2013年8月~2014年8月收治的充血性心力衰竭患者68例作为研究对象,随机分成对照组和观察