A beginner ML project that forecasts USD to Mauritian Rupee rates based on historical data
ο»Ώ\# π΅ USD to MUR Exchange Rate Predictor
A beginner machine learning project that uses \*\*Linear Regression\*\* to predict the USD to Mauritian Rupee (MUR) exchange rate for any given year.
\---
\## π About the Project
This project uses historical USD to MUR exchange rate data from \*\*2004 to 2024\*\* to train a Linear Regression model. You can input any year and get a predicted exchange rate β along with a visual graph showing actual vs predicted trends.
\---
\## π§ How It Works
1. Historical exchange rate data (2004β2024) is used as training data
1. A \*\*Linear Regression\*\* model is trained using `scikit-learn`
1. The user inputs a year
1. The model predicts the USD β MUR rate for that year
1. A `matplotlib` graph displays actual data, the regression line, and the prediction
\---
\## π Sample Output
- Input year: `2026`
- Predicted rate: `~49.XX MUR per 1 USD`
- A graph showing the trend from 2004 onwards
\---
\## π οΈ Tech Stack
- Python 3.x
- scikit-learn
- matplotlib
\---
\## π How to Run
1. \*\*Clone the repository\*\*
\```bash
git clone
github.com
cd usd-to-mur-predictor
\```
1. \*\*Install dependencies\*\*
\```bash
pip install -r requirements.txt
\```
1. \*\*Run the script\*\*
\```bash
python main.py
\```
1. \*\*Enter a year\*\* when prompted and see the prediction!
\---
\## π Project Structure
usd-to-mur-predictor/
βββ main.py # Main Python script
βββ requirements.txt # Required libraries
βββ README.md # Project documentation
βββ .gitignore # Git ignore rules
\---
\## π€ Author
MILESH JHOOMUCK
π First GitHub Project | Exploring Machine Learning
π GitHub Profile
\---