cascade
This commit is contained in:
1 parent
4a29fe792a
commit
5343751e7c
3 files changed
+5
-3
No files matched your search
@@ -39,7 +39,7 @@ namespace NeuralNetwork {
|
||||
} else {
|
||||
error = trainOutputs(network, patterns);
|
||||
}
|
||||
while(_epoch++ < _maxEpochs && _neurons++ < _maxHiddenUnits && error > _errorTreshold) {
|
||||
while(_epoch++ < _maxEpochs && _neurons < _maxHiddenUnits && error > _errorTreshold) {
|
||||
std::vector<std::shared_ptr<Neuron>> candidates = createCandidates(network.getNeuronSize() - outputs);
|
||||
|
||||
std::pair<std::shared_ptr<Neuron>, std::vector<float>> candidate = trainCandidates(network, candidates, patterns);
|
||||
|
||||
Reference in new issue
Block a user