[mlpack-git] [mlpack/mlpack] NeuralEvolution - implemented gene, genome (#686)

Excalibur notifications at github.com
Sat Jun 11 14:46:39 EDT 2016


> +  LinkGene link3(2, 3, 0, 0);
> +  LinkGene link4(0, 4, 0, 0);
> +  LinkGene link5(1, 4, 0, 0);
> +  LinkGene link6(2, 4, 0, 0);
> +  LinkGene link7(4, 3, 0, 0);
> +
> +  linkGenes.push_back(link1);
> +  linkGenes.push_back(link2);
> +  linkGenes.push_back(link3);
> +  linkGenes.push_back(link4);
> +  linkGenes.push_back(link5);
> +  linkGenes.push_back(link6);
> +  linkGenes.push_back(link7);
> +
> +  Genome seedGenome = Genome(0, neuronGenes, linkGenes, numInput, numOutput, depth, fitness);
> +

@zoq Yeah, I will set seedGenome in default constructor. Currently I haven't add the default constructor. I am planning to add it after the tests passed. 

---
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/65f093daf32f6cb353cd6b9304bab88a5e096fdc#r66710042
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160611/0e848b60/attachment.html>


More information about the mlpack-git mailing list