Package linear_operators :: Package iterative :: Module algorithms
[hide private]
[frames] | no frames]

Module algorithms

source code

Implements iterative algorithm class.

Classes [hide private]
  StopCondition
  Callback
  Algorithm
Abstract class to define iterative algorithms.
  ConjugateGradient
Apply the conjugate gradient algorithm to a Criterion instance.
  QuadraticConjugateGradient
A subclass of ConjugateGradient using a QuadraticCriterion.
  HuberConjugateGradient
A subclass of ConjugateGradient using an HuberCriterion.
Functions [hide private]
 
fletcher_reeves(algo)
Fletcher-Reeves descent direction update method.
source code
 
polak_ribiere(algo)
Polak-Ribiere descent direction update method.
source code
 
acg(model, data, priors=[], hypers=[], **kwargs) source code
 
hacg(model, data, priors=[], hypers=[], deltas=None, **kwargs) source code
 
normalize_hyper(hyper, y, x)
Normalize hyperparamaters so that they are independent of pb size
source code
Variables [hide private]
  TOL = 1e-06
  GTOL = 1e-06
  MAXITER = None
  default_stop = default_stop
  default_callback = default_callback
  __package__ = 'linear_operators.iterative'