[mlpack-git] [mlpack/mlpack] Neural evolution algorithms implementation (CNE, NEAT, HyperNEAT) (#686)
Marcus Edel
notifications at github.com
Thu Aug 18 09:30:42 EDT 2016
> + }
> +
> + if (linkIndexs.size()>0)
> + {
> + int idx = linkIndexs[mlpack::math::RandInt(0, linkIndexs.size())];
> + genome.aLinkGenes[idx].Enabled(!enabled);
> + }
> + }
> +
> + /**
> + * Mutate: change single weight. Combine both biased and unbiased mutation.
> + *
> + * @param genome The genome to apply this mutation operator.
> + * @param mutateProb The probability to mutate a genome's weights.
> + * @param perturbProb The probability to perturb a genome's weight when we decide
> + * to mutate it. The probability of apply unbiased weight mutation is 1 - perturbProb.
Would be great if you add a comment about the ``mutateSize`` parameter.
--
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/e176571e0ba5256514f14c951e101c95c6cee10a#r75307492
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160818/93ffa11f/attachment.html>
More information about the mlpack-git
mailing list