Skip to content

Comment on Clojure: Genetic Mona Lisa problem in 250 beautiful lines

Comments

In the informal algorithm description, it says "Create Children from the best programs by mating and mutating them". By mating, do you mean actually taking two (or more) "programs" and merging the contents? I looked over the code, but I don't know enough clojure to find any part that looked like it merged two programs.

Incidentally, now I want to learn clojure :).

I do know Clojure and I didn't see any mating either - just mutating. I haven't had any caffeine yet though.

I'm also working on genetic programming in Clojure, and with the PermGen fix in rev. 1232, it seems to be a great tool for the job.

yndOP

I removed mating in the end because it made the program converge slower.

I'm glad that got you interested in Clojure!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.