Exemple #1
0
 def new_neuron(self):
     next_innovation_number = ControlPanel.next_innovation_number()
     return {
         "innovation_number": next_innovation_number,
         "label": "H%s" % next_innovation_number,
         "type": HIDDEN
     }
Exemple #2
0
 def new_synapse(self, axon, dendrite, weight):
     next_innovation_number = ControlPanel.next_innovation_number()
     return {
         "innovation_number": next_innovation_number,
         "axon": axon,
         "dendrite": dendrite,
         "weight": weight
     }
Exemple #3
0
 def new_synapse(self, axon, dendrite, weight):
     next_innovation_number = ControlPanel.next_innovation_number()
     return {
         "innovation_number": next_innovation_number,
         "axon": axon,
         "dendrite": dendrite,
         "weight": weight
     }
Exemple #4
0
 def new_neuron(self):
     next_innovation_number = ControlPanel.next_innovation_number()
     return {"innovation_number": next_innovation_number,
             "label": "H%s" % next_innovation_number,
             "type": HIDDEN
             }