(self, filenameprefix=None)
return dat
loads data from files written and return a data dictionary, *not*
        a prerequisite for using `plot()` or `disp()`.

        Argument `filenameprefix` is the filename prefix of data to be loaded (five files),
        by default ``'outcmaes'``.

        Return data dictionary with keys `xrecent`, `xmean`, `f`, `D`, `std`
loads data from files written and return a data dictionary, *not*
        a prerequisite for using `plot()` or `disp()`.
loads data from files written and return a data dictionary * not * a prerequisite for using plot () or disp () .
def load(self, filenameprefix=None):
        """loads data from files written and return a data dictionary, *not*
        a prerequisite for using `plot()` or `disp()`.

        Argument `filenameprefix` is the filename prefix of data to be loaded (five files),
        by default ``'outcmaes'``.

        Return data dictionary with keys `xrecent`, `xmean`, `f`, `D`, `std`

        """
        if not filenameprefix:
            filenameprefix = self.name_prefix
        dat = self  # historical
        # dat.xrecent = _fileToMatrix(filenameprefix + 'xrecentbest.dat')
        dat.xmean = _fileToMatrix(filenameprefix + 'xmean.dat')
        dat.std = _fileToMatrix(filenameprefix + 'stddev' + '.dat')
        # a hack to later write something into the last entry
        for key in ['xmean', 'std']:  # 'xrecent',
            dat.__dict__[key].append(dat.__dict__[key][-1])  # copy last row to later fill in annotation position for display
            dat.__dict__[key] = array(dat.__dict__[key], copy=False)
        dat.f = array(_fileToMatrix(filenameprefix + 'fit.dat'))
        dat.D = array(_fileToMatrix(filenameprefix + 'axlen' + '.dat'))
        return dat
def load ( self , filenameprefix = None ) : if not filenameprefix : filenameprefix = self . name_prefix dat = self # historical # dat.xrecent = _fileToMatrix(filenameprefix + 'xrecentbest.dat') dat . xmean = _fileToMatrix ( filenameprefix + 'xmean.dat' ) dat . std = _fileToMatrix ( filenameprefix + 'stddev' + '.dat' ) # a hack to later write something into the last entry for key in [ 'xmean' , 'std' ] : # 'xrecent', dat . __dict__ [ key ] . append ( dat . __dict__ [ key ] [ - 1 ] ) # copy last row to later fill in annotation position for display dat . __dict__ [ key ] = array ( dat . __dict__ [ key ] , copy = False ) dat . f = array ( _fileToMatrix ( filenameprefix + 'fit.dat' ) ) dat . D = array ( _fileToMatrix ( filenameprefix + 'axlen' + '.dat' ) ) return dat