(self)
Pre-computes the Pareto set and cell bounds for integrating over the non-dominated region.
Pre-computes the Pareto set and cell bounds for integrating over the non-dominated region.
Pre - computes the Pareto set and cell bounds for integrating over the non - dominated region .
def _setup(self):
        """
        Pre-computes the Pareto set and cell bounds for integrating over the non-dominated region.
        """
        super(HVProbabilityOfImprovement, self)._setup()

        # Obtain hypervolume cell bounds, use prediction mean
        feasible_samples = self.data[0][self.highest_parent.feasible_data_index(), :]
        F = np.hstack((m.predict_f(feasible_samples)[0] for m in self.models))
        self.pareto.update(F)

        # Calculate reference point.
        self.reference = self._estimate_reference()
def _setup ( self ) : super ( HVProbabilityOfImprovement , self ) . _setup ( ) # Obtain hypervolume cell bounds, use prediction mean feasible_samples = self . data [ 0 ] [ self . highest_parent . feasible_data_index ( ) , : ] F = np . hstack ( ( m . predict_f ( feasible_samples ) [ 0 ] for m in self . models ) ) self . pareto . update ( F ) # Calculate reference point. self . reference = self . _estimate_reference ( )