Inheritance diagram for ScaledSigmoidFunction:


Constructors | |
| ScaledSigmoidFunction (Real l=1.0, Real min=-1.0, Real max=+1.0) | |
| ScaledSigmoidFunction (PropertySettings &prop) | |
| virtual | ~ScaledSigmoidFunction () |
Interface | |
| bool | setLambda (const Variant &v) |
| Variant | getLambda () |
| bool | setMin (const Variant &v) |
| Variant | getMin () |
| bool | setMax (const Variant &v) |
| Variant | getMax () |
| virtual void | apply (RealVec &inputs, RealVec &outputs) |
| virtual void | derivate (const RealVec &x, const RealVec &y, RealVec &d) const |
| virtual ScaledSigmoidFunction * | clone () const |
Public Attributes | |
| Real | lambda |
| Real | min |
| Real | max |
| Properties | ||||
| Name | Type [isVector] | Access mode | Description | Class |
|---|---|---|---|---|
| typename | string | read-only | Class's type | Propertized |
| lambda | Real | read/write | function's slope | this |
| min | Real | read/write | function's minimun value | this |
| max | Real | read/write | function's maximun value | this |
| ScaledSigmoidFunction | ( | Real | l = 1.0, |
|
| Real | min = -1.0, |
|||
| Real | max = +1.0 | |||
| ) |
Construct a scaled sigmoid updater with parameter l
| ScaledSigmoidFunction | ( | PropertySettings & | prop | ) |
Construct
| virtual ~ScaledSigmoidFunction | ( | ) | [inline, virtual] |
Destructor
| bool setLambda | ( | const Variant & | v | ) |
Set the slope of ScaledSigmoidFunction
| Variant getLambda | ( | ) |
Return the slope of ScaledSigmoidFunction
| bool setMin | ( | const Variant & | v | ) |
Set the minimum value of ScaledSigmoidFunction
| Variant getMin | ( | ) |
Return the minimum value of ScaledSigmoidFunction
| bool setMax | ( | const Variant & | v | ) |
Set the maximum value of ScaledSigmoidFunction
| Variant getMax | ( | ) |
Return the maximum value of ScaledSigmoidFunction
Implement the updating method
Reimplemented from OutputFunction.
return the approximation commonly used in backpropagation learning: x(1-x)
Reimplemented from DerivableOutputFunction.
| virtual ScaledSigmoidFunction* clone | ( | ) | const [virtual] |
Clone this object
Reimplemented from OutputFunction.