Gold has historically served as one of the precious materials used to fund trading purchases. Gold-reserve holding nations are thought to being prosperous nations. The amount of gold held by the country\'s reserves reveals the state of its finances. Together with the government organizations, several other persons and companies have bought gold reserves. The value of gold prices are influenced by the performance of the world\'s leading economies. The change in gold\'s price has piqued the curiosity of more investors, who are now considering gold investments. Because the gold market is unpredictable, dealing with gold carries a high degree of risk, and its price varies greatly. It is possible to employ a variety of studies to investigate the connection between economic issues and gold prices. The project “Gold price prediction” aims to predict the price of gold using machine learning methodology gold price time series data was gathered from the Kaggle website.70% of the data served as the training set for Randomforest regressor model that were fitted. The statistical index R- squared error was then used to get the accuracy. Based on the R-squared error result, a prediction of future gold prices is made. Here we have taken the number of estimators to get the good accuracy.
Introduction
I. INTRODUCTION
Investing in gold has evolved over time in traditional forms such as purchasing jewellery or through modern strategies such as purchasing gold coins and bars (which area unit already accessible in scheduled banks). Gold has historically been used as a form of currency in various parts of the world, including the United States. In recent years, gold has retained its value and has been used to assess a country's monetary strength. Big investors have also been interested in this valuable and have invested heavily in it. Recently, rising world economies such as China, Russia, and India have been large buyers of gold, whereas the United States, South Africa, and Australia have been large sellers of this product. The value of gold is influenced by both Chinese and Indian traditional events. More money is being poured into the purchase of these goods at this time. Small investors recognize this product as a safe investment alternative to alternative investment options that carry inherent investment risks. Internal monetary conditions in the aforementioned countries play a significant role in determining gold spot rates. Gold is another advantage that is being considered as a lovely investment avenue by many investors due to its increasing value and thus the space of usage. Investors' preference for gold as a safe haven will grow as a result of their pessimistic outlook for the developed exchange markets and thus the capital markets. Gold is also regarded as "the plus of ultimate instance," implying that it is the plus that investors put their trust in when the developed world capital markets are unable to provide fascinating profitability. As a result, investors see gold as a tool to hedge against fluctuations in alternative markets. Because gold is valuable, its value should be determined by supply and demand, just like any other commodity. A popular supervised learning machine learning strategy is Random Forest. It may be applied to classification and regression issues in ML. It is founded on the concept of ensemble learning, which is the process of integrating many classifiers to tackle a challenging issue and enhance the performance of the model. As its name suggests, "Random Forest is a classifier that incorporates multiple decision trees on different subsets of the supplied dataset and takes the average to increase the projected accuracy of that dataset." The random forest assesses the prediction from each tree and anticipates the final output based on the majority vote of projections, as opposed to depending on a single decision tree.
II. PROBLEM IDENTIFICATION
Buying gold is the oldest kind of investing activity, so here the problem is to find out the future prices for gold is increasing or decreasing to know a good idea about investment.
III. OBJECTIVES
To predict gold prices using Random forest regressor.
To study the effect of the number of estimators on the accuracy and time taken for prediction.
Conclusion
This study used machine learning algorithms to properly anticipate gold prices and when to sell and buy them. This study was conducted to clarify gold price forecasts using machine learning in Python.
1) It is determined that machine learning techniques using random forest analysis are quite beneficial in predicting gold prices
2) The model\'s R-squared is calculated to be 0.99077 percent. R-squared is often between 0% and 100%. A score close to 100 percent implies that the supplied model adequately explains gold prices.
References
[1] EL Houssainy A. Rady, Haitham Fawzy* and Amal Mohamed AbdelFattah“TimeSeriesForecasting Using Tree Based Methods ” – Received: 24 Feb. 2020, Revised: 23 Apr. 2020, Accepted: 3 May 2020 ,Published online: 1 Mar. 2021 .
[2] Chodavrapu Pragna*1, Bhavana Purra*2, Adari Viharika*3, Garabhapu Roshni*4, Prof. B. Prajna*5 “GOLD PRICE PREDICTION USING MACHINE LEARNING ” (2021). International Research Journal of Modernization in Engineering Technology and Science.
[3] Iftikhar ul Sami, Khurum Nazir Junejo “Predicting Future Gold Rates using Machine Learning Approach ”- (2017 ), (IJACSA) International Journal of Advanced Computer Science and Applications.
[4] Naliniprava Tripathy “Forecasting Gold price with Auto Regressive Integrated Moving Average Model”-(2017)International Journal of Economics and Financial Issues
[5] Gold Price Prediction Using Machine Learning Techniques Nandini Tripurana, Binodini Kar, Sujata Chakravarty, Bijay K. Paikaray and Suneeta Satpathy ,1,2 Centurion University of Technology and Management, Paralakhemundi, Odisha 3 Dept. of CSE, Centurion University of Technology and Management, Odisha, India.4 School of Information & Communication Technology, Medhavi Skills University, Sikkim, India 5 Faculty. of Management Studies, Sri Sri University, Odisha, India
[6] Gold Price Prediction using Machine Learning Rushikesh Ghule, Abhijeet Gadhave Under the Guidance of Prof.Manish Dubey, Dr.Jyoti Kharade Bharati Vidyapeeth\'s Institute of Management & Information Technology Navi Mumbai
[7] Time Series Analysis and Forecasting of Gold Price using ARIMA and LSTM Model Dhruvi Sarvaiya1, Disha Ramchandani2 ,12Department of Computer Engineering, Thadomal Shahani Engineering College, Mumbai, India .