class documentation
class BaseDataLogger(object):
Known subclasses: cma.logger.CMADataLogger
, cma.purecma.CMAESDataLogger
abstract base class for a data logger that can be used with an
OOOptimizer
.
Details: attribute modulo
is used in OOOptimizer.optimize
.
Method | __init__ |
Undocumented |
Method | add |
abstract method, add a "data point" from the state of optim into the logger. |
Method | disp |
abstract method, display some data trace |
Method | load |
load data from file name or self.filename |
Method | plot |
abstract method, plot data |
Method | register |
register an optimizer optim, only needed if method add is called without passing the optim argument |
Method | save |
save data to file name or self.filename |
Instance Variable | filename |
file to save to or load from unless specified otherwise |
Instance Variable | optim |
object instance to be logging data from |
Property | data |
logged data in a dictionary |
Instance Variable | _data |
dict of logged data |
overridden in
cma.logger.CMADataLogger
, cma.purecma.CMAESDataLogger
abstract method, add a "data point" from the state of optim into the logger.
The argument optim can be omitted if optim was register ()-ed before, acts like an event handler
overridden in
cma.logger.CMADataLogger
, cma.purecma.CMAESDataLogger
load data from file name
or self.filename
overridden in
cma.logger.CMADataLogger
register an optimizer optim, only needed if method add
is
called without passing the optim argument
overridden in
cma.logger.CMADataLogger
, cma.purecma.CMAESDataLogger
save data to file name
or self.filename