CodeReclaimers / neat-python

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

Custom activation function #240

Closed HimGautam closed 2 years ago

HimGautam commented 2 years ago

Hi, Is there any way I can create custom activation function for the neural network?

CodeReclaimers commented 2 years ago

Yes, here's how you define the function and provide it to the library: https://neat-python.readthedocs.io/en/latest/customization.html#new-activation-functions