¡@

Home 

python Programming Glossary: self.ni

Multiple objects somehow interfering with each other [original version]

http://stackoverflow.com/questions/12262716/multiple-objects-somehow-interfering-with-each-other-original-version

self ni nh no # number of input hidden and output nodes self.ni ni 1 # 1 for bias node self.nh nh 1 self.no no # activations.. nh 1 self.no no # activations for nodes self.ai 1.0 self.ni self.ah 1.0 self.nh self.ao 1.0 self.no # create weights rows.. columns number of processing nodes self.wi np.zeros self.ni self.nh self.wo np.zeros self.nh self.no # set them to random..