Mercurial > pylearn
diff amat.py @ 470:bd937e845bbb
new stuff: algorithms/logistic_regression, datasets/MNIST
author | James Bergstra <bergstrj@iro.umontreal.ca> |
---|---|
date | Wed, 22 Oct 2008 15:56:53 -0400 |
parents | 6e69fb91f3c0 |
children |
line wrap: on
line diff
--- a/amat.py Tue Oct 21 16:32:06 2008 -0400 +++ b/amat.py Wed Oct 22 15:56:53 2008 -0400 @@ -2,18 +2,15 @@ import sys, numpy, array -path_MNIST = '/u/bergstrj/pub/data/mnist.amat' - - class AMat: """DataSource to access a plearn amat file as a periodic unrandomized stream. Attributes: - input -- minibatch of input - target -- minibatch of target - weight -- minibatch of weight - extra -- minitbatch of extra + input -- all columns of input + target -- all columns of target + weight -- all columns of weight + extra -- all columns of extra all -- the entire data contents of the amat file n_examples -- the number of training examples in the file