Genetic Algorithms in Elixir (Pragmatic Bookshelf)

Most Active This Week Top

Most Active This Month Top

Most Active This Year Top

Most Active Last Three Years Top

tvanderpol
After creating the Chromosome type and updating the one_max script, the size attribute isn’t carried through. I realised that in both cro...
New

Most Active Over Three Years Top

chriseyre2000
&Enum.sum(&1) is more commonly written as &Enum.sum/1 This is used in a large number of examples.
New
gmlewis
@seanmor5 - This is a great book so far… I’m enjoying reading and coding along with it! Quick question, though - since “evaluate” goes t...
New
rebelwarrior
Hi Sean, Just go your book and looking it over. Some bg on me, I’m a ecology and evolutionary major from Princeton, later self-taught p...
New
AgFox
The Chromosome struct has an “age” attribute. This can be used in the “terminate?/1” function without need to alter the “Genetic evolve...
New
tvanderpol
The evolve signature in this code sample suddenly loses the population argument which I think isn’t intended, the code goes on to use it ...
New
AgFox
The average stock in a portfolio will have ROI of 5 and RISK of 5 (:rand.uniform(10)) and a portfolio size of 100 stocks. This would giv...
New
AgFox
Implementing the fitness function. however they can still be in the same row The genotype function generates an Elixir list of the co...
New
tvanderpol
The definition for run/2 is also included but the call to evolve is omitted. This solved the issue for me: def run(problem, opts \\ [...
New

Get money off!

The Pragmatic Bookshelf

35% off any eBook

Simply use coupon code "devtalk.com" at checkout. See full details here.