Model Class for more general model setup
Create a default model class to get a more general model setup.
Current status: create a model and a loss function. If the model has multiple outputs, the loss needs to have the same number of loss entries as list. Therefore, if one changes the model, there must be another potantial change in the loss function.
After this issue is finished: Import the model class. Each model class has the methods .model
and .loss
(think about more useful methods). The model_setup.py
just calls this instance methods. Therefore only the import statements has to be changed and not the code itself.
-
create abstract model class with __init__
,model()
,loss()
-
create inheritance with recent my_model
andmy_little_model
-
replace code in model_setup.py
to use the model class -
maybe remove my_model_settings()
frommy_model_setup.py
and integrate in this model class