Package paramz :: Module param :: Class ParamConcatenation
[hide private]
[frames] | no frames]

Class ParamConcatenation

source code


Instance Methods [hide private]
 
__init__(self, params)
Parameter concatenation for convenience of printing regular expression matched arrays you can index this concatenation as if it was the flattened concatenation of all the parameters it contains, same for setting parameters (Broadcasting enabled).
source code
 
__getitem__(self, s) source code
 
__setitem__(self, s, val) source code
 
values(self) source code
 
update_all_params(self) source code
 
constrain(self, constraint, warning=True)
:param transform: the :py:class:`paramz.transformations.Transformation` to constrain the this parameter to.
source code
 
constrain_positive(self, warning=True)
:param warning: print a warning if re-constraining parameters.
source code
 
constrain_fixed(self, value=None, warning=True, trigger_parent=True)
Constrain this parameter to be fixed to the current value it carries.
source code
 
fix(self, value=None, warning=True, trigger_parent=True)
Constrain this parameter to be fixed to the current value it carries.
source code
 
constrain_negative(self, warning=True)
:param warning: print a warning if re-constraining parameters.
source code
 
constrain_bounded(self, lower, upper, warning=True)
:param lower, upper: the limits to bound this parameter to :param warning: print a warning if re-constraining parameters.
source code
 
unconstrain(self, *constraints)
:param transforms: The transformations to unconstrain from.
source code
 
unconstrain_negative(self)
Remove negative constraint of this parameter.
source code
 
unconstrain_positive(self)
Remove positive constraint of this parameter.
source code
 
unconstrain_fixed(self)
This parameter will no longer be fixed.
source code
 
unfix(self)
This parameter will no longer be fixed.
source code
 
unconstrain_bounded(self, lower, upper)
:param lower, upper: the limits to unbound this parameter from
source code
 
checkgrad(self, verbose=False, step=1e-06, tolerance=0.001) source code
 
__lt__(self, val) source code
 
__le__(self, val) source code
 
__eq__(self, val) source code
 
__ne__(self, val) source code
 
__gt__(self, val) source code
 
__ge__(self, val) source code
 
__str__(self, **kwargs)
str(x)
source code
 
__repr__(self)
repr(x)
source code
 
__ilshift__(self, *args, **kwargs) source code
 
__irshift__(self, *args, **kwargs) source code
 
__ixor__(self, *args, **kwargs) source code
 
__ipow__(self, *args, **kwargs) source code
 
__ifloordiv__(self, *args, **kwargs) source code
 
__isub__(self, *args, **kwargs) source code
 
__ior__(self, *args, **kwargs) source code
 
__itruediv__(self, *args, **kwargs) source code
 
__idiv__(self, *args, **kwargs) source code
 
__iand__(self, *args, **kwargs) source code
 
__imod__(self, *args, **kwargs) source code
 
__iadd__(self, *args, **kwargs) source code
 
__imul__(self, *args, **kwargs) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, params)
(Constructor)

source code 

Parameter concatenation for convenience of printing regular expression matched arrays you can index this concatenation as if it was the flattened concatenation of all the parameters it contains, same for setting parameters (Broadcasting enabled).

See :py:class:`GPy.core.parameter.Param` for more details on constraining.

Overrides: object.__init__

constrain(self, constraint, warning=True)

source code 

:param transform: the :py:class:`paramz.transformations.Transformation`
                  to constrain the this parameter to.
:param warning: print a warning if re-constraining parameters.

Constrain the parameter to the given
:py:class:`paramz.transformations.Transformation`.

constrain_positive(self, warning=True)

source code 

:param warning: print a warning if re-constraining parameters.

Constrain this parameter to the default positive constraint.

constrain_fixed(self, value=None, warning=True, trigger_parent=True)

source code 

Constrain this parameter to be fixed to the current value it carries.

This does not override the previous constraints, so unfixing will restore the constraint set before fixing.

:param warning: print a warning for overwriting constraints.

fix(self, value=None, warning=True, trigger_parent=True)

source code 

Constrain this parameter to be fixed to the current value it carries.

This does not override the previous constraints, so unfixing will restore the constraint set before fixing.

:param warning: print a warning for overwriting constraints.

constrain_negative(self, warning=True)

source code 

:param warning: print a warning if re-constraining parameters.

Constrain this parameter to the default negative constraint.

constrain_bounded(self, lower, upper, warning=True)

source code 

:param lower, upper: the limits to bound this parameter to :param warning: print a warning if re-constraining parameters.

Constrain this parameter to lie within the given range.

unconstrain(self, *constraints)

source code 

:param transforms: The transformations to unconstrain from.

remove all :py:class:`paramz.transformations.Transformation` transformats of this parameter object.

unconstrain_fixed(self)

source code 

This parameter will no longer be fixed.

If there was a constraint on this parameter when fixing it, it will be constraint with that previous constraint.

unfix(self)

source code 

This parameter will no longer be fixed.

If there was a constraint on this parameter when fixing it, it will be constraint with that previous constraint.

unconstrain_bounded(self, lower, upper)

source code 

:param lower, upper: the limits to unbound this parameter from

Remove (lower, upper) bounded constrain from this parameter/

__str__(self, **kwargs)
(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)