This repository contains an end-to-end machine learning project that predicts football match outcomes based on some key features.
The repository contains as follows:
Predicting football match Outcome.ipynb
: This notebook contains the data cleaning, EDA and machine learning process.webscraping.py
: A python script that scrapes football match statistics.
To use webscraping.py
, follow these steps:
- Install the necessary dependencies by running the following command:
pip install -r requirements.txt
-
Launching the Scraper from Command Terminal:
Run
python webscraping.py -s start_year -e end_year
script from your command line to start webscraping.
NOTE: Make sure you are in the project directory. Change star_year and end_year to any year of your choice