The Generator classes defined in data_generator.py have a lot of redundant code in each of the generate_paradigm() methods. We should clear this up as much as possible and try to make things more elegant by having one generate_paradigm() method that bifurcates depending on what the subclass specifies.
The
Generatorclasses defined indata_generator.pyhave a lot of redundant code in each of thegenerate_paradigm()methods. We should clear this up as much as possible and try to make things more elegant by having onegenerate_paradigm()method that bifurcates depending on what the subclass specifies.