Package topo :: Package outputfns :: Module basic :: Class Sigmoid
[hide private]
[frames] | no frames]

Class Sigmoid

source code

                                  object --+        
                                           |        
base.parameterizedobject.ParameterizedObject --+    
                                               |    
                  base.functionfamilies.OutputFn --+
                                                   |
                                                  Sigmoid

Sigmoidal (logistic) output function: 1/(1+exp-(r*x+k)).

As defined in Jochen Triesch, ICANN 2005, LNCS 3696 pp. 65-70. The parameters control the growth rate (r) and the x position (k) of the exponential.

This function is a special case of the GeneralizedLogistic function, with parameters r=r, l=0, u=1, m=-k/2r, and b=1. See Richards, F.J. (1959), A flexible growth function for empirical use. J. Experimental Botany 10: 290--300, 1959. http://en.wikipedia.org/wiki/Generalised_logistic_curve



Nested Classes [hide private]

Inherited from base.parameterizedobject.ParameterizedObject: __metaclass__

Instance Methods [hide private]
 
__call__(self, x) source code

Inherited from base.functionfamilies.OutputFn: __add__

Inherited from base.parameterizedobject.ParameterizedObject: __getstate__, __init__, __repr__, __setstate__, __str__, as_uninitialized, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, script_repr, verbose, warning

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from base.parameterizedobject.ParameterizedObject: params, print_param_defaults

Class Variables [hide private]
  r = Number(default= 1, doc= "Parameter controlling the growth ...
Parameter controlling the growth rate
  k = Number(default= 0, doc= "Parameter controlling the x-posti...
Parameter controlling the x-postion

Inherited from base.functionfamilies.OutputFn: norm_value

Inherited from base.parameterizedobject.ParameterizedObject: name, print_level

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__call__(self, x)
(Call operator)

source code 
Overrides: base.functionfamilies.OutputFn.__call__

Class Variable Details [hide private]

r

Parameter controlling the growth rate
Value:
Number(default= 1, doc= "Parameter controlling the growth rate")

k

Parameter controlling the x-postion
Value:
Number(default= 0, doc= "Parameter controlling the x-postion")