- Neural Networks with Keras Cookbook
- V Kishore Ayyadevara
- 124字
- 2021-07-02 12:46:34
Getting ready
To predict a stock price, we will perform the following steps:
- Order the dataset from the oldest to the newest date.
- Take the first five stock prices as input and the sixth stock price as output.
- Slide it across so that in the next data point the second to the sixth data points are input and the seventh data point is the output, and so on, till we reach the final data point.
- Given that it is a continuous number that we are predicting, the loss function this time shall be the mean squared error value.
Additionally, we will also try out the scenario where we integrate the text data into the historic numeric data to predict the next day's stock price.
推薦閱讀
- 復(fù)雜軟件設(shè)計之道:領(lǐng)域驅(qū)動設(shè)計全面解析與實戰(zhàn)
- Mastering Entity Framework
- Building Mapping Applications with QGIS
- YARN Essentials
- 名師講壇:Spring實戰(zhàn)開發(fā)(Redis+SpringDataJPA+SpringMVC+SpringSecurity)
- JavaScript程序設(shè)計:基礎(chǔ)·PHP·XML
- 算法設(shè)計與分析:基于C++編程語言的描述
- Visual C++從入門到精通(第2版)
- Python編程基礎(chǔ)教程
- Python數(shù)據(jù)科學(xué)實踐指南
- Python應(yīng)用開發(fā)技術(shù)
- 深入淺出 HTTPS:從原理到實戰(zhàn)
- Learning Zimbra Server Essentials
- KnockoutJS Blueprints
- Building E-Commerce Solutions with WooCommerce(Second Edition)