Package lib :: Module optimisation
[hide private]
[frames] | no frames]

Module optimisation

source code

Auxiliary functions for optimisation.

Functions [hide private]
 
test_grid_ops(lower=None, upper=None, inc=None, n=None)
Test that the grid search options are reasonable.
source code
Variables [hide private]
  __package__ = 'lib'

Imports: RelaxLenError


Function Details [hide private]

test_grid_ops(lower=None, upper=None, inc=None, n=None)

source code 

Test that the grid search options are reasonable.

Parameters:
  • lower (array of numbers) - The lower bounds of the grid search which must be equal to the number of parameters in the model.
  • upper (array of numbers) - The upper bounds of the grid search which must be equal to the number of parameters in the model.
  • inc (array of int) - The increments for each dimension of the space for the grid search. The number of elements in the array must equal to the number of parameters in the model.
  • n (int) - The number of parameters in the model.