An open API service indexing awesome lists of open source software.

https://github.com/omkar4965/ipl-win-predictor

IPL-Win-Predictor
https://github.com/omkar4965/ipl-win-predictor

machine-learning pyhton3 sklearn streamlit

Last synced: about 2 months ago
JSON representation

IPL-Win-Predictor

Awesome Lists containing this project

README

          

# ๐Ÿ IPL Win Predictor

A machine learning-based Streamlit web app that predicts the probability of a team winning an IPL match based on live match conditions.

## ๐Ÿ”ฅ Why This Project?

This project helps cricket fans and analysts get a real-time prediction of a teamโ€™s winning chances during an IPL match using **Supervised Learning**. It also showcases **ML deployment using Streamlit and Render**.

## ๐ŸŒ Live Demo

๐Ÿ‘‰ [Try it here](https://ipl-win-predictor-omkxr.onrender.com/)

![image](https://github.com/user-attachments/assets/d9a88e16-070b-4da5-ba71-a8d1c77551ed)

---

## ๐Ÿ’ฝ Tech Stack

- **Frontend**: Streamlit
- **Backend**: Python
- **Model**: Machine Learning with Scikit-learn
- **Deployment**: Render

---

## โœจ Getting Started

### ๐Ÿ“ Clone the repo

```bash
git clone https://github.com/yourusername/ipl-win-predictor.git
cd ipl-win-predictor
```

### ๐Ÿ“ฆ Install dependencies

```bash
pip install -r requirements.txt
```

### โ–ถ๏ธ Run the application

```bash
streamlit run app.py
```

---

## ๐Ÿ How It Works

1. **Select the teams and city**.
2. **Enter the current match situation** โ€“ target, current score, overs completed, and wickets fallen.
3. **Click โ€œPredict Probabilityโ€**.
4. The model will output the chances of each team winning in percentage.

---

## ๐Ÿง  Model Inputs

- Batting team
- Bowling team
- Host city
- Target runs
- Current score
- Overs completed
- Wickets fallen

From these inputs, the model calculates:

- Runs left
- Balls left
- Wickets remaining
- Current Run Rate (CRR)
- Required Run Rate (RRR)

These features are then passed to a pre-trained model to compute win probabilities.

---

## ๐Ÿ“ˆ Future Improvements

- Live match data integration
- Enhanced UI with match graphics
- Support for more cricket leagues
- Add confidence intervals in prediction

---

## ๐Ÿ’š License

This project is licensed under the **MIT License**.

---

## โœ‰๏ธ Contact

For any queries or suggestions, feel free to reach out to [Omkar Chavan](https://www.linkedin.com/in/omkar-chavan-476a63249/).