DiscreteMichalewicz

../../_images/discrete_michalewicz.png
class olympus.surfaces.DiscreteMichalewicz(param_dim=2, noise=None)[source]

Discrete Michalewicz function.

Parameters
  • param_dim (int) – Number of input dimensions. Default is 2.

  • noise (Noise) – Noise object that injects noise into the evaluations of the surface. Default is None.

Methods

run(params[, return_paramvector])

Evaluate the surface at the chosen location.

run(params, return_paramvector=False)

Evaluate the surface at the chosen location.

Parameters
  • params (array) – Set of input parameters for which to return the function value.

  • return_paramvector (bool) – Whether to return a ParameterVector object instead of a list of lists. Default is False.

Returns

function values evaluated at the chosen locations.

Return type

values (ParameterVector)