[mlpack-git] [mlpack/mlpack] Neural evolution algorithms implementation (CNE, NEAT, HyperNEAT) (#686)

Marcus Edel notifications at github.com
Thu Jul 14 19:59:51 EDT 2016


> +  void InitPopulation() {
> +    aPopulation = Population(aSeedGenome, aPopulationSize);
> +  }
> +
> +  // Reproduce next generation of population.
> +  void Reproduce() {
> +    // keep best genome.
> +    Genome lastBestGenome = aPopulation.BestGenome();
> +
> +    // Remove stale species.
> +    if (aPopulation.aSpecies.size() > 10) {
> +      RemoveStaleSpecies(aPopulation);
> +    }
> +
> +    // Remove weak genomes in each species.
> +    CullSpecies(aPopulation, aCullSpeciesPercentage);

I'm not sure, is this a technique to avoid local minima? Truncating each species by 50% sounds like an counterproductive idea. Maybe I missed a reference in the NEAT paper?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/686/files/48e15c45ab1a9c65dbd8fe3fe6f07e368c965883#r70903979
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160714/44db188b/attachment.html>


More information about the mlpack-git mailing list