- Neural Networks with Keras Cookbook
- V Kishore Ayyadevara
- 191字
- 2021-07-02 12:46:34
Leveraging a functional API
In this section, we will continue to improve the accuracy of the stock price prediction by integrating historical price points data with the most-recent headlines of the company for which we are predicting the stock price.
The strategy that we will adopt to integrate data from multiple sources—structured (historical price) data and unstructured (headline) data is as follows:
- We will convert the unstructured text into a structured format in a manner that is similar to the way we categorized news articles into topics.
- We will pass the structured format of text through a neural network and extract the hidden layer output.
- Finally, we pass the hidden layer output to the output layer, where the output layer has one node.
- In a similar manner, we pass the input historical price data through the neural network to extract the hidden layer values, which then get passed to the output layer that has one unit in output.
- We multiply the output of each of the individual neural network operations to extract the final output.
- The squared error value of the final output shall now be minimized.
推薦閱讀
- 黑客攻防從入門到精通(實戰秘笈版)
- Visual C++程序設計學習筆記
- INSTANT OpenCV Starter
- 簡單高效LATEX
- Visual Basic編程:從基礎到實踐(第2版)
- Getting Started with SQL Server 2012 Cube Development
- Android Native Development Kit Cookbook
- Node.js Design Patterns
- Mastering Linux Security and Hardening
- R Data Science Essentials
- 從零開始學Android開發
- Android系統下Java編程詳解
- Socket.IO Cookbook
- 計算機輔助設計與繪圖技術(AutoCAD 2014教程)(第三版)
- 競技游戲設計實戰指南:MOBA+RTS+TCG+FPS