# HG changeset patch # User Frederic Bastien # Date 1247678396 14400 # Node ID f30bb746f279b59b070f315e94d049726a6bc8e7 # Parent 951272679910a8569cec1b2356102882c65d550f put in comment a fct call all that seam to don't be used and conflict with numpy and python name. diff -r 951272679910 -r f30bb746f279 pylearn/datasets/MNIST.py --- a/pylearn/datasets/MNIST.py Wed Jul 15 13:18:55 2009 -0400 +++ b/pylearn/datasets/MNIST.py Wed Jul 15 13:19:56 2009 -0400 @@ -26,8 +26,11 @@ return rows[:,0:-1], numpy.asarray(rows[:,-1], dtype='int64') -def all(path=None): - return head(n=None, path=path) + +#What is the purpose of this fct? +#If still usefull, rename it as it conflict with the python an numpy nake all. +#def all(path=None): +# return head(n=None, path=path) def train_valid_test(ntrain=50000, nvalid=10000, ntest=10000, path=None): all_x, all_targ = head(ntrain+nvalid+ntest, path=path)