06499512a889d3dfe38e4a7e705ff09c7acd759d,GPflowOpt/acquisition/hvpoi.py,HVProbabilityOfImprovement,__init__,#HVProbabilityOfImprovement#,67

Before Change


        
        super(HVProbabilityOfImprovement, self).__init__(models)
        assert self.data[1].shape[1] > 1
        self.pareto = Pareto(np.hstack((m.predict_f(self.data[0])[0] for m in self.models)))
        self.reference = DataHolder(self._estimate_reference())

    def _estimate_reference(self):

After Change



        // Keep pareto empty for now - its updated in setup()
        self.pareto = Pareto(np.empty((0, num_objectives)))
        self.reference = DataHolder(np.ones((1, num_objectives)))

    def _estimate_reference(self):
        pf = self.pareto.front.value
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: GPflow/GPflowOpt
Commit Name: 06499512a889d3dfe38e4a7e705ff09c7acd759d
Time: 2017-08-14
Author: joachim.vanderherten@ugent.be
File Name: GPflowOpt/acquisition/hvpoi.py
Class Name: HVProbabilityOfImprovement
Method Name: __init__


Project Name: EpistasisLab/scikit-rebate
Commit Name: ece383696800b9b34854df27a65a3d1d74669952
Time: 2020-05-28
Author: alexmxu@alexs-mbp-3.attlocal.net
File Name: skrebate/iterrelief.py
Class Name: IterRelief
Method Name: fit


Project Name: EpistasisLab/scikit-rebate
Commit Name: 163eb7df13667e21b0e02a2706e18d1f53eee610
Time: 2020-01-29
Author: alexmxu99@gmail.com
File Name: skrebate/iterrelief.py
Class Name: IterRelief
Method Name: fit