<p>In <a href="https://github.com/mlpack/mlpack/pull/686#discussion_r70905170">src/mlpack/methods/ne/neat.hpp</a>:</p>
<pre style='color:#555'>> + 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);
</pre>
<p>Thanks for the information, maybe it's a good idea, but it sounds counterproductive to me. I think it should work without, since RemoveStaleSpecies should remove old species anyway.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/686/files/48e15c45ab1a9c65dbd8fe3fe6f07e368c965883#r70905170">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFFPnTOXvbifAFZoxZdgKvJlqccZqks5qVtD6gaJpZM4IwJa6">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFL_MA9R08t5XBpDAJqto8L8t-iWPks5qVtD6gaJpZM4IwJa6.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/mlpack/mlpack/pull/686/files/48e15c45ab1a9c65dbd8fe3fe6f07e368c965883#r70905170"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>