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

Class MultiblockContinuation

source code

object --+
         |
        MultiblockContinuation

Nested Classes [hide private]
  __metaclass__
Metaclass for defining Abstract Base Classes (ABCs).
Instance Methods [hide private]
 
mu_opt(self, eps, index)
The optimal value of mu given epsilon.
source code
 
eps_opt(self, mu, index)
The optimal value of epsilon given mu.
source code
 
eps_max(self, mu, index)
The maximum value of epsilon.
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_opt'])
  _abc_cache = <_weakrefset.WeakSet object at 0x318aad0>
  _abc_negative_cache = <_weakrefset.WeakSet object at 0x318ab50>
  _abc_negative_cache_version = 10
  _abc_registry = <_weakrefset.WeakSet object at 0x318aa10>
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

mu_opt(self, eps, index)

source code 
The optimal value of mu given epsilon.

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

index : Non-negative integer. Which block this is for.

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

Decorators:
  • @abc.abstractmethod

eps_opt(self, mu, index)

source code 
The optimal value of epsilon given mu.

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

index : Non-negative integer. Which block this is for.

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

Decorators:
  • @abc.abstractmethod

eps_max(self, mu, index)

source code 
The maximum value of epsilon.

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

index : Non-negative integer. Which block this is for.

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

Decorators:
  • @abc.abstractmethod