altar.bayesian
Submodules
altar.bayesian.Annealeraltar.bayesian.AnnealingMethodaltar.bayesian.Brentaltar.bayesian.COValtar.bayesian.CUDAAnnealingaltar.bayesian.Controlleraltar.bayesian.CoolingStepaltar.bayesian.Gridaltar.bayesian.H5Recorderaltar.bayesian.MPIAnnealingaltar.bayesian.Metropolisaltar.bayesian.Notifieraltar.bayesian.Profileraltar.bayesian.Recorderaltar.bayesian.Sampleraltar.bayesian.Scheduleraltar.bayesian.SequentialAnnealingaltar.bayesian.Solveraltar.bayesian.ThreadedAnnealing
Package Contents
Classes
Functions
- class altar.bayesian.controller
Bases:
altar.protocolThe protocol that all AlTar controllers must implement
- dispatcher
- doc = the event dispatcher that activates the registered handlers
- archiver
- doc = the archiver of simulation state
- posterior(self, model)
Sample the posterior distribution of the given {model}
- initialize(self, application)
Initialize me and my parts given an {application} context
- classmethod pyre_default(cls, **kwds)
Supply a default implementation
- class altar.bayesian.sampler
Bases:
altar.protocolThe protocol that all AlTar samplers must implement
- initialize(self, application)
Initialize me and my parts given an {application} context
- samplePosterior(self, controller, step)
Sample the posterior distribution
- resample(self, controller, statistics)
Update my statistics based on the results of walking my Markov chains
- classmethod pyre_default(cls, **kwds)
Supply a default implementation
- class altar.bayesian.scheduler
Bases:
altar.protocolThe protocol that all AlTar schedulers must implement
- initialize(self, application)
Initialize me and my parts given an {application} context
- update(self, step)
Push {step} forward along the annealing schedule
- updateTemperature(self, step)
Generate the next temperature increment
- computeCovariance(self, step)
Compute the parameter covariance of the sample in the {step}
- rank(self, step)
Rebuild the sample and its statistics sorted by the likelihood of the parameter values
- classmethod pyre_default(cls, **kwds)
Supply a default implementation
- class altar.bayesian.monitor
Bases:
altar.protocolThe protocol that all AlTar simulation monitors must implement
Monitors respond to simulation events by generating user diagnostics to report progress
- initialize(self, application)
Initialize me given an {application} context
- classmethod pyre_default(cls, **kwds)
Supply a default implementation
- class altar.bayesian.archiver
Bases:
altar.protocolThe protocol that all AlTar simulation archivers must implement
Archivers persist intermediate simulation state and can be used to restart a simulation
- initialize(self, application)
Initialize me given an {application} context
- record(self, step)
Record the final state of the simulation
- classmethod pyre_default(cls, **kwds)
Supply a default implementation
- class altar.bayesian.solver
Bases:
altar.protocolThe protocol that all δβ solvers must implement
- tolerance
- doc = the fractional tolerance for achieving convergence
- initialize(self, application, scheduler)
Initialize me and my parts given an {application} context and a {scheduler}
- solve(self, llk, weight)
Compute the next temperature in the cooling schedule
- classmethod pyre_default(cls, **kwds)
Provide a default implementation
- altar.bayesian.annealer()
- altar.bayesian.cov()
- altar.bayesian.brent()
- altar.bayesian.grid()
- altar.bayesian.metropolis()
- altar.bayesian.profiler()
- altar.bayesian.recorder()