def __init__( self, stochastics ): """ Initialises a blank sampler object. """ self.model = Model( stochastics ) Utils.update_attributes( self, stochastics ) self.chain = {} Utils.assign_step_method( self, BuiltinStepMethods.MetropolisHastings ) self.show_progressbar = True
def assign_step_method( self, step_method, **kwargs ): """ Assigns the specified step method to the Sampler object. """ Utils.assign_step_method( self, step_method, **kwargs )