Reinforcement Learning in a Predator Prey model. Basically an implementation with some modification of the paper “An Agent-Based Predator-Prey Model with Reinforcement Learning” by M. Olsen and R. Fraczkowski.
- Python 2 or 3
- The requred libraries are matplotlib, numpy and pandas (any recent version would be fine). You can install all the dependencies by:
pip install -r requirements.txt
- Clone this repo:
git clone https://github.com/andrearama/PredatorPreyReinfLearning
cd PredatorPreyReinfLearning
Just start the simulation by launching the main program. It is possible to change the default standards (look at the main file for more information)
python Main.py --gridDim 70 --nGrass 1400