changeset 124:b852dddf43a6

reduced affine transform coefficient
author Xavier Glorot <glorotxa@iro.umontreal.ca>
date Thu, 18 Feb 2010 12:33:17 -0500
parents 999bf84ddec6
children 5d3a7a4e30e9
files transformations/affine_transform.py
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/transformations/affine_transform.py	Thu Feb 18 11:10:53 2010 -0500
+++ b/transformations/affine_transform.py	Thu Feb 18 12:33:17 2010 -0500
@@ -19,12 +19,12 @@
         self.rng = numpy.random.RandomState()
         self.complexity = complexity
         params = self.rng.uniform(size=6) -.5
-        self.a = 1. + params[0]*.8*complexity
-        self.b = 0. + params[1]*.8*complexity
-        self.c = params[2]*9.*complexity
-        self.d = 0. + params[3]*.8*complexity
-        self.e = 1. + params[4]*.8*complexity
-        self.f = params[5]*9.*complexity
+        self.a = 1. + params[0]*.6*complexity
+        self.b = 0. + params[1]*.6*complexity
+        self.c = params[2]*8.*complexity
+        self.d = 0. + params[3]*.6*complexity
+        self.e = 1. + params[4]*.6*complexity
+        self.f = params[5]*8.*complexity
 
     
     def _get_current_parameters(self):