logistic function More...
#include <sigmoid.h>
Public Member Functions | |
| PsiLogistic (void) | |
| constructor | |
| PsiLogistic (const PsiLogistic &original) | |
| copy constructor | |
| double | f (double x) const |
| value of the sigmoid at position x | |
| double | df (double x) const |
| derivative of the sigmoid at position x | |
| double | ddf (double x) const |
| second derivative of the sigmoid | |
| double | inv (double p) const |
| inverse of the sigmoid | |
| int | getcode (void) const |
| return the sigmoid identifier | |
| PsiSigmoid * | clone (void) const |
| clone object by value | |
Static Public Member Functions | |
| static std::string | getDescriptor (void) |
| get a short string that identifies the type of sigmoid | |
logistic function
The logistic function is given by f(x) = 1/(1+exp(-x))
| double PsiLogistic::f | ( | double | x | ) | const [virtual] |
1.7.1