Professional Documents
Culture Documents
A PROJECT REPORT
Submitted by
DEPARTMENT OF MCA
NOVEMBER 2023
SPECIMEN CERTIFICATE
Certified that this project report “Gold price prediction using python” is the bonafide
work of “ Jhelam Rout ” who carried out the project work under my supervision.
This is to further certify to the best of my knowledge that this project has not been
carried out earlier in this institute and the University.
SIGNATURE
Certified that the above-mentioned project has been duly carried out as per the norm
of the college statutes of the university
SIGNATURE
DEPARMENTAL SEAL
DECLARATION
I hereby declare that the project entitled “GOLD PRICE PREDICTION Using
Python” submitted for the “Minor Project” of 3rd semester M.C.A in Computer
Science and Engineering is my original work and the project has not formed the
basis for the award of any Degree / Diploma or any other similar titles in any other
University / Institute.
Place:
Date:
ACKNOWLEDGEMENT
I am highly grateful to Dr. Saneev Kumar Das, who evinced keen interest
and invaluable support in the progress and successful completion of my project
work.
Jhelam Rout(220720100335)
TABLE OF CONTENTS
CHAPTER NO TITLE
1 CERTIFICATE 2
2 DECLARATION 3
3 ACKNOWLEDGEMENT 4
4 PROBLEM STATEMENT 6
5 ABSTRACT 7
6 INTRODUCTION 8
7 REQUIRMENTS 9
8 USES 11
9 SOURCE CODE 12
10 OUTPUT 13
11 CONCLUSION 22
12 REFERENCES 23
PROBLEM STATEMENT
Problem Formulation is one of the most important steps We do before starting any
project. there has to be a clear idea about the goal of our data science project. In
our case, the goal of this project is to analyse the price of gold. The price of gold
is volatile, they change rapidly with time. Our main Aim of this project will be to
predict the price of gold per unit.
Gold prices are affected by a variety of factors, including global economic
conditions, interest rates, currency fluctuations, geopolitical events, and demand
and supply dynamics. Traditional models for predicting gold prices often rely on
statistical methods, such as regression analysis, time-series analysis, and
econometric models. However, these models have limitations in capturing the
complexity of the market dynamics and may not be able to account for sudden
changes in market conditions.
ABSTRACT
We predict future gold rates supported twenty two market variables victimization
machine learning technique. One machine learning algorithm, random forest
regression were used in analysing these knowledge. Historically, gold was used for
supporting trade transactions around the world besides alternative modes of payment.
Various states maintained and increased their gold reserves and were recognized as
rich and progressive states. In present times, precious metals like gold area unit
control with central banks of all countries to make sure repayment of foreign debts,
and conjointly to control inflation. Moreover, it conjointly reflects the Imoney
strength of the country. Besides government agencies, varied transnational firms and
people have conjointly invested with in gold reserves. In ancient events of Asian
countries, gold is in addition presented as gifts/souvenirs and in marriages, gold
ornaments are conferred as gift in Republic of India.
INTRODUCTION
Gold has always been a popular investment choice for people around the world.
It is a haven asset that provides protection against economic and political
uncertainty. As a result, predicting gold prices accurately can be extremely
beneficial for investors. Machine learning has become a potent technique for
predicting financial prices, especially gold prices, in recent years. We will look at
how machine learning can be used to forecast gold prices in this article.
Python is a popular programming language for developing machine learning and
deep learning models. It offers several libraries and frameworks that simplify the
process of developing and implementing these models. This has led to the
development of several gold price prediction systems using Python
SOFTWARE REQUIREMENTS OF GOLD PRICE PREDICTION
Operating System: Windows 2000 Professional
Language: Python
Hard Disk: 40 Gb
METHODOLOGY
The gold price prediction process using Facebook Prophet can be divided into four
main steps, each utilizing different Python modules and libraries. These steps are:
1. Data Collection:
The initial step involves gathering historical gold price data from
reliable sources such as financial databases like Yahoo Finance,
Quandl, or the World Gold Council. The collected data should
include the date and corresponding gold price.
2. Data Preprocessing:
3. Model Fitting:
3. Model Evaluation:
4. Forecasting:
The final step involves generating forecasts for future gold prices using the trained
model. The Prophet algorithm predicts gold prices for a specific time horizon, such as
the next day, week, or month. The forecasted values can be visualized by plotting
them against the actual values to evaluate the accuracy of the predictions.
USES
Pandas
NumPy
Seaborn
This package makes statistical model visualization possible. The library, which is
largely based on Matplotlib, makes statistical graphics possible by:
This library is responsible for the plotting of numerical data. It is utilized in data
analysis for this reason. An open-source library plots superior quality figures, for
example, pie outlines, scatterplots, boxplots, and diagrams, in addition to other things.
SciPy
Some of SciPy's subpackages include cluster, fftpack, constants, integrate, io, linalg,
interpolate, ndimage, odr, optimize, signal, spatial, special, sparse, and stats.
Scikit- learn
In conclusion, machine learning has emerged as a powerful tool for predicting gold
prices. By collecting and preprocessing relevant data, selecting appropriate features,
and training and evaluating machine learning models, it is possible to develop
accurate and reliable predictions of gold prices.
However, it is essential to acknowledge the limitations associated with using the
Facebook Prophet algorithm for gold price forecasting. External factors, such as
political developments and global economic conditions, can significantly influence
gold prices.
In summary, the Facebook Prophet algorithm shows promise in predicting gold prices
and providing valuable insights for traders, investors, and decision-makers. Its ability
to handle both seasonal and non-seasonal patterns, integrate external variables, and
outperform traditional forecasting techniques makes it an appealing choice. However,
it is crucial to exercise caution and consider the limitations and uncertainties
associated with the forecasts. Understanding the potential influence of external factors
on gold prices is essential when making investment decisions based on the predictions
generated by the Facebook Prophet algorithm.
References
1. https://www.kaggle.com/datasets/sid321axn/gold-price-prediction-dataset
2. https://www.javatpoint.com/gold-price-prediction-using-machine-learning
3. https://www.ijert.org/a-study-on-gold-price-prediction-using-machine-learning
4. https://www.researchgate.net/publication/
362491642_Gold_Price_Prediction_using_Machine_Learning