Skip to content

rishav-84ya/IPL-Score-Predictor-using-Deep-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🏏 IPL Score Predictor using Deep Learning

A Machine Learning and Deep Learning project that predicts the final IPL innings score based on the current match situation.

This project is built using Python, TensorFlow/Keras, Scikit-learn, and Jupyter Notebook.


πŸ“Œ Project Overview

The model predicts the expected final score of an IPL innings using current match information such as:

  • Batting Team
  • Bowling Team
  • Venue
  • Current Runs
  • Wickets Lost
  • Overs Completed
  • Current Batsman
  • Current Bowler

The categorical features are encoded using LabelEncoder, numerical features are scaled using MinMaxScaler, and the prediction model is implemented using a Deep Neural Network.


πŸš€ Technologies Used

  • Python
  • Pandas
  • NumPy
  • TensorFlow / Keras
  • Scikit-learn
  • Matplotlib
  • Seaborn
  • ipywidgets (Interactive UI)

πŸ“‚ Dataset Features

The dataset contains the following important features:

  • Venue
  • Batting Team
  • Bowling Team
  • Batsman
  • Bowler
  • Runs
  • Wickets
  • Overs
  • Runs in Last 5 Overs
  • Wickets in Last 5 Overs
  • Striker Runs
  • Non-Striker Runs

Target Variable

  • Total Score

🧠 Deep Learning Model

Model Architecture:

  • Input Layer
  • Dense Layer (64 neurons, ReLU)
  • Dense Layer (32 neurons, ReLU)
  • Output Layer (1 neuron, Linear)

Loss Function:

  • Huber Loss

Optimizer:

  • Adam

πŸ“Š Workflow

  1. Load IPL Dataset
  2. Data Preprocessing
  3. Label Encoding
  4. Feature Selection
  5. Train-Test Split
  6. Feature Scaling
  7. Train Deep Learning Model
  8. Predict Final Score
  9. Interactive Prediction using ipywidgets

πŸ“ Project Structure

IPL-Score-Predictor/
β”‚
β”œβ”€β”€ IPL_Score_Predictor.ipynb
β”œβ”€β”€ ipl_data.csv
β”œβ”€β”€ README.md

βš™οΈ Installation

Clone the repository:

git clone https://github.com/YOUR_USERNAME/IPL-Score-Predictor.git

Move into the project directory:

cd IPL-Score-Predictor

Install dependencies:

pip install -r requirements.txt

Run the notebook:

jupyter notebook

πŸ“ˆ Future Improvements

  • Deploy using Gradio
  • Deploy on Hugging Face Spaces
  • Save and Load trained model
  • Improve prediction accuracy
  • Better UI design
  • Real-time IPL score prediction

🀝 Contributing

Contributions, suggestions, and improvements are welcome.

Feel free to fork this repository and submit a pull request.


πŸ‘¨β€πŸ’» Author

Rishav Chaurasiya

B.Tech CSE (2023–2027)

Interested in:

  • Artificial Intelligence
  • Machine Learning
  • Data Science
  • Deep Learning

⭐ Support

If you found this project helpful, please consider giving it a ⭐ on GitHub.

About

🏏 IPL Score Predictor built using Deep Learning with TensorFlow and Scikit-learn. Predicts the final innings score based on live match conditions such as teams, venue, runs, wickets, overs, batsman, and bowler. Includes data preprocessing, feature scaling, and an interactive prediction interface.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages