Evaluation of Tree-Based Ensemble Machine Learning Models in Predicting Stock Price Direction of Movement
Open accessThe DOI matches its Crossref record; 14 of the 14 references it cites were found in a registry or an index.
Abstract
Forecasting the direction and trend of stock price is an important task which helps investors to make prudent financial decisions in the stock market. Investment in the stock market has a big risk associated with it. Minimizing prediction error reduces the investment risk. Machine learning (ML) models typically perform better than statistical and econometric models. Also, ensemble ML models have been shown in the literature to be able to produce superior performance than single ML models. In this work, we compare the effectiveness of tree-based ensemble ML models (Random Forest (RF), XGBoost Classifier (XG), Bagging Classifier (BC), AdaBoost Classifier (Ada), Extra Trees Classifier (ET), and Voting Classifier (VC)) in forecasting the direction of stock price movement. Eight different stock data from three stock exchanges (NYSE, NASDAQ, and NSE) are randomly collected and used for the study. Each data set is split into training and test set. Ten-fold cross validation accuracy is used to evaluate the ML models on the training set. In addition, the ML models are evaluated on the test set using accuracy, precision, recall, F1-score, specificity, and area under receiver operating characteristics curve (AUC-ROC). Kendall W test of concordance is used to rank the performance of the tree-based ML algorithms. For the training set, the AdaBoost model performed better than the rest of the models. For the test set, accuracy, precision, F1-score, and AUC metrics generated results significant to rank the models, and the Extra Trees classifier outperformed the other models in all the rankings.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Breiman, L. (2001) · Machine Learning · doi:10.1023/a:1010933404324 · Cited by 133,538
XGBoost: A Scalable Tree Boosting System
Chen, T., & Guestrin, C. (2016) · Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining · doi:10.1145/2939672.2939785 · Cited by 54,569
Greedy function approximation: A gradient boosting machine
Friedman, J. H. (2001) · The Annals of Statistics · doi:10.1214/aos/1013203451 · Cited by 30,731 · cited 1×
“The algorithm continuously minimizes errors of the previous models in the direction of gradient to produce a new model [50].”
MethodBreiman, L. (1996) · Machine Learning · doi:10.1007/bf00058655 · Cited by 16,325
Geurts, P., Ernst, D., & Wehenkel, L. (2006) · Machine Learning · doi:10.1007/s10994-006-6226-1 · Cited by 9,300
Friedman, J., Hastie, T., & Tibshirani, R. (2000) · The Annals of Statistics · doi:10.1214/aos/1016218223 · Cited by 6,884
Twitter mood predicts the stock market
Bollen, J., Mao, H., & Zeng, X. (2011) · Journal of Computational Science · doi:10.1016/j.jocs.2010.12.007 · Cited by 5,206
Chong, E., Han, C., & Park, F. C. (2017) · Expert Systems with Applications · doi:10.1016/j.eswa.2017.04.030 · Cited by 834
Evaluating multiple classifiers for stock price direction prediction
Ballings, M., Van den Poel, D., Hespeels, N., & Gryp, R. (2015) · Expert Systems with Applications · doi:10.1016/j.eswa.2015.05.013 · Cited by 611
Machine learning–XGBoost analysis of language networks to classify patients with epilepsy
Torlay, L., Perrone-Bertolotti, M., Thomas, E., & Baciu, M. (2017) · Brain Informatics · doi:10.1007/s40708-017-0065-7 · Cited by 483
Bridging the divide in financial market forecasting: machine learners vs. financial economists
Hsu, M.-W., Lessmann, S., Sung, M.-C., Ma, T., & Johnson, J. E. V. (2016) · Expert Systems with Applications · doi:10.1016/j.eswa.2016.05.033 · Cited by 195
Automated trading with performance weighted random forests and seasonality
Booth, A., Gerding, E., & McGroarty, F. (2014) · Expert Systems with Applications · doi:10.1016/j.eswa.2013.12.009 · Cited by 154
Flexible neural trees ensemble for stock index modeling
Chen, Y., Yang, B., & Abraham, A. (2007) · Neurocomputing · doi:10.1016/j.neucom.2006.10.005 · Cited by 121 · cited 1×
“Application of ensemble ML models has been reported in the literature by some researchers to produce superior performance than single ML models [24,28,29].”
Stock selection with random forest: An exploitation of excess return in the Chinese stock market
Tan, Z., Yan, Z., & Zhu, G. (2019) · Heliyon · doi:10.1016/j.heliyon.2019.e02310 · Cited by 107 · cited 1×
“Some of the recent applications of random forest algorithm include random forest for label ranking [40], stock selection with random forest [41], structured random forest for label distribution learning [42], clinical risk prediction with random forests for survival, longitudinal, and multivariate (RF-SLAM) data analy…”
Method
Cited by
Yun, K. K., Yoon, S. W., & Won, D. (2021) · Expert Systems with Applications · doi:10.1016/j.eswa.2021.115716 · Cited by 287
A Random Forests Approach to Predicting Clean Energy Stock Prices
Sadorsky, P. (2021) · Journal of Risk and Financial Management · doi:10.3390/jrfm14020048 · Cited by 138
“These results add to a growing body of research that shows machine learning methods like RFs have considerable stock price direction predictive performance (Ballings et al. 2015; Basak et al. 2019; Lohrmann and Luukka 2019; Weng et al. 2018; Ampomah et al. 2020).”
(2017) · doi:10.9728/dcs.2024.25.7.1847 · Cited by 2
Metadata
- Authors
- Ampomah, E. K., Qin, Z., & Nyame, G.
- Venue
- Information
- Publisher
- MDPI AG
- Published
- 2020-06-20
- Volume
- 11
- Issue
- 6
- Pages
- 332
- ISSN
- 2078-2489 (ISSN-L)
- OpenAlex
- W3036929302
- Cited by
- 241
- References
- 14
- FWCI
- 18.64
- Type
- journal article
- Language
- en
- Open access
- gold
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.