Skip to content

This project uses a Random Forest Regressor to predict gold prices based on financial indicators like SPX, Oil, Silver, and USD Index. The model is trained on historical data and deployed as an interactive Streamlit web app for real-time predictions.

License

Notifications You must be signed in to change notification settings

chandadiya2004/gold-price-prediction

Repository files navigation

🌟 Gold Price Prediction using Machine Learning

This project uses a Random Forest Regressor to predict the Gold Price (GLD) based on other financial indicators such as SPX (S&P 500), Oil Price, Silver Price, and USD Index. The model has been deployed as an interactive web app using Streamlit.


📊 Overview

Gold price is influenced by various economic indicators. This project aims to build a machine learning model that can accurately predict the gold price by analyzing these features.

Tech Stack:

  • Python
  • Pandas, NumPy, Matplotlib, Seaborn
  • Scikit-learn (Random Forest)
  • Streamlit (for web deployment)
  • Streamlit Cloud (for hosting)

🚀 Live Demo

🔗 Click here to view the deployed Streamlit App

(Replace the above link with your actual Streamlit Cloud app link)


📌 Features

  • 📈 Visualizes correlation between gold price and financial indicators
  • 🔍 Trains a Random Forest model on historical data
  • 🧠 Makes predictions based on user input
  • 🌐 Deploys the model with an interactive UI using Streamlit

📥 How to Run Locally

  1. Clone the repository
    git clone https://github.com/chandadiya2004/gold-price-prediction.git
    cd gold-price-prediction

About

This project uses a Random Forest Regressor to predict gold prices based on financial indicators like SPX, Oil, Silver, and USD Index. The model is trained on historical data and deployed as an interactive Streamlit web app for real-time predictions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages