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

Genetic Algorithm #62

Open
tanmayb123 opened this issue Oct 18, 2016 · 3 comments
Open

Genetic Algorithm #62

tanmayb123 opened this issue Oct 18, 2016 · 3 comments
Labels

Comments

@tanmayb123
Copy link

This probably isn't an issue for this SDK, I just added this as a "discussion"...

I've been messing around with getting Neural Networks to play games, for example, but I want to take it a step further: Would it be possible to use something like "Mendel" (an iOS SDK for Genetic Algorithms) to evolve a Neural Network using this SDK?

  • Tanmay Bakshi (TajyMany)
@collinhundley
Copy link
Member

@tanmayb123 I had read this wrong originally, and thought it was a feature request for genetic algorithms, which are in fact on the to-do list.

To answer your real question: yes. GAs can be used to evolve neural networks, but they are rarely more effective than backpropagation. If you have labeled training data, and if backpropagation is ever an option, use it first. That said, some recent studies have shown that evolutionary approaches can be a viable alternative to reinforcement learning.

Hope this helps!

@tanmayb123
Copy link
Author

Thanks for the answer, @collinhundley! I really appreciate it.
I've been working a bit more on this - but do you think it would be a better idea to create an example for Swift-AI that uses a Genetic Algorithm SDK developed by someone else, like Mendel, or to implement it as a feature of Swift-AI itself?

@collinhundley
Copy link
Member

@tanmayb123 the plan is to provide a semi-generic GA implementation in Swift AI. Once that is completed, I'd love to see some example projects.

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

No branches or pull requests

2 participants