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

Module MNIST

source code

Regular MNIST using the dataset protocol

Functions [hide private]
 
mnist(s_idx, split, dtype='float64', rasterized=False)
:param s_idx:
source code
 
glviewer(split='train') source code
Variables [hide private]
  nclasses = 10

Imports: os, numpy, theano, data_root, read_ubyte_matrix, TensorFnDataset, memo, get_train_img_u8_rasterized, get_test_img_u8_rasterized, get_train_labels, get_test_labels, get_train_img_f32_rasterized, get_train_img_f64_rasterized, get_test_img_f32_rasterized, get_test_img_f64_rasterized


Function Details [hide private]

mnist(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)