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.
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.
- Python
- Pandas
- NumPy
- TensorFlow / Keras
- Scikit-learn
- Matplotlib
- Seaborn
- ipywidgets (Interactive UI)
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
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
- Load IPL Dataset
- Data Preprocessing
- Label Encoding
- Feature Selection
- Train-Test Split
- Feature Scaling
- Train Deep Learning Model
- Predict Final Score
- Interactive Prediction using ipywidgets
IPL-Score-Predictor/
β
βββ IPL_Score_Predictor.ipynb
βββ ipl_data.csv
βββ README.md
Clone the repository:
git clone https://github.com/YOUR_USERNAME/IPL-Score-Predictor.gitMove into the project directory:
cd IPL-Score-PredictorInstall dependencies:
pip install -r requirements.txtRun the notebook:
jupyter notebook- Deploy using Gradio
- Deploy on Hugging Face Spaces
- Save and Load trained model
- Improve prediction accuracy
- Better UI design
- Real-time IPL score prediction
Contributions, suggestions, and improvements are welcome.
Feel free to fork this repository and submit a pull request.
Rishav Chaurasiya
B.Tech CSE (2023β2027)
Interested in:
- Artificial Intelligence
- Machine Learning
- Data Science
- Deep Learning
If you found this project helpful, please consider giving it a β on GitHub.