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

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.
主站蜘蛛池模板: 平果县| 临汾市| 乾安县| 高碑店市| 邵东县| 荃湾区| 南雄市| 玛纳斯县| 简阳市| 唐河县| 宝清县| 德安县| 大田县| 绥江县| 苍梧县| 铜陵市| 汶上县| 鄂托克前旗| 楚雄市| 游戏| 洞口县| 余江县| 凉城县| 南通市| 昌江| 安徽省| 拜泉县| 墨玉县| 水城县| 密云县| 大丰市| 炎陵县| 南郑县| 沙洋县| 高平市| 泉州市| 昌平区| 锡林郭勒盟| 红原县| 鹤庆县| 哈巴河县|