GPLIB++
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
Neural_Network
IdentityActivationFunction.cpp
Go to the documentation of this file.
1
#include "
IdentityActivationFunction.h
"
2
#include <iostream>
3
4
namespace
gplib
5
{
6
IdentityActivationFunction::IdentityActivationFunction
()
7
{
8
}
9
IdentityActivationFunction::~IdentityActivationFunction
()
10
{
11
}
12
13
double
IdentityActivationFunction::CalcOutput
(
const
double
input)
14
{
15
return
input;
16
}
17
18
double
IdentityActivationFunction::CalcDeriv
(
const
double
input)
19
{
20
return
1.0;
21
}
22
}
gplib::IdentityActivationFunction::CalcOutput
virtual double CalcOutput(const double input)
The function that maps between the weighted sum that's the input of the neuron and the output...
Definition:
IdentityActivationFunction.cpp:13
gplib::IdentityActivationFunction::~IdentityActivationFunction
virtual ~IdentityActivationFunction()
Definition:
IdentityActivationFunction.cpp:9
gplib::IdentityActivationFunction::IdentityActivationFunction
IdentityActivationFunction()
Definition:
IdentityActivationFunction.cpp:6
gplib::IdentityActivationFunction::CalcDeriv
virtual double CalcDeriv(const double input)
The derivative of the function defined in CalcOutput.
Definition:
IdentityActivationFunction.cpp:18
IdentityActivationFunction.h
Generated on Wed May 25 2016 14:21:06 for GPLIB++ by
1.8.6