ee97f87f3d19aad4329fb012b2819d13b48c8fa3,GPflowOpt/pareto.py,Pareto,pareto2d_bounds,#Pareto#,168

Before Change


        

        for i, idx in enumerate(self.pareto.front.value):
            self.bounds.append(pf_ext_idx[dc.lb.value[i, :], np.arange(outdim)],
                               pf_ext_idx[dc.ub.value[i, :], np.arange(outdim)])

    @AutoFlow((float_type, [None]))

After Change


        outdim = self.Y.shape[1]

        pf_idx = np.argsort(self.front.value, axis=0)
        pf_ext_idx = np.vstack((np.zeros(outdim, dtype=np_int_type),
                                pf_idx + 1,
                                np.ones(outdim, dtype=np_int_type) * self.front.shape[0] + 1))

        for i in range(pf_ext_idx[-1, 0]):
            self.bounds.append((i, 0),
                               (i+1, pf_ext_idx[-i-1, 1]))

    @AutoFlow((float_type, [None]))
    def hypervolume(self, reference):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: GPflow/GPflowOpt
Commit Name: ee97f87f3d19aad4329fb012b2819d13b48c8fa3
Time: 2017-07-28
Author: ivo.couckuyt@ugent.be
File Name: GPflowOpt/pareto.py
Class Name: Pareto
Method Name: pareto2d_bounds


Project Name: biotite-dev/biotite
Commit Name: 4c52bf72787eb68da4786aa294ffefb07635d200
Time: 2018-05-12
Author: patrick.kunzm@gmail.com
File Name: doc/examples/scripts/structure/ramachandran.py
Class Name:
Method Name:


Project Name: idaholab/raven
Commit Name: dd1575073ca40d69c9d9f5f0d64e7517e23eba8a
Time: 2020-07-06
Author: diego.mandelli@inl.gov
File Name: framework/Optimizers/parentSelectors/parentSelectors.py
Class Name:
Method Name: rankSelection