cc
This commit is contained in:
@@ -54,7 +54,7 @@ namespace NeuralNetwork {
|
||||
|
||||
std::cout << error << "\n";
|
||||
|
||||
if(_pruningStatus && error*_pruningLimit >= lastError) { // it is not getting bettter
|
||||
if(_pruningStatus && error >= lastError * _pruningLimit) { // it is not getting bettter
|
||||
network.removeLastHiddenNeuron();
|
||||
error=lastError;
|
||||
std::cout << "PRUNED\n";
|
||||
|
||||
Reference in New Issue
Block a user