ILayer layer;
for (int i = 0; i < topology.length; i++) {
layer = new Layer(topology[i], getActivation(functions[i]));
network.addLayer(layer);
}
network.generateWeights();
return network;
}
private Activations[] buildActivationsTopology(int topologySize) {
Activations[] functions = new Activations[topologySize];