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):

        min_pf = tf.reduce_min(self.front, 0, keep_dims=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

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: mne-tools/mne-python
Commit Name: 9613c71f24b8f3f289fcbace86be57dcc66360ed
Time: 2020-07-20
Author: larson.eric.d@gmail.com
File Name: mne/channels/interpolation.py
Class Name:
Method Name: _make_interpolation_matrix


Project Name: ANSSI-FR/SecuML
Commit Name: 42d0ac6260a5dd15bf86e49aa1b30ca8fcadc6c2
Time: 2019-05-17
Author: anael.beaugnon@ssi.gouv.fr
File Name: secuml/core/classif/monitoring/interp/coeff.py
Class Name: Coefficients
Method Name: add_fold