cc
This commit is contained in:
1 parent
511926a4f5
commit
4af18f014c
1 file changed
+1
-1
@@ -54,7 +54,7 @@ namespace NeuralNetwork {
|
|||||||
|
|
||||||
std::cout << error << "\n";
|
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();
|
network.removeLastHiddenNeuron();
|
||||||
error=lastError;
|
error=lastError;
|
||||||
std::cout << "PRUNED\n";
|
std::cout << "PRUNED\n";
|
||||||
|
|||||||
Reference in new issue
Block a user