changeset 940:a75bf0aca18f

merge
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Mon, 21 Jun 2010 15:47:30 -0400
parents daa355332b66 (current diff) d15e4f803622 (diff)
children 939806d33183 0181459b53a1 0b4c39c33eb9
files
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/datasets/miniblocks.py	Mon Jun 21 15:47:12 2010 -0400
+++ b/pylearn/datasets/miniblocks.py	Mon Jun 21 15:47:30 2010 -0400
@@ -5,7 +5,7 @@
 
 from pylearn.datasets import Dataset
 
-def miniblocks(reweight=None):
+def miniblocks(reweight=None, use_inverse=False):
     # If 'reweight' is not None, then it is an integer N such that each
     # sample is duplicated k times, with k taken uniformly in {1, 2, ..., N}.
     # Some adjustment is made to ensure the dataset size is a multiple of its
@@ -50,6 +50,7 @@
     set = Dataset()
     set.train = Dataset.Obj(x = input, y = target)
     set.test = Dataset.Obj(x = input, y = target)
+    set.img_shape = (4,4)
 
     return set
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pylearn/datasets/peaked_modes.py	Mon Jun 21 15:47:30 2010 -0400
@@ -0,0 +1,1 @@
+test_modes.py
\ No newline at end of file