parity + debug output
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user