This is a Flask-based web application that predicts the first innings score for an IPL match based on the venue, batting team, and bowling team.
Here’s a quick demo of the IPL-Score-Predictor:
- User-friendly web interface built with HTML, CSS, and Flask.
- Machine Learning model trained on IPL data to predict match scores.
- Flask backend for handling requests and making predictions.
- Jupyter Notebook / Google Colab
- Python 3+
- Python packages
- Tensorflow -
pip install tensorflow - Pandas -
pip install pandas - Numpy -
pip install numpy - Scikit-learn -
pip install scikit-learn - Seaborn -
pip install seaborn - Flask -
pip install flask
- Tensorflow -
- HTML5
- CSS3
Data used are from the IPL tournaments from 2008-2017.
You can download the data set used in this project here:
- Clone the repository:
git clone https://github.com/LasithaAmarasinghe/IPL-Score-Prediction.git
- Navigate to the project directory:
cd IPL-Score-Prediction - Install dependencies:
pip install -r requirements.txt
- Run the Flask application:
python app.py
- Open 🌍
http://127.0.0.1:5000/in your browser to access the website.
- The user selects:
- Venue of the match
- Batting Team
- Bowling Team
- These inputs are provided through a web form.
- The selected inputs are encoded using pre-trained encoders.
- The encoded values are then scaled using a preloaded scaler to ensure the model receives properly formatted data.
- The processed data is fed into the pre-trained machine learning model that predicts the score.
- The model outputs the estimated score based on historical IPL data.
- The predicted score is displayed on the webpage.
- This project is licensed under the MIT License. See the LICENSE file for details.
