GestureRecognitionToolkit
Version: 1.0 Revision: 04-03-15
The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, c++ machine learning library for real-time gesture recognition.
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
Neuron.h
Go to the documentation of this file.
1
31
#ifndef GRT_NEURON_HEADER
32
#define GRT_NEURON_HEADER
33
34
#include "../../../Util/GRTCommon.h"
35
36
namespace
GRT
{
37
38
class
Neuron
{
39
public
:
40
Neuron
();
41
~
Neuron
();
42
43
bool
init(
const
UINT numInputs,
const
UINT actvationFunction);
44
void
clear();
45
double
fire(
const
VectorDouble &x);
46
double
getDerivative(
const
double
&y);
47
static
bool
validateActivationFunction(
const
UINT actvationFunction);
48
49
double
gamma;
50
double
bias;
51
double
previousBiasUpdate;
52
VectorDouble weights;
53
VectorDouble previousUpdate;
54
UINT numInputs;
55
UINT activationFunction;
56
57
enum
ActivationFunctions{LINEAR=0,SIGMOID,BIPOLAR_SIGMOID,NUMBER_OF_ACTIVATION_FUNCTIONS};
58
};
59
60
}
//End of namespace GRT
61
62
#endif //GRT_NEURON_HEADER
63
64
GRT
Definition:
AdaBoost.cpp:25
GRT::Neuron
Definition:
Neuron.h:38
ngillian
Documents
dev
libs
grt
GRT
RegressionModules
ArtificialNeuralNetworks
MLP
Neuron.h
Generated on Wed Mar 4 2015 12:47:20 for GestureRecognitionToolkit by
1.8.9.1