changeset 618:8aef46b42cb5

Fix typo
author lamblinp@ip03.m
date Sat, 17 Jan 2009 19:13:17 -0500
parents 5120bf7c4694
children fa6585609e01
files pylearn/datasets/shapeset1.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/datasets/shapeset1.py	Sat Jan 17 19:06:21 2009 -0500
+++ b/pylearn/datasets/shapeset1.py	Sat Jan 17 19:13:17 2009 -0500
@@ -62,7 +62,7 @@
 def train_valid_test(ntrain=10000, nvalid=5000, ntest=5000):
     train_x, train_y = head_train(n=ntrain)
     valid_x, valid_y = head_valid(n=nvalid)
-    test_x,  test_y  = head_test(n=test)
+    test_x,  test_y  = head_test(n=ntest)
 
     rval = Dataset()
     rval.train = Dataset.Obj(x = train_x, y = train_y)