Welcome to my Gold Price Prediction Portfolio! This project focuses on predicting the future prices of gold using machine learning, particularly the Random Forest algorithm. The prediction model is implemented in a web application using Python Flask for backend development and HTML for the frontend.
-
Data Source: Historical gold price data sourced from reputable financial datasets.
-
Prediction Model: Utilizing the Random Forest algorithm for its ability to handle non-linear relationships and capture complex patterns in time-series data.
-
Web Application: The prediction model is integrated into a web-based interface using Python Flask for backend development and HTML for the frontend.
/notebooks
: Jupyter notebooks containing the Python code for data preprocessing, model training, and evaluation./flask-app
: Flask application files including Python scripts and HTML templates./data
: Folder containing the historical gold price dataset.
-
Data Preprocessing:
- Jupyter notebooks in
/notebooks
detail the steps taken to preprocess the historical gold price data.
- Jupyter notebooks in
-
Model Training:
- Implementation of the Random Forest algorithm for training the prediction model.
-
Evaluation Metrics:
- Assessment of model performance using metrics such as Mean Absolute Error (MAE) and Root Mean Squared Error (RMSE).
-
Flask Backend:
- Flask scripts in
/flask-app
that define routes, handle predictions, and serve the HTML templates.
- Flask scripts in
-
HTML Frontend:
- HTML templates for user interaction and displaying predictions.
-
Run the Flask App:
- Navigate to the
/flask-app
directory and run the Flask application to start the web server.
- Navigate to the
-
Access the Web Interface:
- Open a web browser and visit the specified localhost address to access the gold price prediction interface.
-
Enter Data for Prediction:
- Input relevant features into the web interface to receive a predicted gold price.
Document any challenges encountered during the development of the web application and model, along with the solutions applied.
Suggest potential enhancements or additional features for the gold price prediction application. Encourage collaboration and further exploration in the field of predictive modeling.
Feel free to reach out for questions, collaborations, or discussions related to this project.
Note: If you find this portfolio interesting, consider giving it a star! ⭐️