I have two arrays of objects that describe the structure of a neural network, how can I combine them to create realistic offspring? Chromosomes look something like this:
chromosome = [
[Node, Node, Node],
[Node, Node, Node, Node, Node],
[Node, Node, Node, Node],
[Node, Node, Node, Node, Node],
[Node, Node, Node, Node, Node, Node, Node],
[Node, Node, Node],
];
Node example:
Node {
nodesThatThisIsConnectedTo = [0, 2, 3, 5]
weights = [0.34, 0.33, 0.76, -0.56]
}