skopt.utils.cook_initial_point_generator

skopt.utils.cook_initial_point_generator(generator, **kwargs)[source][source]

Cook a default initial point generator.

For the special generator called “random” the return value is None.

Parameters
generator“lhs”, “sobol”, “halton”, “hammersly”, “grid”, “random” or InitialPointGenerator instance”

Should inherit from skopt.sampler.InitialPointGenerator.

kwargsdict

Extra parameters provided to the generator at init time.

Examples using skopt.utils.cook_initial_point_generator