diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2015-08-01 14:35:58 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2015-08-01 14:35:58 +0200 |
commit | 7e8dce7224214cbb82e9191917de9f234fe38cb7 (patch) | |
tree | 2ac58697c2004ef72b3cb52eb8cb53000ebdf86d /include/brain/bias_node.h | |
parent | be9e20b29ce0ed81091ab3589f4910232b457cec (diff) |
Implemented structure of network
Diffstat (limited to 'include/brain/bias_node.h')
-rw-r--r-- | include/brain/bias_node.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/brain/bias_node.h b/include/brain/bias_node.h new file mode 100644 index 0000000..501a0a0 --- /dev/null +++ b/include/brain/bias_node.h @@ -0,0 +1,10 @@ +#pragma once + +#include "brain/neural_node.h" + +class BiasNode: public NeuralNode +{ +public: + BiasNode(); + virtual double activation() const { return 1; } +}; |