Michalewicz¶
-
class
olympus.surfaces.
Michalewicz
(param_dim=2, m=10, noise=None)[source] Michalewicz function.
- Parameters
param_dim (int) – Number of input dimensions. Default is 2.
m (float) – Parameter that defines the steepness of the valleys and ridges. A larger m leads to a more
search. Default is 10. (difficult) –
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)