Files
NeuralNetworkLib/include/NeuralNetwork/FeedForward/Perceptron.h
2016-03-07 22:51:28 +01:00

20 lines
463 B
C++

#pragma once
#include "./Network.h"
#include <NeuralNetwork/ActivationFunction/Heaviside.h>
namespace NeuralNetwork {
namespace FeedForward {
class Perceptron : private Network{
public:
inline Perceptron(size_t _inputSize,size_t _outputSize):Network(_inputSize) {
appendLayer(_outputSize,ActivationFunction::Heaviside(0.0));
};
using Network::computeOutput;
using Network::randomizeWeights;
using Network::operator[];
protected:
};
}
}