view datasets/nist.py @ 164:e3de934a98b6

Add nist_lower, nist_upper, nist_all
author Arnaud Bergeron <abergeron@gmail.com>
date Thu, 25 Feb 2010 18:53:02 -0500
parents 4b28d7382dbf
children
line wrap: on
line source

__all__ = ['nist_digits', 'nist_lower', 'nist_upper', 'nist_all']

from ftfile import FTDataSet

PATH = '/data/lisa/data/nist/by_class/'

nist_digits = FTDataSet(train_data = [PATH+'digits/digits_train_data.ft'],
                        train_lbl = [PATH+'digits/digits_train_labels.ft'],
                        test_data = [PATH+'digits/digits_test_data.ft'],
                        test_lbl = [PATH+'digits/digits_test_labels.ft'])
nist_lower = FTDataSet(train_data = [PATH+'lower/lower_train_data.ft'],
                        train_lbl = [PATH+'lower/lower_train_labels.ft'],
                        test_data = [PATH+'lower/lower_test_data.ft'],
                        test_lbl = [PATH+'lower/lower_test_labels.ft'])
nist_upper = FTDataSet(train_data = [PATH+'upper/upper_train_data.ft'],
                        train_lbl = [PATH+'upper/upper_train_labels.ft'],
                        test_data = [PATH+'upper/upper_test_data.ft'],
                        test_lbl = [PATH+'upper/upper_test_labels.ft'])
nist_all = FTDataSet(train_data = [PATH+'all/all_train_data.ft'],
                        train_lbl = [PATH+'all/all_train_labels.ft'],
                        test_data = [PATH+'all/all_test_data.ft'],
                        test_lbl = [PATH+'all/all_test_labels.ft'])