From 1ee965e32c6678ca063d853d80d7bdeae0ab9734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Simon?= Date: Thu, 23 Jul 2015 17:48:38 -0400 Subject: Add Train/Valid/Test set --- data/cuts/tvt_valid.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/cuts/tvt_valid.py (limited to 'data/cuts/tvt_valid.py') diff --git a/data/cuts/tvt_valid.py b/data/cuts/tvt_valid.py new file mode 100644 index 0000000..c5bb828 --- /dev/null +++ b/data/cuts/tvt_valid.py @@ -0,0 +1,9 @@ +import random + +begin = 1372636853 +end = 1404172787 + +random.seed(1337) +cuts = [] +for i in range(500): + cuts.append(random.randrange(begin, end)) -- cgit v1.2.3