CodeReclaimers / neat-python

Python implementation of the NEAT neuroevolution algorithm
BSD 3-Clause "New" or "Revised" License
1.41k stars 490 forks source link

define output_neuron activation #184

Open macd2 opened 4 years ago

macd2 commented 4 years ago

How can the activation function for the output be set?

In other words, I need the outputs for num_outputs > 1 with an nn.RecurrentNetwork as oneHot encoded. Whats the best way to go about it?

right now im using an argmax on the returned list but it looks like the network is not learning, since the Change in the network has little effect.