/books/genetic-algorithms-in-elixir
Active Threads This:
Most Active This Week
Most Active This Month
Most Active This Year
Most Active Last Three Years
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
&Enum.sum(&1) is more commonly written as &Enum.sum/1
This is used in a large number of examples.
New
@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
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
The Chromosome struct has an “age” attribute.
This can be used in the “terminate?/1” function without need to alter the “Genetic evolve...
New
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
Implementing the fitness function.
however they can still be in the same row
The genotype function generates an Elixir list of the co...
New
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
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
Book Info
Publisher:
Pragmatic Bookshelf
Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.