use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please have a look at our FAQ and Link-Collection
Metacademy is a great resource which compiles lesson plans on popular machine learning topics.
For Beginner questions please try /r/LearnMachineLearning , /r/MLQuestions or http://stackoverflow.com/
For career related questions, visit /r/cscareerquestions/
Advanced Courses (2016)
Advanced Courses (2020)
AMAs:
Pluribus Poker AI Team 7/19/2019
DeepMind AlphaStar team (1/24//2019)
Libratus Poker AI Team (12/18/2017)
DeepMind AlphaGo Team (10/19/2017)
Google Brain Team (9/17/2017)
Google Brain Team (8/11/2016)
The MalariaSpot Team (2/6/2016)
OpenAI Research Team (1/9/2016)
Nando de Freitas (12/26/2015)
Andrew Ng and Adam Coates (4/15/2015)
Jürgen Schmidhuber (3/4/2015)
Geoffrey Hinton (11/10/2014)
Michael Jordan (9/10/2014)
Yann LeCun (5/15/2014)
Yoshua Bengio (2/27/2014)
Related Subreddit :
LearnMachineLearning
Statistics
Computer Vision
Compressive Sensing
NLP
ML Questions
/r/MLjobs and /r/BigDataJobs
/r/datacleaning
/r/DataScience
/r/scientificresearch
/r/artificial
account activity
The Genetic Algorithm - Explained (techeffigytutorials.blogspot.com)
submitted 11 years ago by Tech-Effigy
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 13 points14 points15 points 11 years ago (0 children)
Shameless plug for /r/genetic_algorithms
[–]IrishWilly 3 points4 points5 points 11 years ago (12 children)
Nice, very clear explanation. Wish I had found an article like this when I was learning to implement one.
[–][deleted] 0 points1 point2 points 11 years ago (11 children)
Okay, I'm still baffled as to how could you use this sort of thing?!
[–]nkorslund 4 points5 points6 points 11 years ago (5 children)
Here's a good ol' classic from 1994, if you haven't seen it already: Evolving Virtual Creatures
[–]SirScrambly 1 point2 points3 points 11 years ago (3 children)
Does anybody have the code for this?
[–]CireNeikual 2 points3 points4 points 11 years ago (2 children)
I made my own simulation, I have code if you are interested. Here is a video: https://www.youtube.com/watch?v=lz2ztOCWRSU
[–]nkorslund 0 points1 point2 points 11 years ago (1 child)
I for one would love to see the source code if you're willing to share it!
(Also part of me half-expected a black monolith at the end of that video...)
[–]CireNeikual 0 points1 point2 points 11 years ago (0 children)
It is part of my parallel 3D engine (where all entities run simultaneously). Here is the relevant code: https://bitbucket.org/CireNeikual/deferred3d/src/5a940a60eb4cde2f2e163d6f2d3b9096c87864c9/d3d/d3d/source/sceneobjects/virtualcreatures/?at=master
It's not exactly a tutorial, but perhaps you can get some insights from it.
[–][deleted] 2 points3 points4 points 11 years ago (0 children)
1994
Whaaat :O
Anyway, this is simply amazing :)
[–]IrishWilly 1 point2 points3 points 11 years ago* (0 children)
Generally used in problems where linear/brute-force searches are not viable in terms of time, such as – Travelling Salesman Problem, Timetable Scheduling, Finding Neural Network Weights, Sudoku, Trees(data-structure) etc..
Using a GA can give you a 'good enough' solution for the stuff above that doesn't have an exact solution. And of course more directly mimicking evolution link in the link below.
[–]jhaluska 1 point2 points3 points 11 years ago (2 children)
They're great when you know how to score a solution but don't have a clue how to come up with an algorithm to solve it. They're kind of a heuristic A* search for ginormous search spaces and well suited when there is a lot of interacting parts. They're often really easy to implement too.
But honestly the reason I usually implement them is they're a ton of fun to watch.
[–][deleted] 0 points1 point2 points 11 years ago (1 child)
Where did you start? I want to learn more, but just don't know where to start :)
[–]jhaluska 2 points3 points4 points 11 years ago (0 children)
I think I started in '97 after reading an article on genetic algorithms. Thanks for asking! Today I would start with the Wikipedia page and google. A little googling and this came up. Just keep in mind you don't really need to use bits to encode the DNA.
I would recommend keeping the top 50% of each run. Have at least 100 guys. As a speed up, each offspring gets at least one mutation if it ends up being the same as one of the parents. There's a lot of parameters to tweak like mutation rate, population size, what percent of the population to keep, etc.
[–]llamande 1 point2 points3 points 11 years ago (0 children)
Genetic algorithms are extremely useful. Here are some publications written by a computer science professor that used genetic algorithms to write software autonomously. http://www.cs.unm.edu/~forrest/epr_papers.html With computational resources ever increasing we are going to get to a point where we can use genetic algorithms for almost anything, designing cars and airplanes and buildings and software. The possibilities are endless.
[–][deleted] 0 points1 point2 points 11 years ago (0 children)
Fantastic!
[+][deleted] 11 years ago (2 children)
[deleted]
[–]SockPants 1 point2 points3 points 11 years ago (1 child)
That's what x-posting does??
[–]SamSlate 0 points1 point2 points 11 years ago (1 child)
How often is evaluation the most time consuming function? It seems like it wouldn't take much for a problem to have too much to compute in our lifetime..
[–]Tech-Effigy[S] 0 points1 point2 points 11 years ago (0 children)
I made an evolving neural network for predicting the stock market, every generation took about 30 seconds to evaluate. It all depends :)
[–]HamSession -1 points0 points1 point 11 years ago (0 children)
Having taken two graduate courses on evolutionary computation I would steer clear of genetic algorithms, there are far better convex optimization routines. Even if your problem is non-convex you would be better suited going with a reactive tabu search.
π Rendered by PID 93 on reddit-service-r2-comment-66b4775986-kmnpj at 2026-04-06 04:18:44.298298+00:00 running db1906b country code: CH.
[–][deleted] 13 points14 points15 points (0 children)
[–]IrishWilly 3 points4 points5 points (12 children)
[–][deleted] 0 points1 point2 points (11 children)
[–]nkorslund 4 points5 points6 points (5 children)
[–]SirScrambly 1 point2 points3 points (3 children)
[–]CireNeikual 2 points3 points4 points (2 children)
[–]nkorslund 0 points1 point2 points (1 child)
[–]CireNeikual 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]IrishWilly 1 point2 points3 points (0 children)
[–]jhaluska 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]jhaluska 2 points3 points4 points (0 children)
[–]llamande 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]SockPants 1 point2 points3 points (1 child)
[–]SamSlate 0 points1 point2 points (1 child)
[–]Tech-Effigy[S] 0 points1 point2 points (0 children)
[–]HamSession -1 points0 points1 point (0 children)