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

Excalibur notifications at github.com
Sat Jun 11 14:40:26 EDT 2016


> +  	std::vector<std::vector<double>> inputs;
> +  	std::vector<double> input1 = {0, 0, 1};
> +  	std::vector<double> input2 = {0, 1, 1};
> +  	std::vector<double> input3 = {1, 0, 1};
> +  	std::vector<double> input4 = {1, 1, 1};
> +  	inputs.push_back(input1);
> +  	inputs.push_back(input2);
> +  	inputs.push_back(input3);
> +  	inputs.push_back(input4);
> +
> +  	std::vector<double> outputs;
> +  	outputs.push_back(1);
> +  	outputs.push_back(0);
> +  	outputs.push_back(1);
> +  	outputs.push_back(0);
> +

@zoq Reasonable. I will revise it then.

---
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#r66709979
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160611/ec753b58/attachment-0001.html>


More information about the mlpack-git mailing list