BayesicFitting

Model Fitting and Evidence Calculation

View project on GitHub



class MoveEngine( OrderEngine )[source]

The MoveEngine tries to move a selection of the parameters to another spot.

Input order : [0,1,2,3,4,5,6,7,8,9]

output order: [4,5,6,7,1,2,3,8,9,0]

It belongs to the class of generalized travelling salesman problems where the parameters of the problem is an ordered list.

The walker is kept when the logLikelihood > lowLhood

Attributes from Engine
walkers, errdis, maxtrials, nstep, slow, rng, report, phantoms, verbose

Author Do Kester.

MoveEngine( walkers, errdis, copy=None, **kwargs ) [source]

Constructor.

Parameters

  • walkers : SampleList
         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( ) [source]

executeOnce( kw, lowLhood ) [source]
Methods inherited from OrderEngine
Methods inherited from Engine