From 0ab6746145c3f263b0106f132dba49bcaa037ccb Mon Sep 17 00:00:00 2001 From: SAswinGiridhar Date: Thu, 3 Jan 2019 11:26:47 +0530 Subject: [PATCH] The test dataset is not getting randomly shuffled The comment mentions it, so it will create confusion for the persons reading the code --- input_helpers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/input_helpers.py b/input_helpers.py index 2fa66e3..a291906 100644 --- a/input_helpers.py +++ b/input_helpers.py @@ -212,7 +212,6 @@ def getTestDataSet(self, data_path, vocab_path, max_document_length): x1 = np.asarray(list(vocab_processor.transform(x1_temp))) x2 = np.asarray(list(vocab_processor.transform(x2_temp))) - # Randomly shuffle data del vocab_processor gc.collect() return x1,x2, y