moocore.

epsilon_mult#

moocore.epsilon_mult(points, /, ref, *, maximise=False)[source]#

Multiplicative epsilon metric.

Warning

All values in points and ref must be larger than 0.

See also

For examples, see epsilon_additive(). For details of the calculation, see Epsilon metric.

Parameters:
  • points (ArrayLike) – 2D array of numerical values, where each row gives the coordinates of a point in objective space. If the array is created by the read_datasets() function, remove the last column.

  • ref (ArrayLike) – Reference set as a 2D array of numerical values. Must have the same number of columns as points.

  • maximise (bool | Sequence[bool | int]) – Whether the objectives must be maximised instead of minimised. Either a single boolean value that applies to all objectives or a list of boolean values, with one value per objective. Also accepts a 1D array with values 0 or 1 for each objective. (default: False)

Returns:

float – A single numerical value.