Logo Lanfrica

M4BareMetal/usd-to-mur-predictor

Domaine:

socioeconomic

Type de record:

software
Créateur:
M4B
Hôte:
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