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

Class Transformation

source code


Instance Methods [hide private]
 
f(self, opt_param) source code
 
finv(self, model_param) 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
 
gradfactor(self, model_param, dL_dmodel_param)
df(opt_param)_dopt_param evaluated at self.f(opt_param)=model_param, times the gradient dL_dmodel_param,
source code
 
gradfactor_non_natural(self, model_param, dL_dmodel_param) source code
 
initialize(self, f)
produce a sensible initial value for f(x)
source code
 
plot(self, xlabel='transformed $\\theta$', ylabel='$\\theta$', axes=None, *args, **kw) source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
source code

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

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls, *args, **kwargs) source code
Class Variables [hide private]
  domain = None
hash(x)
  _instance = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(cls, *args, **kwargs)
Static Method

source code 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)

gradfactor(self, model_param, dL_dmodel_param)

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)}

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)