parity + debug output

This commit is contained in:
2016-05-19 23:30:56 +02:00
parent b8c4d25eb2
commit 2607867a25
3 changed files with 13 additions and 10 deletions

View File

@@ -52,6 +52,8 @@ namespace NeuralNetwork {
error = trainOutputs(network, patterns);
}
std::cout << error << "\n";
if(_prunningStatus && error*1.01 >= lastError) { // it is not getting bettter
network.removeLastHiddenNeuron();
error=lastError;