parity + debug output

This commit is contained in:
Shin committed 2016-05-19 23:30:56 +02:00
1 parent b8c4d25eb2
commit 2607867a25
3 files changed
+13 -10

No files matched your search

@@ -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;