def preprocess_train_data(self): """ Converts training dataset to HDF file format. """ print("* Preprocessing training data.", flush=True) prep.create_HDF_file(self.C.training_set, is_training_set=True) self.print_time_elapsed()
def preprocess_valid_data(self): """ Converts validation dataset to HDF file format. """ print("* Preprocessing validation data.", flush=True) prep.create_HDF_file(self.C.validation_set) self.print_time_elapsed()
def preprocess_test_data(self): """ Converts test dataset to HDF file format. """ print("* Preprocessing test data.", flush=True) prep.create_HDF_file(self.C.test_set) self.print_time_elapsed()