BayesicFitting

Model Fitting and Evidence Calculation

View project on GitHub



class Modifiable( object )[source]

Class adjoint to Model which implements the modifiable behaviour of some Models.

In the inhertance list is should be before Model as it changes the behaviour of Model.

Modifiable( modifiable=True ) [source]

Constructor for Modifiable

Parameters

  • modifiable : bool
         True if the Model is to be considered modifiable.

isModifiable( ) [source]

vary( location=None, rng=None, **kwargs ) [source]
Vary the structure of a Modifiable Model Default implementation: does nothing.

Parameters

  • location : int
         index of the item to be modified; otherwise random
  • rng : RNG
         random number generator
  • kwargs : keyword arguments
         for specific implementations