cc: reporting of error after first learning
This commit is contained in:
@@ -39,6 +39,9 @@ namespace NeuralNetwork {
|
||||
} else {
|
||||
error = trainOutputs(network, patterns);
|
||||
}
|
||||
|
||||
std::cout << error << "\n";
|
||||
|
||||
while(_epoch++ < _maxEpochs && _neurons < _maxHiddenUnits && error > _errorTreshold) {
|
||||
std::vector<std::shared_ptr<Neuron>> candidates = createCandidates(network.getNeuronSize() - outputs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user