Public Member Functions | Static Public Member Functions

PsiLogistic Class Reference

logistic function More...

#include <sigmoid.h>

Inheritance diagram for PsiLogistic:
PsiSigmoid

List of all members.

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
PsiSigmoidclone (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

Detailed Description

logistic function

The logistic function is given by f(x) = 1/(1+exp(-x))


Member Function Documentation

double PsiLogistic::f ( double  x  )  const [virtual]

value of the sigmoid at position x

Logistic Sigmoid

Reimplemented from PsiSigmoid.


The documentation for this class was generated from the following files: