This is a Python project that simulates the Premier League season using Monte Carlo simulation. The simulation is based on the expected goals (xG) of each team in the league. The xG values are used to generate the number of goals scored by each team in each match. The simulation is run multiple times to generate the final league table.
Clone the repository to your local machine using the following command:
git clone https://github.com/JanardanBhetwal/Monte_Carlo_Simulation.gitcd into the repository:
cd Monte_Carlo_SimulationCreate a virtual environment:
python -m venv venvActivate the virtual environment:
source venv/bin/activateInstall the required packages:
pip install -r requirements.txtRun the simulation:
python3 pl.py