Zhang Junxi, Qu Shiru, Zhang Zhiteng, Cheng Shaokang
School of Automation, Northwestern Polytechnical University, Xi'an, China.
PeerJ Comput Sci. 2022 Jul 19;8:e1048. doi: 10.7717/peerj-cs.1048. eCollection 2022.
Considering that the road short-term traffic flow has strong time series correlation characteristics, a new long-term and short-term memory neural network (LSTM)-based prediction model optimized by the improved genetic algorithm (IGA) is proposed to improve the prediction accuracy of road traffic flow. Firstly, an improved genetic algorithm (IGA) is proposed by dynamically adjusting the mutation rate and crossover rate of standard GA. Secondly, the parameters of the LSTM, such as the number of hidden units, training times, gradient threshold and learning rate, are optimized by the IGA. Therefore, the optimal parameters are obtained. In the analysis stage, 5-min short-term traffic flow data are used to demonstrate the superiority of the proposed method over the existing neural network algorithms. Finally, the results show that the Root Mean Square Error achieved by the proposed algorithm is lower than that achieved by the other neural network methods in both the weekday and weekend data sets. This verifies that the algorithm can adapt well to different kinds of data and achieve higher prediction accuracy.
考虑到道路短期交通流量具有很强的时间序列相关特性,提出了一种基于改进遗传算法(IGA)优化的新型长短期记忆神经网络(LSTM)预测模型,以提高道路交通流量的预测精度。首先,通过动态调整标准遗传算法的变异率和交叉率,提出了一种改进遗传算法(IGA)。其次,利用IGA对LSTM的隐藏单元数量、训练次数、梯度阈值和学习率等参数进行优化,从而获得最优参数。在分析阶段,使用5分钟的短期交通流量数据来证明所提方法优于现有的神经网络算法。最后,结果表明,所提算法在工作日和周末数据集中实现的均方根误差均低于其他神经网络方法。这验证了该算法能够很好地适应不同类型的数据,并实现更高的预测精度。