Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.02 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.02 KB

mt-genetic-reinforcement

My Minor Thesis project investigating the viability of merging attributes of reinforcement learning and genetic algorithms to combat poor generalization in reward sparse enviroments.

Setup

Python Version 3.7
Import dependencies in scripts/requirements.txt

Usage

Test a model using scripts/environment/MarioEnvironment.py
Train a new model using scripts/ga/TrainMarioGA.py

When training, do not use odd population numbers and the minimum population must be larger than '5'
Due to the method used to select parents and ensure genetic performance isn't lost this restriction is in place
See scripts/ga/util/MarioGAUtil.py for details

Configuration

Settings for Population are in scripts/ga/TrainMarioGA.py
Settings for Agents are in scripts/nn/setup/AgentParameters.py

Credits

The following projects were used to help me develop this codebase: