Mercurial > pylearn
diff simple_autoassociator/main.py @ 392:e2cb8d489908
More debugging
author | Joseph Turian <turian@gmail.com> |
---|---|
date | Tue, 08 Jul 2008 18:45:35 -0400 |
parents | ec8aadb6694d |
children |
line wrap: on
line diff
--- a/simple_autoassociator/main.py Tue Jul 08 17:41:45 2008 -0400 +++ b/simple_autoassociator/main.py Tue Jul 08 18:45:35 2008 -0400 @@ -16,9 +16,12 @@ import numpy nonzero_instances = [] -nonzero_instances.append({1: 0.1, 5: 0.5, 9: 1}) -nonzero_instances.append({2: 0.3, 5: 0.5, 8: 0.8}) -#nonzero_instances.append({1: 0.2, 2: 0.3, 5: 0.5}) +nonzero_instances.append({0: 1, 1: 1}) +nonzero_instances.append({0: 1, 2: 1}) + +#nonzero_instances.append({1: 0.1, 5: 0.5, 9: 1}) +#nonzero_instances.append({2: 0.3, 5: 0.5, 8: 0.8}) +##nonzero_instances.append({1: 0.2, 2: 0.3, 5: 0.5}) import model model = model.Model()