Open NorthGuard opened 7 years ago
First attempt has been made to do this. See latest commit.
One problem persists - if models are constructed before train/test split the placeholder dimensions can be incosistent due to the following call (in single_training.py
)
# Make and set BoW-vocabulary
bow_vocabulary = the_tensor_provider.extract_programs_vocabulary(train_idx)
the_tensor_provider.set_bow_vocabulary(bow_vocabulary)
Current solution is to create train/test split before running all fit() methods (see new run file model_comparison.py
)
No parameters should be passed on to the fit() method. This allows for predefining multiple versions of the same model, with different parameters, for training.