changeset 486:5ccb1662f9f6

Small change to error message
author Joseph Turian <turian@gmail.com>
date Tue, 28 Oct 2008 02:02:17 -0400
parents e8c37244b54f
children 94a4c5b7293b
files algorithms/daa.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/algorithms/daa.py	Tue Oct 28 01:37:32 2008 -0400
+++ b/algorithms/daa.py	Tue Oct 28 02:02:17 2008 -0400
@@ -94,7 +94,7 @@
 
     def _instance_initialize(self, obj, input_size = None, hidden_size = None, seed = None, **init):
         if (input_size is None) ^ (hidden_size is None):
-            raise ValueError("Must specify hidden_size and target_size or neither.")
+            raise ValueError("Must specify input_size and hidden_size or neither.")
         super(DenoisingAA, self)._instance_initialize(obj, **init)
         if seed is not None:
             R = N.random.RandomState(seed)