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

Excalibur notifications at github.com
Mon Jul 18 01:03:06 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);

childGenomes.push_back(lastBestGenome);
Yeah, I use this to make sure the fitness will always decrease (at least not increase) during each iteration.
"it's possible that at the time we add the genome it doesn't exist anymore", sorry, but I am not quite clear about the meaning of this.

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


More information about the mlpack-git mailing list