计算机科学
股票价格
文件夹
库存(枪支)
人工智能
股票市场
深度学习
机器学习
计量经济学
财务
经济
系列(地层学)
机械工程
古生物学
马
工程类
生物
出处
期刊:Frontiers in business, economics and management
日期:2023-04-02
卷期号:8 (2): 51-54
被引量:67
标识
DOI:10.54097/fbem.v8i2.6616
摘要
Stock price prediction is a challenging and important task in finance, with many potential applications in investment, risk management, and portfolio optimization. In this paper, we propose a bi-directional long short-term memory (Bi-LSTM) model for predicting the future price of a stock based on its historical prices. The Bi-LSTM model is a variant of the popular LSTM model that is capable of processing input sequences in both forward and backward directions, allowing it to capture both short- and long-term dependencies in the data. We apply the Bi-LSTM model to historical stock price data for Apple Inc. and evaluate its performance using mean squared error (MSE) and visual inspection of actual vs. predicted prices. Our experiments show that the Bi-LSTM model is able to make accurate predictions on the testing data and capture some of the trends and patterns in the data, although it may struggle with sudden changes in the market. Overall, our results suggest that the Bi-LSTM model is a promising tool for stock price prediction and has many potential applications in finance and investment.
科研通智能强力驱动
Strongly Powered by AbleSci AI