Package parsimony :: Package algorithms :: Module multiblock :: Class MultiblockFISTA
[hide private]
[frames] | no frames]

Class MultiblockFISTA

source code

            object --+        
                     |        
   bases.BaseAlgorithm --+    
                         |    
   bases.ExplicitAlgorithm --+
                             |
                object --+   |
                         |   |
  bases.IterativeAlgorithm --+
                             |
                object --+   |
                         |   |
bases.InformationAlgorithm --+
                             |
                            MultiblockFISTA

The projected or proximal gradient algorithm with alternating
minimisations in a multiblock setting.

Parameters
----------
info : List or tuple of utils.Info. What, if any, extra run information
        should be stored. Default is an empty list, which means that no
        run information is computed nor returned.

eps : Positive float. Tolerance for the stopping criterion.

max_iter : Non-negative integer. Maximum total allowed number of
        iterations.

min_iter : Non-negative integer less than or equal to max_iter. Minimum
        number of iterations that must be performed. Default is 1.

Instance Methods [hide private]
 
__init__(self, info=[], eps=5e-08, max_iter=10000, min_iter=1)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
run(self, function, *args, **kwargs)
This function obtains a minimiser of a give function.
source code

Inherited from bases.BaseAlgorithm: get_params, set_params

Inherited from bases.IterativeAlgorithm: iter_reset

Inherited from bases.InformationAlgorithm: check_info_compatibility, info_copy, info_get, info_provided, info_requested, info_reset, info_set

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

Static Methods [hide private]

Inherited from bases.BaseAlgorithm: check_compatibility

Class Variables [hide private]
  INTERFACES = [<class 'parsimony.functions.multiblock.propertie...
  INFO_PROVIDED = ['ok', 'num_iter', 'time', 'func_val', 'smooth...
  __abstractmethods__ = frozenset([])
  _abc_negative_cache_version = 14

Inherited from bases.ExplicitAlgorithm: __metaclass__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, info=[], eps=5e-08, max_iter=10000, min_iter=1)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

run(self, function, *args, **kwargs)

source code 
This function obtains a minimiser of a give function.

Parameters
----------
function : The function to minimise.

x : A starting point.

Decorators:
  • @bases.force_reset
  • @bases.check_compatibility
Overrides: bases.ExplicitAlgorithm.run
(inherited documentation)

Class Variable Details [hide private]

INTERFACES

Value:
[<class 'parsimony.functions.multiblock.properties.MultiblockFunction'\
>,
 <class 'parsimony.functions.multiblock.properties.MultiblockGradient'\
>,
 <class 'parsimony.functions.multiblock.properties.MultiblockStepSize'\
>,
 <parsimony.functions.properties.OR object at 0x31dbd90>]

INFO_PROVIDED

Value:
['ok', 'num_iter', 'time', 'func_val', 'smooth_func_val', 'converged']