A library of optimisation functions
Status | Name |
---|---|
Array search_brute
(
Function ↓compute_fitness,
Array ↓mins,
Array ↓maxs,
Array ↓resolutions
)
Brute-force search function that maximises the fitness function. Unlike the search-direct the Brute-force apporoach, calculates the value of hte fitness function for every possible combination within the parameter ranges provided (with the given resolution of course). This method is computationally inefficent but is robust as it will not "get stuck" at a local maximum. |
|
Array search_direct
(
Function ↓compute_fitness,
Array ↓mins,
Array ↓maxs,
Array ↓resolutions
)
Directional search function that maximises the fitness function. Find an illustration of the search method here |
Brute-force search function that maximises the fitness function. Unlike the search-direct the Brute-force apporoach, calculates the value of hte fitness function for every possible combination within the parameter ranges provided (with the given resolution of course). This method is computationally inefficent but is robust as it will not "get stuck" at a local maximum.
Parameters:Function
↓compute_fitness - The fitness functionArray
↓mins - Array of parameter minimum values in the order they are defined in the fitness functionArray
↓maxs - Array of parameter maximum values in the order they are defined in the fitness functionArray
↓resolutions - Array of the step sizes for each parameterArray
BestSet - An array containing the set of parameters resulting in the maximised fitness functionDirectional search function that maximises the fitness function. Find an illustration of the search method here
Parameters:Function
↓compute_fitness - The fitness functionArray
↓mins - Array of parameter minimum values in the order they are defined in the fitness functionArray
↓maxs - Array of parameter maximum values in the order they are defined in the fitness functionArray
↓resolutions - Array of the step sizes for each parameterArray
BestSet - An array containing the set of parameters resulting in the maximised fitness function