Abstract

The stock market is one of the key sectors of a country’s economy. It provides investors with an opportunity to invest and gain returns on their investment. Predicting the stock market is a very challenging task and has attracted serious interest from researchers from many fields such as statistics, artificial intelligence, economics, and finance. An accurate prediction of the stock market reduces investment risk in the market. Different approaches have been used to predict the stock market. The performances of Machine learning (ML) models are typically superior to those of statistical and econometric models. The ability of Gaussian Naïve Bayes ML algorithm to predict stock price movement has not been addressed properly in the existing literature, hence this work attempt to fill that gap by evaluating the performance of GNB algorithm when combined with different feature scaling and feature extraction techniques in stock price movement prediction. The performance of the GNB models set up were ranked using the Kendall’s test of concordance for the various evaluation metrics used. The results indicated that, the predictive model based on integration of GNB algorithm and Linear Discriminant Analysis (GNB_LDA) outperformed all the other models of GNB considered in three of the four evaluation metrics (i.e., accuracy, F1-score, and AUC). Similarly, the predictive model based on integration of GNB algorithm, Min-Max scaling, and PCA produced the best rank using the specificity results. In addition, GNB produced better performance with Min-Max scaling technique than it does with standardization scaling techniques

Highlights

  • The stock market is one of the key sectors of a country’s economy

  • This study assessed how the Gaussian Naïve Bayes (GNB) algorithm performed with different feature scaling and feature extraction techniques (i.e., principal component analysis (PCA), Linear discriminant analysis (LDA), and factor analysis (FA)) in predicting the direction of movement of stock price using stock data randomly collected from different stock markets

  • The experimental results indicated that application of scaling techniques improved the performance of the GNB model

Read more

Summary

Introduction

The stock market is one of the key sectors of a country’s economy. It provides investors with an opportunity to invest and gain returns on their investment. The EMH implies that stock prices would trail a random walk pattern, the stock market cannot be forecasted from past data to make any meaningful returns [2]. Three main approaches: fundamental analysis, technical indicators, and machine learning (ML) are used to forecast the stock market. Technicians use charts and market statistics from historical price data to identify market trends and patterns so that they can make fairly accurate forecast of the trajectories of the stock market behavior [8]. GNB assumes that all the predictors are mutually independent This assumption is hardly true in real life especially with financial data. This work assesses the performance of GNB with different feature scaling and feature extraction techniques in predicting the direction of movement of stock prices

Methods
Results
Conclusion
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call