perceptron implementation changed + perceptronLearningAlgorithm and tests

This commit is contained in:
Shin committed 2016-03-08 23:10:38 +01:00
1 parent 4ef010b965
commit a48298b342
7 files changed
+97 -7

No files matched your search

@@ -13,7 +13,15 @@ namespace FeedForward {
using Network::computeOutput;
using Network::randomizeWeights;
using Network::operator[];
inline std::size_t size() const {
return layers[1]->size();
}
inline NeuronInterface& operator[](const std::size_t& neuron) {
return layers[1]->operator[](neuron);
}
protected:
};
}