changeset 795:f30bb746f279

put in comment a fct call all that seam to don't be used and conflict with numpy and python name.
author Frederic Bastien <bastienf@iro.umontreal.ca>
date Wed, 15 Jul 2009 13:19:56 -0400
parents 951272679910
children ef749d03d055
files pylearn/datasets/MNIST.py
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)