BayesicFitting

Model Fitting and Evidence Calculation

View project on GitHub



class StartOrderEngine( OrderEngine )Source

StartEngine generates a parameter list in random order.

It is used to initialize the set of trial samples.

Attributes from Engine

walkers, errdis, maxtrials, nstep, slow, rng, report, phantoms, verbose

Author Do Kester.

StartOrderEngine( walkers, errdis, copy=None, **kwargs )

Constructor.

Parameters

  • walkers : WalkerList
         walkers to be diffused
  • errdis : ErrorDistribution
         error distribution to be used
  • copy : OrderEngine
         to be copied
  • kwargs : dict for Engine
         "phantoms", "slow", "seed", "verbose"

copy( )

Return copy of this.

execute( kw, lowLhood, fitIndex=None )
Execute the engine by a random selection of the parameters.

Parameters

  • kw : int
         id of waker to diffuse

  • lowLhood : float
         lower limit in logLikelihood

  • fitIndex : array_like
         list of parameter indices (not active) Returns

  • int : the number of successfull moves

Methods inherited from OrderEngine
Methods inherited from Engine