}
return error;
}
private double getDelta(int layerIndex, int neuronIndex, double error) {
IActivationFunction act = network.getLayer(layerIndex).getActivationFunction();
double derivate = act.derivate(currentValues.get(neuronIndex));
return error * derivate;
}