Exemplo n.º 1
0
    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()
Exemplo n.º 2
0
    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()
Exemplo n.º 3
0
    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()