Package paramz :: Module transformations :: Class Logexp
[hide private]
[frames] | no frames]

Class Logexp

source code


Instance Methods [hide private]
 
f(self, x) source code
 
finv(self, f) source code
 
gradfactor(self, f, df)
df(opt_param)_dopt_param evaluated at self.f(opt_param)=model_param, times the gradient dL_dmodel_param,
source code
 
initialize(self, f)
produce a sensible initial value for f(x)
source code
 
log_jacobian(self, model_param)
compute the log of the jacobian of f, evaluated at f(x)= model_param
source code
 
log_jacobian_grad(self, model_param)
compute the drivative of the log of the jacobian of f, evaluated at f(x)= model_param
source code
 
__str__(self)
str(x)
source code

Inherited from Transformation: __repr__, gradfactor_non_natural, plot

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods [hide private]

Inherited from Transformation: __new__

Class Variables [hide private]
  domain = 'positive'
hash(x)
  _instance = Logexp
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

f(self, x)

source code 
Overrides: Transformation.f

finv(self, f)

source code 
Overrides: Transformation.finv

gradfactor(self, f, df)

source code 

df(opt_param)_dopt_param evaluated at self.f(opt_param)=model_param, times the gradient dL_dmodel_param,

i.e.: define

.. math:

   rac{rac{\partial L}{\partial f}\left(\left.\partial f(x)}{\partial x}
ight|_{x=f^{-1}(f)
ight)}
Overrides: Transformation.gradfactor
(inherited documentation)

initialize(self, f)

source code 

produce a sensible initial value for f(x)

Overrides: Transformation.initialize
(inherited documentation)

log_jacobian(self, model_param)

source code 

compute the log of the jacobian of f, evaluated at f(x)= model_param

Overrides: Transformation.log_jacobian
(inherited documentation)

log_jacobian_grad(self, model_param)

source code 

compute the drivative of the log of the jacobian of f, evaluated at f(x)= model_param

Overrides: Transformation.log_jacobian_grad
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)