(self, name_prefix=default_prefix, modulo=1, append=False)
initialize logging of data from a `CMAEvolutionStrategy` instance,
        default modulo expands to 1 == log with each call
initialize logging of data from a `CMAEvolutionStrategy` instance,
        default modulo expands to 1 == log with each call
initialize logging of data from a CMAEvolutionStrategy instance default modulo expands to 1 == log with each call
def __init__(self, name_prefix=default_prefix, modulo=1, append=False):
        """initialize logging of data from a `CMAEvolutionStrategy` instance,
        default modulo expands to 1 == log with each call

        """
        # super(CMAData, self).__init__({'iter':[], 'stds':[], 'D':[], 'sig':[], 'fit':[], 'xm':[]})
        # class properties:
        self.counter = 0  # number of calls of add
        self.best_fitness = np.inf
        self.modulo = modulo  # allows calling with None
        self.append = append
        self.name_prefix = name_prefix if name_prefix else CMADataLogger.default_prefix
        if type(self.name_prefix) == CMAEvolutionStrategy:
            self.name_prefix = self.name_prefix.opts.eval('verb_filenameprefix')
        self.registered = False
def __init__ ( self , name_prefix = default_prefix , modulo = 1 , append = False ) : # super(CMAData, self).__init__({'iter':[], 'stds':[], 'D':[], 'sig':[], 'fit':[], 'xm':[]}) # class properties: self . counter = 0 # number of calls of add self . best_fitness = np . inf self . modulo = modulo # allows calling with None self . append = append self . name_prefix = name_prefix if name_prefix else CMADataLogger . default_prefix if type ( self . name_prefix ) == CMAEvolutionStrategy : self . name_prefix = self . name_prefix . opts . eval ( 'verb_filenameprefix' ) self . registered = False