[mlpack-git] [mlpack/mlpack] Neural evolution algorithms implementation (CNE, NEAT, HyperNEAT) (#686)
Marcus Edel
notifications at github.com
Sat Jul 16 13:15:18 EDT 2016
> + std::vector<NeuronGene> neuronGenes;
> + std::vector<LinkGene> linkGenes;
> +
> + NeuronGene inputGene1(0, INPUT, LINEAR, 0, 0, 0);
> + NeuronGene inputGene2(1, INPUT, LINEAR, 0, 0, 0);
> + NeuronGene biasGene(2, BIAS, LINEAR, 0, 0, 0);
> + NeuronGene outputGene(3, OUTPUT, SIGMOID, 1, 0, 0);
> + NeuronGene hiddenGene(4, HIDDEN, SIGMOID, 0.5, 0, 0);
> +
> + neuronGenes.push_back(inputGene1);
> + neuronGenes.push_back(inputGene2);
> + neuronGenes.push_back(biasGene);
> + neuronGenes.push_back(outputGene);
> + neuronGenes.push_back(hiddenGene);
> +
> + LinkGene link1(0, 3, 0, 1, true);
Maybe I missed something but I think each link should have a different innovation number.
---
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#r71069041
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160716/4ba56d24/attachment.html>
More information about the mlpack-git
mailing list