quickProapagtion and tests

This commit is contained in:
2016-02-24 20:23:16 +01:00
parent c45f12f53c
commit 3c924d01f3
9 changed files with 359 additions and 44 deletions

View File

@@ -33,7 +33,7 @@ namespace Learning {
protected:
inline void resize() {
virtual inline void resize() {
if(deltas.size()!=network.size())
deltas.resize(network.size());
@@ -43,6 +43,8 @@ namespace Learning {
}
}
virtual void updateWeights(const std::vector<float> &input);
FeedForward::Network &network;
CorrectionFunction::CorrectionFunction *correctionFunction;