The theme of this paper was to examine different forecasting techniques to predict future stock returns based on past returns and numerical news indicators to construct a portfolio of multiple stocks in order to diversify the risk. This was done by applying supervised learning methods for stock price forecasting by interpreting the seemingly chaotic market data. Predicting the Impact of News articles on the Closed Price of the Apple Inc. Stocks using Naive Bayes Classifier. First of all the News Articles dataset and Historical Stocks Dataset were merged into a single dataset on the 'Date' column after making some necessary changes to them. Further, methods such as ensemble classifier which mainly entailed knowledge Nearest Neighbour(k-NN) were applied. Afterwards Natural Language Processing was applied on the News Headlines text and obtained a Bag of words containing 20000 most common words from by converting them to vectorized form. Then later the Naive Bayes model was trained (Gaussian, Multinomial or Bernoulli each in different files) by splitting the dataset, 80% as training dataset and 20% as test dataset. Overall, it was observed that the neural-based models achieved slightly better accuracy and macro-average F1 than the standard and ensemble models, and significantly better accuracy than the ZeroR baseline. Therefore, the news articles such as the model helps in classifying the news articles to a profit or a loss. This was done by calculating the difference in closed price of present day with the previous day.
Access to the requested content is limited to institutions that have purchased or subscribe to SPIE eBooks.
You are receiving this notice because your organization may not have SPIE eBooks access.*
*Shibboleth/Open Athens users─please
sign in
to access your institution's subscriptions.
To obtain this item, you may purchase the complete book in print or electronic format on
SPIE.org.
INSTITUTIONAL Select your institution to access the SPIE Digital Library.
PERSONAL Sign in with your SPIE account to access your personal subscriptions or to use specific features such as save to my library, sign up for alerts, save searches, etc.