Here is a README for your GitHub project:
Soccer-Predictor is a comprehensive project designed to scrape match statistics for over 700 players, manipulate and present the data dynamically, and predict match outcomes using machine learning. The project is divided into three main components: Backend, Data Scraping, and Machine Learning.
- Engineered a comprehensive data scraping of match statistics for 700+ players using Python and pandas.
- Dynamic manipulation and presentation of the scraped data through a Spring Boot application.
- Real-time data manipulation within a PostgreSQL database using SQL queries.
- Created a model to predict match outcomes by integrating data scraping with pandas and machine learning with scikit-learn.
- Technology: Python, pandas
- Description: This component scrapes match statistics for over 700 players and stores the data in a CSV file for further processing.
- Technology: Spring Boot, Java
- Description: This component dynamically manipulates and presents the scraped data. It uses SQL queries to manage real-time data manipulation within a PostgreSQL database.
- Technology: Python, scikit-learn, pandas
- Description: This component creates a machine learning model to predict match outcomes based on the scraped data.
- Java 11 or later
- Python 3.8 or later
- PostgreSQL
- Maven
- Git
-
Clone the repository:
git clone https://github.com/ZaidQourah2004/Soccer-Predictor.git cd Soccer-Predictor
-
Set up the Python environment:
python3 -m venv env source env/bin/activate pip install -r requirements.txt
-
Set up the PostgreSQL database:
CREATE DATABASE pl_data;
-
Update the database configuration in
src/main/resources/application.properties
. -
Run the data scraping script:
python MatchPredicting/PL_Predictor.py
-
Build and run the Spring Boot application:
./mvnw spring-boot:run
- Access the backend API to retrieve and manipulate player match statistics.
- Use the machine learning model to predict match outcomes based on the scraped data.
This project is licensed under the MIT License. See the LICENSE file for details.
- Special thanks to the developers of pandas, scikit-learn, and Spring Boot for providing the tools to make this project possible.
- I would also like to credit this tutorial which was a huge inspiration for my project: https://www.youtube.com/watch?v=y3odhQtu4R8