¡@

Home 

python Programming Glossary: self.n_neurons_to_hl

Simple multi layer neural network implementation [closed]

http://stackoverflow.com/questions/15395835/simple-multi-layer-neural-network-implementation

n_outputs self.n_hidden_layers n_hidden_layers self.n_neurons_to_hl n_neurons_to_hl # Do not touch self._create_network self._n_weights.. 0 # create the first layer self.layers NeuronLayer self.n_neurons_to_hl self.n_inputs # create hidden layers self.layers NeuronLayer.. # create hidden layers self.layers NeuronLayer self.n_neurons_to_hl self.n_neurons_to_hl for _ in range 0 self.n_hidden_layers ..