{"id":24159552,"url":"https://github.com/nitish2773/ipl-victory-probability-estimator","last_synced_at":"2026-04-12T16:06:00.052Z","repository":{"id":270472629,"uuid":"910485780","full_name":"Nitish2773/IPL-Victory-Probability-Estimator","owner":"Nitish2773","description":"The IPL Victory Probability Estimator is a predictive model that estimates the probability of a team winning an IPL (Indian Premier League) match based on historical match data. This project aims to provide insights for cricket analysts, enthusiasts, and sports data scientists by predicting the outcomes of future IPL matches.","archived":false,"fork":false,"pushed_at":"2024-12-31T15:13:28.000Z","size":40047,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T23:11:22.499Z","etag":null,"topics":["data-science","machine-learning","python3"],"latest_commit_sha":null,"homepage":"https://ipl-victory-probability-estimator-kssuiburmv9sfo3hdyn6yg.streamlit.app/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nitish2773.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-31T12:05:21.000Z","updated_at":"2025-04-23T12:48:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a770f7c-39a7-413b-9df0-10473c758cfa","html_url":"https://github.com/Nitish2773/IPL-Victory-Probability-Estimator","commit_stats":null,"previous_names":["nitish2773/ipl-victory-probability-estimator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nitish2773/IPL-Victory-Probability-Estimator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitish2773%2FIPL-Victory-Probability-Estimator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitish2773%2FIPL-Victory-Probability-Estimator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitish2773%2FIPL-Victory-Probability-Estimator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitish2773%2FIPL-Victory-Probability-Estimator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nitish2773","download_url":"https://codeload.github.com/Nitish2773/IPL-Victory-Probability-Estimator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitish2773%2FIPL-Victory-Probability-Estimator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270617818,"owners_count":24617121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-science","machine-learning","python3"],"created_at":"2025-01-12T15:18:06.924Z","updated_at":"2026-04-12T16:06:00.018Z","avatar_url":"https://github.com/Nitish2773.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n\n# IPL Victory Probability Estimator\n\n## Overview\n\nThe IPL Victory Probability Estimator is a predictive model designed to forecast the outcomes of IPL (Indian Premier League) matches based on historical match data. This project leverages machine learning algorithms to analyze IPL match statistics and provide a probability of victory for each team, aiding cricket enthusiasts and analysts in gaining deeper insights into the game.\n\n## Features\n\n- Predict the outcome of an IPL match based on historical data.\n- Interactive web application for real-time predictions using Streamlit.\n- Data analysis using pandas and machine learning model training in Python.\n- Model saved and deployed using pickle for easy integration.\n- Visualization of model training process and results.\n\n## Technologies Used\n\n- **Python**: Main programming language used for model development.\n- **Jupyter Notebook**: For data analysis and model training.\n- **pandas**: Data manipulation and analysis.\n- **pickle**: For saving and loading machine learning models.\n- **Streamlit**: Framework for building the interactive web application.\n- **Scikit-learn**: Machine learning library used for model training.\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/your-username/ipl-victory-probability-estimator.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd ipl-victory-probability-estimator\n   ```\n\n3. Install the required dependencies:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Run the Streamlit app:\n   ```bash\n   streamlit run app.py\n   ```\n\n## Dataset\n\nThe dataset used in this project is the IPL match dataset from Kaggle, which includes various match statistics such as runs, wickets, overs, and player performances. The dataset helps in building the predictive model to estimate the probability of a team winning.\n\nThis is a kaggle dataset where we have 5 Files but we are focused only on 2 Files : \n1. matches.csv $\\rightarrow$ Has each match analysis\n2. deliveries.csv $\\rightarrow$ Has each ball analysis.\n\n##### Data Set Link : https://www.kaggle.com/datasets/ramjidoolla/ipl-data-set \n\n## Model Training and Visualization\n\nThe model was trained using historical IPL match data. Various machine learning algorithms were tested, and the final model was selected based on accuracy. Below are some visualizations of the model training process:\n\n- **Model Accuracy Graph**: Shows how different models performed.\n- **Confusion Matrix**: For evaluating the model's performance.\n- **Feature Importance**: Displays the significance of each feature in predicting the match outcome.\n\n_(Add presentation images and videos of the model training process here)_\n\n## Usage\n\nOnce the app is running, users can input the following match details:\n\n- Team 1 and Team 2\n- Venue\n- Key player statistics (optional)\n\nThe model will output the predicted probability of victory for each team, giving users insights into the potential match outcome.\n\n## Contributing\n\nFeel free to fork this repository, make improvements, or submit pull requests. Contributions are welcome!\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Model Training Process\n\n![Model Training Process](images/workflow.png)\n![Logistic Regression Model](images/Logistic_regression.png)\n![Probability Prediction](images/Probability_prediction.png)\n![Prediction 2](images/probab_pred2.png)\n![Final Data After Preprocessing](images/Final_data_after_preprocess.png)\n![Model Output](images/output.png)\n\n## Website Video\n\nYou can view the process in the video below:\n\n\nhttps://github.com/user-attachments/assets/f68c60b1-b9f6-4d00-8381-30493dc3b41f\n\n## Webiste Link\n\nYou can view thw app demo below:\n\nhttps://ipl-victory-probability-estimator-kssuiburmv9sfo3hdyn6yg.streamlit.app/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitish2773%2Fipl-victory-probability-estimator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitish2773%2Fipl-victory-probability-estimator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitish2773%2Fipl-victory-probability-estimator/lists"}