deephyper.skopt.moo.non_dominated_set#

deephyper.skopt.moo.non_dominated_set(y, return_mask=True)[source]#

Find the set of non-dominated points. If there are multiple duplicate non-dominated points, then only one will be included. The function assumes minimization and is adapted from https://stackoverflow.com/a/40239615 by adding a sorting step to improve efficiency.

Parameters:
  • y (array or list) – Array or list of size (n_points, n_objectives)

  • return_mask (bool, optional) – Whether to return a mask or the actual indices of the non-dominated set. Defaults to True.

Returns:

If return_mask is True, this will be an (n_points, ) boolean array. Else it will be a 1-d integer array of indices indicating which points are non-dominated.

Return type:

array