comparison 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
comparison
equal deleted inserted replaced
389:ec8aadb6694d 392:e2cb8d489908
14 14
15 15
16 import numpy 16 import numpy
17 17
18 nonzero_instances = [] 18 nonzero_instances = []
19 nonzero_instances.append({1: 0.1, 5: 0.5, 9: 1}) 19 nonzero_instances.append({0: 1, 1: 1})
20 nonzero_instances.append({2: 0.3, 5: 0.5, 8: 0.8}) 20 nonzero_instances.append({0: 1, 2: 1})
21 #nonzero_instances.append({1: 0.2, 2: 0.3, 5: 0.5}) 21
22 #nonzero_instances.append({1: 0.1, 5: 0.5, 9: 1})
23 #nonzero_instances.append({2: 0.3, 5: 0.5, 8: 0.8})
24 ##nonzero_instances.append({1: 0.2, 2: 0.3, 5: 0.5})
22 25
23 import model 26 import model
24 model = model.Model() 27 model = model.Model()
25 28
26 for i in xrange(100000): 29 for i in xrange(100000):