I need someone to restructure a bit the code to make it easier to use it.
1- I use three labelling strategies. Sometime the code needs to use 2 classes (i.e. classes 1 and -1) and sometime it needs 3 classes (i.e. classes 1, 0 and -1). I would like to enter the number of classes in only one place.
2- The code use two different models. It uses a LTSM model (i.e. [login to view URL]) or a simple FeedForward NN ([login to view URL]). I would like to specify the model from only one place.
Roughly I would like the model to be easier to use.