arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.09359q-fin.STcs.LG
收藏

股票市场预测中的机器学习模型

Machine Learning Models in Stock Market Prediction

Lords University(洛兹大学)

Gurjeet Singh

摘要:

本文重点介绍了使用8个有监督的机器学习模型来预测Nifty 50指数。用于实证研究的技术是自适应增强(AdaBoost),k最近邻(kNN),线性回归(LR),人工神经网络(ANN),随机森林(RF),随机梯度下降(SGD),支持向量机(SVM)和决策树(DT)。实验基于印度股票市场Nifty 50指数从1996年4月22日到2021年4月16日的历史数据,这是大约25年的时间序列数据。期内有6220个交易日,不包括所有非交易日。整个交易数据集分为4个不同大小的子集-整个数据的25%,整个数据的50%,整个数据的75%和整个数据。每个子集又分为训练数据和测试数据两部分。在对每个子集进行了3次测试--训练数据测试、测试数据测试和交叉验证测试后,比较了所用模型的预测性能,并发现了非常有趣的结果,评估结果表明,随着数据集规模的增加,自适应Boost、k-最近邻、随机森林和决策树的性能都有所下降。线性回归和人工神经网络的预测结果几乎相似,但人工神经网络需要更多的时间来训练和验证模型。此后,支持向量机的表现更好的其余模型,但随着数据集的大小,随机梯度下降的表现优于支持向量机。

英文摘要:

The paper focuses on predicting the Nifty 50 Index by using 8 Supervised Machine Learning Models. The techniques used for empirical study are Adaptive Boost (AdaBoost), k-Nearest Neighbors (kNN), Linear Regression (LR), Artificial Neural Network (ANN), Random Forest (RF), Stochastic Gradient Descent (SGD), Support Vector Machine (SVM) and Decision Trees (DT). Experiments are based on historical data of Nifty 50 Index of Indian Stock Market from 22nd April, 1996 to 16th April, 2021, which is time series data of around 25 years. During the period there were 6220 trading days excluding all the non trading days. The entire trading dataset was divided into 4 subsets of different size-25% of entire data, 50% of entire data, 75% of entire data and entire data. Each subset was further divided into 2 parts-training data and testing data. After applying 3 tests- Test on Training Data, Test on Testing Data and Cross Validation Test on each subset, the prediction performance of the used models were compared and after comparison, very interesting results were found. The evaluation results indicate that Adaptive Boost, k- Nearest Neighbors, Random Forest and Decision Trees under performed with increase in the size of data set. Linear Regression and Artificial Neural Network shown almost similar prediction results among all the models but Artificial Neural Network took more time in training and validating the model. Thereafter Support Vector Machine performed better among rest of the models but with increase in the size of data set, Stochastic Gradient Descent performed better than Support Vector Machine.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑