diff --git a/include/NeuralNetwork/ConstructiveAlgorithms/CascadeCorrelation.h b/include/NeuralNetwork/ConstructiveAlgorithms/CascadeCorrelation.h index 942ba1a..f7d5e8b 100644 --- a/include/NeuralNetwork/ConstructiveAlgorithms/CascadeCorrelation.h +++ b/include/NeuralNetwork/ConstructiveAlgorithms/CascadeCorrelation.h @@ -39,6 +39,9 @@ namespace NeuralNetwork { } else { error = trainOutputs(network, patterns); } + + std::cout << error << "\n"; + while(_epoch++ < _maxEpochs && _neurons < _maxHiddenUnits && error > _errorTreshold) { std::vector> candidates = createCandidates(network.getNeuronSize() - outputs);