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

Marcus Edel notifications at github.com
Sun Jul 17 16:58:00 EDT 2016


>      CullSpeciesToOne(aPopulation);  // NOTICE: I found that this makes XOR test converges fast.
>  
> -    //DEBUGGING!!!!!!!!!
> -    printf("after, species sizes are: ");
> -    for (ssize_t s=0; s<aPopulation.aSpecies.size(); ++s) {
> -      std::cout<< aPopulation.aSpecies[s].aGenomes.size() << "  ";
> -    }
> -    printf("\n");
> -    //DEBUGGING!!!!!!!!!
> -
>      // Random choose species and breed child until reach population size.
>      childGenomes.push_back(lastBestGenome);

We can't just add the lastBestGenome, because it's possible that at the time we add the genome it doesn't exist anymore. Also the population already contains the genome, so we would add the genome twice.

---
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/fc982b9406838eb9697000481e816165702e8ba9..66b0f4171ab0c6810cf3058e653e48d18c4913be#r71089399
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160717/a8fdfdbc/attachment.html>


More information about the mlpack-git mailing list