Logo Lanfrica

M4BareMetal/usd-to-mur-predictor

Domain:

socioeconomic

Record type:

software
Creator:
M4B
Host:
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 \---

Languages