Package pylearn :: Package dataset_ops :: Module shapeset1
[hide private]

Module shapeset1

source code

A Theano Op to load/access Shapeset1

Functions [hide private]
 
train_img(dtype) source code
 
train_lbl() source code
 
valid_img(dtype) source code
 
valid_lbl() source code
 
test_img(dtype) source code
 
test_lbl() source code
 
shapeset1(s_idx, split, dtype='float64', rasterized=False)
:param s_idx:
source code
 
glviewer(split='train') source code
Variables [hide private]
  _train_cache = {}
  _valid_cache = {}
  _test_cache = {}
  _split_fns = dict(train= (train_img, train_lbl), valid= (valid...
  nclasses = 10

Imports: theano, numpy, TensorFnDataset, head_train, head_valid, head_test


Function Details [hide private]

shapeset1(s_idx, split, dtype='float64', rasterized=False)

source code 

:param s_idx:

:param split:

:param dtype:

:param rasterized: return examples as vectors (True) or 28x28 matrices (False)


Variables Details [hide private]

_split_fns

Value:
dict(train= (train_img, train_lbl), valid= (valid_img, valid_lbl), tes\
t= (test_img, test_lbl))