Package parsimony :: Package functions :: Module properties :: Class Continuation
[hide private]
[frames] | no frames]

Class Continuation

source code

object --+
         |
        Continuation
Known Subclasses:

Nested Classes [hide private]
  __metaclass__
Metaclass for defining Abstract Base Classes (ABCs).
Instance Methods [hide private]
 
mu_opt(self, eps)
The optimal value of mu given epsilon.
source code
 
eps_opt(self, mu)
The optimal value of epsilon given mu.
source code
 
eps_max(self, mu)
The maximum value of epsilon.
source code
 
mu_max(self, eps)
The maximum value of mu.
source code

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

Class Variables [hide private]
  __abstractmethods__ = frozenset(['eps_max', 'eps_opt', 'mu_max...
  _abc_cache = <_weakrefset.WeakSet object at 0x30d80d0>
  _abc_negative_cache = <_weakrefset.WeakSet object at 0x30d8150>
  _abc_negative_cache_version = 10
  _abc_registry = <_weakrefset.WeakSet object at 0x30b1fd0>
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

mu_opt(self, eps)

source code 
The optimal value of mu given epsilon.

Parameters
----------
eps : Positive float. The desired precision.

Returns
-------
mu : Positive float. The optimal regularisation parameter.

Decorators:
  • @abc.abstractmethod

eps_opt(self, mu)

source code 
The optimal value of epsilon given mu.

Parameters
----------
mu : Positive float. The regularisation constant of the smoothing.

Returns
-------
eps : Positive float. The optimal precision.

Decorators:
  • @abc.abstractmethod

eps_max(self, mu)

source code 
The maximum value of epsilon.

Parameters
----------
mu : Positive float. The regularisation constant of the smoothing.

Returns
-------
eps : Positive float. The upper limit, the maximum, precision.

Decorators:
  • @abc.abstractmethod

mu_max(self, eps)

source code 
The maximum value of mu.

Parameters
----------
eps : Positive float. The maximum precision of the smoothing.

Returns
-------
mu : Positive float. The upper limit, the maximum, of the
        regularisation constant of the smoothing.

Decorators:
  • @abc.abstractmethod

Class Variable Details [hide private]

__abstractmethods__

Value:
frozenset(['eps_max', 'eps_opt', 'mu_max', 'mu_opt'])