modelhandler.py - EarlyStopping patience not configurable
The EarlyStopping class has a parameter 'patience' with a default value of 7. However, when the class is instantiated in the 'train' function, it isn't given any arguments, so the user has no way of changing this default value.