Package gmisclib :: Module mcmc_newlogger :: Class DBGlogger
[frames] | no frames]

Class DBGlogger

source code


Instance Methods
 
__init__(self, fd)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
add(self, uid, prms, map, logp, iter, extra=None, reason=None)
Adds parameters to the log file.
source code
 
close(self) (Inherited from gmisclib.mcmc_newlogger.logger_base) source code
 
comment(self, comment) (Inherited from gmisclib.mcmc_newlogger.logger_base) source code
 
flush(self) (Inherited from gmisclib.mcmc_newlogger.logger_base) source code
 
header(self, k, v) (Inherited from gmisclib.mcmc_newlogger.logger_base) source code
 
headers(self, hdict) (Inherited from gmisclib.mcmc_newlogger.logger_base) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, fd)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

add(self, uid, prms, map, logp, iter, extra=None, reason=None)

source code 

Adds parameters to the log file. uid -- which subset of parameters, prms -- a vector of the actual numbers, map -- a dictionary mapping from parameter names to an index into the prms array. logp -- how good is the fit? log(probability) iter -- an integer to keep track of the number of iterations