官术网_书友最值得收藏!

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.
主站蜘蛛池模板: 拜城县| 贺州市| 长葛市| 兴业县| 乌鲁木齐县| 锦屏县| 武宁县| 黄大仙区| 黎平县| 淮南市| 广安市| 密山市| 喜德县| 朝阳区| 沁源县| 嘉善县| 通化县| 七台河市| 松潘县| 合水县| 武山县| 杭锦后旗| 孙吴县| 临海市| 太湖县| 治多县| 兴隆县| 库尔勒市| 黑水县| 正蓝旗| 巨野县| 安达市| 阳东县| 巨鹿县| 西城区| 大姚县| 嘉峪关市| 策勒县| 柳林县| 沙河市| 苏尼特左旗|