计算机科学 ›› 2019, Vol. 46 ›› Issue (11A): 62-65.
贾宁, 郑纯军
JIA Ning, ZHENG Chun-jun
摘要: 农产品价格一直是维持社会经济生活安定的重点关注领域,由于农产品预测价格与影响因素之间存在非线性关系,递归神经网络虽然适用于时间序列的预测,但是针对长时间的跨度,其预测效果有限。基于此,根据农产品价格特点,设计了一种LSTM-DA(Long Short-Term Memory-Double Attention,双重注意力机制与长短期记忆网络融合)神经网络模型。它将卷积注意力网络(Convolutional Neural Networks,CNN)、长短期记忆网络(Long Short-Term Memory,LSTM)和注意力机制相结合,针对不同成分的影响因子通过卷积注意力网络进行特征提取,调节其对应的权重并馈送至长短期记忆网络模型中以呈现时间序列的影响,在此基础上,将结果再次送入注意力机制进行权重调节,最终将得到的结果用于农产品价格指数的短期预测。实验前,采用多线程机制从多个农业信息平台中爬取海量的价格、天气等相关数据,在对其进行解析和清洗的基础上,将其存入分布式文件系统(Hadoop Distributed File System,HDFS)中;实验时,采用长短期记忆网络作为基线。实验结果表明,与传统的单一模型相比,此模型不仅可以提升预测精度,而且预测的农产品价格指数可以准确地描述未来一周内蔬菜类产品的整体趋势。
中图分类号:
[1]许世卫,李哲敏,董晓霞,等.中国农产品在产销间价格传导机制研究[J].资源科学,2010,32(11):2092-2099. [2]刘瑶.我国农产品价格波动机制研究——基于SVAR模型[J].山东社会科学,2017(4):146-151. [3]刘海清,方佳.基于指数平滑模型的海南省芒果价格预测[J].热带农业科学,2010,30(1):79-81. [4]刘峰,王儒敬,李传席.ARIMA模型在农产品价格预测中的应用.计算机工程与应用,2009(25):242-243,252. [5]CHOI H K.Stock Price Correlation Coefficient Prediction with ARIMA-LSTM Hybrid Model∥Computational Engineering,Finance,and Science.2018. [6]LI D Y,XIE L Y,QIAN S Y,et al.Design and Implementation of Distributed Crawler System Based on Scrapy.Journal of Hubei University for Nationalities(Natural Science Edition),2017(3). [7]KIM H Y,CHANG H W.Forecasting the Volatility of StockPrice Index:A Hybrid Model Integrating LSTM with Multiple GARCH-Type Models[J].Expert Systems with Applications,2018,103:S0957417418301416. [8]YUE W,SUN Y,LIU Z,et al.Dynamic Graph CNN for Learning on Point Clouds∥Computer Vision and Pattern Recognition.2018. [9]LOPEZ M M,KALITA J.Deep Learning applied to NLP.Computation and Language,2017. [10]陈卫华,徐国祥.基于深度学习和股票论坛数据的股市波动率预测精度研究.管理世界,2018(1):180-181. [11]王国栋,韩斌,孙文赟.基于LSTM的舰船运动姿态短期预测[J].舰船科学技术,2017(7):69-72. [12]陆泽楠,商玉林.基于LSTM神经网络模型的钢铁价格预测[J].科技视界,2017(13):116-117. [13]CAO C Y,LV Q.Using Bidirectional LSTM Deep Neural Network for Protein Residue Contact Prediction [J].Journal of Chinese Computer Systems,2017(3):531-535. [14]KONG D J,TANG S L,WU Fei.Location Prediction via Generative Adversarial Network with Spatial Temporal Embedding [J].Pattern Recognition and Artificial Intelligence,2018(1):49-60. [15]NEIL D,PFEIFFER M,LIU S C.Phased LSTM:Accelerating Recurrent Network Training for Long or Event-based Sequences∥Advances in Neural Information Processing Systems 29(NIPS 2016).2016. [16]HUANG Y S,CHOU S Y,YANG Y H.Pop Music Highlighter:Marking the Emotion Keypoints.Transactions of the International Society for Music Information Retrieval,2018,1(1):68-78. [17]PERSIO L D,HONCHAR O.Analysis of recurrent neural networks for short-term energy load forecasting[C]∥American Institute of Physics Conference Series.2017. [18]MIRSAMADI S,BARSOUM E,ZHANG C.Automatic Speech Emotion Recognition Using Recurrent Neural Networks with Local Attention[C]∥ICASSP.IEEE,2017. [19]HOCHREITER S,SCHMIDHUBER J.Long Short-term Me-mory [J].Neural Computation,1997,9(8):1735-1780. |
[1] | 饶志双, 贾真, 张凡, 李天瑞. 基于Key-Value关联记忆网络的知识图谱问答方法 Key-Value Relational Memory Networks for Question Answering over Knowledge Graph 计算机科学, 2022, 49(9): 202-207. https://doi.org/10.11896/jsjkx.220300277 |
[2] | 周芳泉, 成卫青. 基于全局增强图神经网络的序列推荐 Sequence Recommendation Based on Global Enhanced Graph Neural Network 计算机科学, 2022, 49(9): 55-63. https://doi.org/10.11896/jsjkx.210700085 |
[3] | 戴禹, 许林峰. 基于文本行匹配的跨图文本阅读方法 Cross-image Text Reading Method Based on Text Line Matching 计算机科学, 2022, 49(9): 139-145. https://doi.org/10.11896/jsjkx.220600032 |
[4] | 周乐员, 张剑华, 袁甜甜, 陈胜勇. 多层注意力机制融合的序列到序列中国连续手语识别和翻译 Sequence-to-Sequence Chinese Continuous Sign Language Recognition and Translation with Multi- layer Attention Mechanism Fusion 计算机科学, 2022, 49(9): 155-161. https://doi.org/10.11896/jsjkx.210800026 |
[5] | 熊丽琴, 曹雷, 赖俊, 陈希亮. 基于值分解的多智能体深度强化学习综述 Overview of Multi-agent Deep Reinforcement Learning Based on Value Factorization 计算机科学, 2022, 49(9): 172-182. https://doi.org/10.11896/jsjkx.210800112 |
[6] | 王馨彤, 王璇, 孙知信. 基于多尺度记忆残差网络的网络流量异常检测模型 Network Traffic Anomaly Detection Method Based on Multi-scale Memory Residual Network 计算机科学, 2022, 49(8): 314-322. https://doi.org/10.11896/jsjkx.220200011 |
[7] | 姜梦函, 李邵梅, 郑洪浩, 张建朋. 基于改进位置编码的谣言检测模型 Rumor Detection Model Based on Improved Position Embedding 计算机科学, 2022, 49(8): 330-335. https://doi.org/10.11896/jsjkx.210600046 |
[8] | 朱承璋, 黄嘉儿, 肖亚龙, 王晗, 邹北骥. 基于注意力机制的医学影像深度哈希检索算法 Deep Hash Retrieval Algorithm for Medical Images Based on Attention Mechanism 计算机科学, 2022, 49(8): 113-119. https://doi.org/10.11896/jsjkx.210700153 |
[9] | 孙奇, 吉根林, 张杰. 基于非局部注意力生成对抗网络的视频异常事件检测方法 Non-local Attention Based Generative Adversarial Network for Video Abnormal Event Detection 计算机科学, 2022, 49(8): 172-177. https://doi.org/10.11896/jsjkx.210600061 |
[10] | 闫佳丹, 贾彩燕. 基于双图神经网络信息融合的文本分类方法 Text Classification Method Based on Information Fusion of Dual-graph Neural Network 计算机科学, 2022, 49(8): 230-236. https://doi.org/10.11896/jsjkx.210600042 |
[11] | 汪鸣, 彭舰, 黄飞虎. 基于多时间尺度时空图网络的交通流量预测模型 Multi-time Scale Spatial-Temporal Graph Neural Network for Traffic Flow Prediction 计算机科学, 2022, 49(8): 40-48. https://doi.org/10.11896/jsjkx.220100188 |
[12] | 金方焱, 王秀利. 融合RACNN和BiLSTM的金融领域事件隐式因果关系抽取 Implicit Causality Extraction of Financial Events Integrating RACNN and BiLSTM 计算机科学, 2022, 49(7): 179-186. https://doi.org/10.11896/jsjkx.210500190 |
[13] | 熊罗庚, 郑尚, 邹海涛, 于化龙, 高尚. 融合双向门控循环单元和注意力机制的软件自承认技术债识别方法 Software Self-admitted Technical Debt Identification with Bidirectional Gate Recurrent Unit and Attention Mechanism 计算机科学, 2022, 49(7): 212-219. https://doi.org/10.11896/jsjkx.210500075 |
[14] | 彭双, 伍江江, 陈浩, 杜春, 李军. 基于注意力神经网络的对地观测卫星星上自主任务规划方法 Satellite Onboard Observation Task Planning Based on Attention Neural Network 计算机科学, 2022, 49(7): 242-247. https://doi.org/10.11896/jsjkx.210500093 |
[15] | 赵冬梅, 吴亚星, 张红斌. 基于IPSO-BiLSTM的网络安全态势预测 Network Security Situation Prediction Based on IPSO-BiLSTM 计算机科学, 2022, 49(7): 357-362. https://doi.org/10.11896/jsjkx.210900103 |
|