Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evolving Activation function choices #6

Open
GautamSridhar opened this issue Dec 31, 2019 · 3 comments
Open

Evolving Activation function choices #6

GautamSridhar opened this issue Dec 31, 2019 · 3 comments

Comments

@GautamSridhar
Copy link

Is your feature request related to a problem? Please describe.
I would like to see if we can evolve activation function choices like in the original Python NEAT

Describe the solution you'd like
A setting in the config for activation takes in the value 'random' and then evolves the activation function from a set of activations available.

@ddehueck
Copy link
Owner

This makes sense to do - these are that will need to be changed:

  • neat/phenotype/feed_forward.py - will need to use the activation from each unit not directly from config
  • neat/genotype/node_gene.py - will need to hold a value for the activation function
  • neat/genotype/genome.py - may need to add a mutation rate for activation functions
  • neat/activations.py - will need to add a way to randomly select an activation function, should also add more activation functions

@GautamSridhar
Copy link
Author

Thanks for the response! I was waiting to see if this was already in the works. Thanks for letting me know which files need changes. I can also start working on these.

@ddehueck
Copy link
Owner

@GautamSridhar That would be great! It would be a couple of days until I could get some good work done on this, but I am available to answer questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants