comparison datasets/nist.py @ 163:4b28d7382dbf

Add inital implementation of datasets. For the moment only nist_digits is defined.
author Arnaud Bergeron <abergeron@gmail.com>
date Thu, 25 Feb 2010 18:40:01 -0500
parents
children e3de934a98b6
comparison
equal deleted inserted replaced
162:050c7ff6b449 163:4b28d7382dbf
1 __all__ = ['nist_digits']
2
3 from ftfile import FTDataSet
4
5 PATH = '/data/lisa/data/nist/by_class/'
6
7 nist_digits = FTDataSet(train_data = [PATH+'digits/digits_train_data.ft'],
8 train_lbl = [PATH+'digits/digits_train_labels.ft'],
9 test_data = [PATH+'digits/digits_test_data.ft'],
10 test_lbl = [PATH+'digits/digits_test_labels.ft'])
11 nist_lower = FTDataSet(train_data = [PATH+'lower/lower_train_data.ft'],
12 train_lbl = [PATH+'lower/lower_train_labels.ft'],
13 test_data = [PATH+'lower/lower_test_data.ft'],
14 test_lbl = [PATH+'lower/lower_test_labels.ft'])
15 nist_upper = FTDataSet(train_data = [PATH+'upper/upper_train_data.ft'],
16 train_lbl = [PATH+'upper/upper_train_labels.ft'],
17 test_data = [PATH+'upper/upper_test_data.ft'],
18 test_lbl = [PATH+'upper/upper_test_labels.ft'])
19 nist_all = FTDataSet(train_data = [PATH+'all/all_train_data.ft'],
20 train_lbl = [PATH+'all/all_train_labels.ft'],
21 test_data = [PATH+'all/all_test_data.ft'],
22 test_lbl = [PATH+'all/all_test_labels.ft'])
23