Genetic Hello World
Learning and science
genetic algorithm demo
SHOW HN2017
How HN took it
5 positive, 3 neutral or asking, 0 mixed, 2 critical, out of 10 comments about the project. Thread score +0.25.
Idea: 4 for, 0 againstExecution: 1 for, 1 againstDocs: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Simple, clear and easy to follow demonstration
From 2 comments
Thanks for sharing. Concise and easy to follow. I ported it to C to try it out for myself. Turning off console output makes it finish almost instantly!
sjmulder on HNThis is a really fun demonstration.
greenpizza13 on HN
Genetic algorithms are an elegant optimization heuristic
From 1 comment
Up-voting because even though genetic algorithms seem inefficient compared to back-propagation with gradient descent, it still is an elegant optimization heuristic for many…
hcarvalhoalves on HN
Objections
README wrongly conflates genetic algorithms with genetic programming
From 2 comments
Cool! A minor nitpick about the README - genetic algorithm is not the same thing as genetic programming. The former is what you're doing here, the latter refers to building a…
TeMPOraL on HNIt is not a minor nit & good to point out.
eternalban on HN
README could better explain the concept quickly
From 1 comment
I find it interesting - but it would be nice if there is a better README for visitor to grab the concept quick.
david90 on HN
Requests
Try Levenshtein distance as fitness metric
From 1 comment
I wonder how using Levenshtein distance as a fitness metric would affect the speed of progress: https://en.wikipedia.org/wiki/Levenshtein_distance OP, if you want to experiment,…
vanderZwan on HN
Questions
Why lower-cost solutions rank above closer ones in the output
From 1 comment
The cost function just looks like difference squared, but I'm not sure how that yields results like this: ``` Hglmo,wosmd! (8) Gflln* wosle! (9) Hello, wosld! (9999) Hello,…
natosaichek on HN
Alternatives named
Explore Genetic Algorithm tool by nk1tz
From 1 comment
I've long been a fan of the GA optimization technique. I created this little tool to explore the genetic algorithm. You can tweak parameters on the fly and watch the effect it…
nk1tz on HN
Methinks it is like an incestuous weasel (Levenshtein example)
From 1 comment
I used Levenshtein distance for a similar thing some years ago: https://tomnomnom.com/posts/methinks-it-is-like-an-incestuous-weasel It worked very well!
TomNomNom on HN