<p>In <a href="https://github.com/mlpack/mlpack/pull/686#discussion_r69383804">src/mlpack/methods/ne/neat.hpp</a>:</p>
<pre style='color:#555'>> + // Reproduce next generation of population.
> + void Reproduce() {
> + // keep best genome.
> + Genome lastBestGenome = aPopulation.BestGenome();
> +
> + // Remove stale species.
> + if (aPopulation.aSpecies.size() > 10) {
> + RemoveStaleSpecies(aPopulation);
> + }
> + ////printf("hehe 0\n"); // DEBUG
> + // Remove weak genomes in each species.
> + CullSpecies(aPopulation, aCullSpeciesPercentage);
> + ////printf("hehe 1\n"); // DEBUG
> +
> + // Remove weak species.
> + if (aPopulation.aSpecies.size() > 10) {
</pre>
<p>As for the number of stale species, we should also provide a parameter for the number of weak species.</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/554a279b0089e4385dfb40077e578d6ae2a42ece#r69383804">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFAPt3LM6P4jqNJTk4oqjQtnL7gTzks5qRvf4gaJpZM4IwJa6">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFKDK3R1s5C9-Bo1fh6uCNUrSokopks5qRvf4gaJpZM4IwJa6.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/554a279b0089e4385dfb40077e578d6ae2a42ece#r69383804"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>