添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Learing the process of LSTM, and use keras achieve stock prediction using LSTM。LSTM步骤解释,然后使用keras实现用LSTM预测股票走势

License

使用单层的LSTM网络实现对中国股票市场的预测,使用股票市场中的其中一只作为训练模型,并对别的股票进行预测,一天对一天模型:趋势预测率达到90% Using the single-layer LSTM network to predict the Chinese stock market, using one of the stock market as a training model and forecasting other stocks, one day to one day model:the trend prediction rate reaches 90% Result: 一天对一天模型: one day to one day model: 21天对3天的模型(非常不理想): 21 days to 3 days model(terrible):

使用单层的LSTM网络实现对中国股票市场的预测,使用股票市场中的其中一只作为训练模型,并对别的股票进行预测,一天对一天模型:趋势预测率达到 90%

Using the single-layer LSTM network to predict the Chinese stock market, using one of the stock market as a training model and forecasting other stocks, one day to one day model:the trend prediction rate reaches 90%

  • 代码: Code
  • LSTM学习过程:Learning process of LSTM
  • Result:

    一天对一天模型:

    one day to one day model:

    用训练集后30天预测:

    predic using the last 30 days in train set:

    用最近30天预测:

    predic using the recent 30 days:

    用别的股票最近30天预测:

    predic using the recent 30 days of another stock:

    21天对3天的模型(非常不理想):

    21 days to 3 days model(terrible):

    predic using the recent 30 days of another stock: