Abstract
Gold price prediction has long been a crucial and challenging research topic for gold investors. In conventional models, most scholars have used the historical gold price or economic indicators to forecast gold prices. The gold prices depend mainly on confidence in the current market. To reduce the time delay of economic indicators in this study, the daily online global gold news undergoes a text mining approach. An opinion score is generated by ascertaining the opinion polarity and words in the daily gold news. The opinion score represents the current market trends and used as an input predictor in the forecasting model. Subsequently, the least square support vector regression (LSSVR) that is optimized by the genetic algorithm (GA) is employed to train and predict the future gold price. The mean absolute percentage error (MAPE) is adopted to evaluate the model performance. This study is the first to use the opinion score through text mining as an input predictor to GA-LSSVR in forecasting gold prices. The experiment results demonstrate that the input predictor, opinion score, can improve the predicting ability of GA-LSSVR model in terms of MAPE.
Article PDF
Avoid common mistakes on your manuscript.
References
S. Zhou, K.K. Lai, J. Yen, A dynamic meta-learning rate-based model for gold market forecasting, Expert Syst. Appl. 39 (2012), 6168–6173.
B. Guha, G. Bandyopadhyay, Gold price forecasting using ARIMA model, J. Adv. Manage. Sci. 4 (2016), 117–121.
C. Liu, Price forecast for gold futures based on GA-BP neural network, in International Conference on Management and Service Science (MASS’09), IEEE, Wuhan, China, 2009, pp. 1–4.
S.F.M. Hussein, M.B.N. Shah, M.R.A. Jalal, S.S. Abdullah, Gold price prediction using radial basis function neural network, in: 2011 4th International Conference on Modeling, Simulation and Applied Optimization (ICMSAO), IEEE, Kuala Lumpur, Malaysia,2011, pp. 1–11.
V. Varahrami, Recognition of good prediction of gold price between MLFF and GMDH neural network, J. Econ. Int. Financ. 3 (2011), 204.
A. Yazdani-Chamzini, S.H. Yakhchali, D. Volungevičienė, E.K. Zavadskas, Forecasting gold price changes by using adaptive network fuzzy inference system, J. Bus. Econ. Manage. 13 (2012), 994–1010.
R. Hafezi, A. Akhavan, Forecasting gold price changes: application of an equipped artificial neural network, AUT J. Model. Simul. 50 (2018), 71–82.
R. Capparuccia, R. De Leone, E. Marchitto, Integrating support vector machines and neural networks, Neural Netw. 20 (2007), 590–597.
H.K. Ghritlahre, R.K. Prasad, Application of ANN technique to predict the performance of solar collector systems - a review, Renew. Sustain. Energy Rev. 84 (2018), 75–88.
G.-F. Fan, L.-L. Peng, W.-C. Hong, Short term load forecasting based on phase space reconstruction algorithm and bisquare kernel regression model, Appl. Energy. 224 (2018), 13–33.
Y. Dong, Z. Zhang, W.-C. Hong, A hybrid seasonal mechanism with a Chaotic Cuckoo search algorithm with a support vector regression model for electric load forecasting, Energies. 11 (2018), 1009.
W.-C. Hong, M.-W. Li, J. Geng, Y. Zhang, Novel chaotic bat algorithm for forecasting complex motion of floating platforms, Appl. Mathematical Modelling, 72 (2019), 425–443.
S. Aras, İ.D. Kocakoç, A new model selection strategy in time series forecasting with artificial neural networks: IHTS, Neurocomputing. 174 (2016), 974–987.
J.S. Armstrong, K.C. Green, Demand Forecasting: Evidence-Based Methods, The Oxford Handbook in Managerial Economics, Oxford University Press, Oxford, England, 2011.
Z. Mustaffa, Y. Yusof, Optimizing LSSVM using ABC for nonvolatile financial prediction, Austr. J. Basic Appl. Sci. 5 (2011), 549–556.
A.D. Dubey, Gold price prediction using support vector regression and ANFIS models, in 2016 International Conference on Computer Communication and Informatics (ICCCI), Coimbatore, India, 2016, pp. 1–6.
Y. Zhai, A. Hsu, S.K. Halgamuge, Combining news and technical indicators in daily stock price trends prediction, in: D. Liu, S. Fei, Z. Hou, H. Zhang, C. Sun (Eds.), International Symposium on Neural Networks, Springer, Berlin, Heidelberg, 2007, pp. 1087–1096.
F. Jin, N. Self, P. Saraf, P. Butler, W. Wang, N. Ramakrishnan, Forex-foreteller: currency trend modeling using news articles, in Proceedings of the 19th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Chicago Illinois, USA, ACM, New York, USA, 2013, pp. 1470–1473.
H.-H. Chen, M. Chen, C.-C. Chiu, The integration of artificial neural networks and text mining to forecast gold futures prices, Commun. Stat. Simul. Comput. 45 (2016), 1213–1225.
A. Parisi, F. Parisi, D. Díaz, Forecasting gold price changes: rolling and recursive neural network models, J. Multinat. Financ. Manage. 18 (2008), 477–487.
S. Zhou, K.K. Lai, An improved EMD online learning-based model for gold market forecasting, in:J. Watada, G. Phillips-Wren, L.C. Jain, R.J. Howlett (Eds.), Intelligent Decision Technologies, Springer, Berlin, Heidelberg, 2011, pp. 75–84.
B. Wu, T. Duan, The fractal feature and price trend in the gold future market at the Shanghai Futures Exchange (SFE), Phys. A Stat. Mech. Appl. 474 (2017), 99–106.
P. Ongsritrakul, N. Soonthornphisaj, Apply decision tree and support vector regression to predict the gold price, in Proceedings of the International Joint Conference on Neural Networks, IEEE, Portland, 2003, pp. 2488–2492.
H. Hassani, E.S. Silva, R. Gupta, M.K. Segnon, Forecasting the price of gold, Appl. Econ. 47 (2015), 4141–4152.
S. Kang, S. Cho, Approximating support vector machine with artificial neural network for fast prediction, Expert Syst. Appl. 41 (2014), 4989–4995.
I. Khosravi, Y. Jouybari-Moghaddam, M.R. Sarajian, The comparison of NN, SVR, LSSVR and ANFIS at modeling meteorological and remotely sensed drought indices over the eastern district of Isfahan, Iran, Nat. Hazards. 87 (2017), 1507–1522.
K.D. Brabanter, J.D. Brabanter, J.A.K. Suykens, B.D. Moor, Approximate confidence and prediction intervals for least squares support vector regression, IEEE Trans. Neural Netw. 22 (2011), 110–120.
J.-Z. Wang, Y. Wang, P. Jiang, The study and application of a novel hybrid forecasting model – a case study of wind speed forecasting in China, Appl. Energy. 143 (2015), 472–488.
P.-F. Pai, K.-C. Hung, K.-P. Lin, Tourism demand forecasting using novel hybrid system, Expert Syst. Appl. 41 (2014), 3691–3702.
R. Liao, H. Zheng, S. Grzybowski, L. Yang, Particle swarm optimization-least squares support vector regression based forecasting model on dissolved gases in oil-filled power transformers, Electr. Power Syst. Res. 81 (2011), 2074–2080.
Y. Yusof, Z. Mustaffa, A review on optimization of least squares support vector machine for time series forecasting, Int. J. Artif. Intell. Appl. 7 (2016), 35–49.
W. Cui, X. Yan, Adaptive weighted least square support vector machine regression integrated with outlier detection and its application in QSAR, Chemometr. Intell. Lab. Syst. 98 (2009), 130–135.
M. Goodarzi, M.P. Freitas, C.H. Wu, P.R. Duchowicz, pK a modeling and prediction of a series of pH indicators through genetic algorithm-least square support vector regression, Chemometr. Intell. Lab. Syst. 101 (2010), 102–109.
H. Wang, E. Li, G. Li, Probability-based least square support vector regression metamodeling technique for crashworthiness optimization problems, Comput. Mech. 47 (2011), 251–263.
C.-S. Lin, S.-H. Chiu, T.-Y. Lin, Empirical mode decomposition–based least squares support vector regression for foreign exchange rate forecasting, Econ. Model. 29 (2012), 2583–2590.
K.-P. Lin, P.-F. Pai, Y.-M. Lu, P.-T. Chang, Revenue forecasting using a least-squares support vector regression model in a fuzzy environment, Inf. Sci. 220 (2013), 196–209.
F.-C. Yuan, C.-H. Lee, Using least square support vector regression with genetic algorithm to forecast beta systematic risk, J. Comput. Sci. 11 (2015), 26–33.
L. Yu, W. Dai, L. Tang, J. Wu, A hybrid grid-GA-based LSSVR learning paradigm for crude oil price forecasting, Neural Comput. Appl. 27 (2016), 2193–2215.
L. Yu, H. Xu, L. Tang, LSSVR ensemble learning with uncertain parameters for crude oil price forecasting, Appl. Soft Comput. 56 (2017), 692–701.
J.D.A. Santos, G.A. Barreto, Novel sparse LSSVR models in primal weight space for robust system identification with outliers, J. Process Control. 67 (2018), 129–140.
F. Hamamy, A.M. Omar, Least square support vector machine technique for short term solar irradiance forecasting, in AIP Conference Proceedings, AIP Publishing, New York, USA, 2019, p. 020133.
Z. Tian, Y. Ren, G. Wang, An application of backtracking search optimization–based least squares support vector machine for prediction of short-term wind speed, Wind Eng. (2019).
Z. Yang, X.S. Gu, X.Y. Liang, L.C. Ling, Genetic algorithm-least squares support vector regression based predicting and optimizing model on carbon fiber composite integrated conductivity, Mater. Design. 31 (2010), 1042–1049.
M.W. Mustafa, M.H. Sulaiman, H. Shareef, S.N.A. Khalid, S.R.A. Rahim, O. Alima, An application of genetic algorithm and least squares support vector machine for tracing the transmission loss in deregulated power system, in 2011 5th International Power Engineering and Optimization Conference, Shah Alam, Malaysia, 2011, pp. 375–380.
M.W. Mustafa, M.H. Sulaiman, H. Shareef, S.N.A. Khalid, Reactive power tracing in pool-based power system utilising the hybrid genetic algorithm and least squares support vector machine, IET Gener. Transm. Dis. 6 (2012), 133–141.
D. Wei, F. Chen, T. Zhang, Least square-support vector regression based car-following model with sparse sample selection, in 2010 8th World Congress on Intelligent Control and Automation (WCICA), IEEE, Jinan, China, 2010, pp. 1701–1707.
Z. Mustaffa, Y. Yusof, S.S. Kamaruddin, Enhanced artificial bee colony for training least squares support vector machines in commodity price forecasting, J. Comput. Sci. 5 (2014), 196–205.
F. Kaytez, M.C. Taplamacioglu, E. Cam, F. Hardalac, Forecasting electricity consumption: a comparison of regression analysis, neural networks and least squares support vector machines, Int. J. Electr. Power Energy Syst. 67 (2015), 431–438.
T. Peng, Z. Tang, A small scale forecasting algorithm for network traffic based on relevant local least squares support vector machine regression model, Appl. Math. 9 (2015), 653–659.
L. Tang, Z. Wang, X. Li, L. Yu, G. Zhang, A novel hybrid FA-based LSSVR learning paradigm for hydropower consumption forecasting, J. Syst. Sci. Complex. 28 (2015), 1080–1101.
H. Zheng, Y. Zhang, J. Liu, H. Wei, J. Zhao, R. Liao, A novel model based on wavelet LS-SVM integrated improved PSO algorithm for forecasting of dissolved gas contents in power transformers, Electr. Power Syst. Res. 155 (2018), 196–205.
S.S. Keerthi, C.-J. Lin, Asymptotic behaviors of support vector machines with Gaussian kernel, Neural Comput. 15 (2003), 1667–1689.
A. Bhunia, S. Kundu, T. Sannigrahi, S. Goyal, An application of tournament genetic algorithm in a marketing oriented economic production lot-size model for deteriorating items, Int. J. Prod. Econ. 119 (2009), 112–121.
G. Li, H. Song, S.F. Witt, Recent developments in econometric modeling and forecasting, J. Travel Res. 44 (2005), 82–99.
S.F. Witt, C.A. Witt, Modeling and Forecasting Demand in Tourism, Academic Press, London, 1992.
C.-C. Chang, C.-J. Lin, LIBSVM: a library for support vector machines, ACM Trans. Intell. Syst. Technol. 2 (2011), 27.
S. García, D. Molina, M. Lozano, F. Herrera, A study on the use of non-parametric tests for analyzing the evolutionary algorithms’ behaviour: a case study on the CEC’2005 special session on real parameter optimization, J. Heuristics. 15 (2008), 617.
J. Derrac, S. García, D. Molina, F. Herrera, A practical tutorial on the use of nonparametric statistical tests as a methodology for comparing evolutionary and swarm intelligence algorithms, Swarm Evol. Comput. 1 (2011), 3–18.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
This is an open access article distributed under the CC BY-NC 4.0 license (https://doi.org/creativecommons.org/licenses/by-nc/4.0/).
About this article
Cite this article
Yuan, FC., Lee, CH. & Chiu, C. Using Market Sentiment Analysis and Genetic Algorithm-Based Least Squares Support Vector Regression to Predict Gold Prices. Int J Comput Intell Syst 13, 234–246 (2020). https://doi.org/10.2991/ijcis.d.200214.002
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.2991/ijcis.d.200214.002