Skip to content
#

evolutionary-algorithm

Here are 227 public repositories matching this topic...

Jenscaasen
Jenscaasen commented Aug 8, 2018

Hi,
sorry for opening an issue for this, but i dont know how else to contact you.
Is there any documentation on how to actually implement SharpNeat? There is a collection of examples somewhere in the internet using sharpneat, which i can not find again, and there is that 8 year old tutorial from someone using it for TicTacToe, but which is incompatible to the current Nuget release. Outside of th

koaning
koaning commented Mar 18, 2018

Suppose that we are working with this bit of code.

from evol import Population, Evolution
from evol.logger import BaseLogger, SummaryLogger
from evol.helpers.pickers import pick_random

def change(gene, size=8):
  return min(BOARD_SIZE, max(1, gene + randint(-1, 1)))

def mutate_coords(chrmsm, p=0.1):
  return [(change(x), change(y)) if random() < p else (x,y) for x,y in chrmsm]

Improve this page

Add a description, image, and links to the evolutionary-algorithm topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the evolutionary-algorithm topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.