Skip to content

Conversation

Nereuxofficial
Copy link
Collaborator

@Nereuxofficial Nereuxofficial commented Oct 3, 2021

This is more of a proof of concept since in order for it to get merged it would have to be optional, i think it's a nice idea since it would be much faster. You can also try it out using my flappy bird for or just replace the version with { git = "https://github.com/Nereuxofficial/neat-gru-rust"} in another project

Using Cargo criterion and looking at the generated HTML pages you can also see the performance difference between sigmoid and ReLu with nice charts.

@sakex
Copy link
Owner

sakex commented Oct 4, 2021

@Nereuxofficial Thanks it looks good. I will run some tests to see if it impacts my results. I keep you posted!

@sakex
Copy link
Owner

sakex commented Oct 4, 2021

@Nereuxofficial A good way to make it optional would be to have a trait NeuronActivation so we could have struct NeuralNetwork<N: NeuronActivation>

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

Successfully merging this pull request may close these issues.

2 participants