+/GENN

genetically evolving neural networks

git clone https://git.julia.blue/+/GENN

Joseph RyanStill brokeneb6e103

v0.2
921 B9 linesraw
1#include "problems/Xor.h"
2
3int main() {
4    srand(time(NULL));
5    Xor test;
6    test.view(new Genome("10 3 1 0 0 1 0 2 0 3 1 4 2 5 2 6 2 7 2 8 2 9 2 19 1.46727 1 0 3 -0.179144 1 1 3 1.39134 0 2 3 -0.0606774 0 2 0 -0.0993384 1 1 0 0.0715777 1 2 4 0.0715777 1 2 4 -0.238227 0 1 5 -0.238227 0 1 5 1.39134 0 2 6 1.39134 1 2 6 1.10508 0 6 1 -0.228553 1 1 7 -0.238227 1 1 7 1.55614 1 5 4 1 1 2 8 1.39134 1 2 8 1 1 1 9 -0.238227 1 1 9 0.557246 0.692897 0.0170188 0.168926 0.127933 0.051437 0.350071"));
7    test.view(new Genome("9 3 1 0 0 1 0 2 0 3 1 4 2 5 2 6 2 7 2 8 2 17 1.46727 1 0 3 -0.179144 1 1 3 1.39134 1 2 3 -0.0602513 0 2 0 -0.099263 0 1 0 0.0714387 1 2 4 0.0714387 1 2 4 -0.238227 0 1 5 -0.238227 1 1 5 1.39134 1 2 6 1.39134 1 2 6 1.10508 0 6 1 -0.23339 0 1 7 -0.238227 1 1 7 -0.723472 1 2 2 0.129371 1 1 8 -0.160838 1 1 8 0.505439 1.03663 0.0114325 0.187175 0.0859428 0.0345541 0.387892"));
8    //test.run(1000);
9}