3a07a2952a118adfba640cf6aeb6c63721d79648,dipy/core/optimize.py,Optimizer,evolution,#Optimizer#,227

Before Change



        fname = self.evolution_fname
        if fname is not None:
            f = open(fname, "r")
            history = np.loadtxt(f).reshape((self.res["nit"], self.size_of_x))
            f.close()
            return history

After Change


    @property
    def evolution(self):
        if self._evol_kx is not None:
            return np.asarray(self._evol_kx)
        else:
            return None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nipy/dipy
Commit Name: 3a07a2952a118adfba640cf6aeb6c63721d79648
Time: 2014-11-19
Author: garyfallidis@gmail.com
File Name: dipy/core/optimize.py
Class Name: Optimizer
Method Name: evolution


Project Name: nipy/dipy
Commit Name: 3d8011f9ce1dba31df7c83f07dcf481a65926aa4
Time: 2014-11-21
Author: garyfallidis@gmail.com
File Name: dipy/core/optimize.py
Class Name: Optimizer
Method Name: evolution


Project Name: astroML/astroML
Commit Name: 13d5b2195ca142550de258441394203212be54cd
Time: 2019-04-16
Author: bsipocz@gmail.com
File Name: astroML/datasets/sdss_sspp.py
Class Name:
Method Name: fetch_sdss_sspp