physbo.search.optimize.random module
- class physbo.search.optimize.random.Optimizer(min_X, max_X, nsamples, rng=None)[ソース]
ベースクラス:
objectRandom search for the maximum of a function within bounds.
- パラメータ:
min_X (array_like) -- Lower and upper bounds of each dimension.
max_X (array_like) -- Lower and upper bounds of each dimension.
nsamples (int) -- The number of points sampled uniformly within the bounds, divided among the processes in a parallel run.
rng (int, numpy.random.SeedSequence, numpy.random.Generator or None, optional) -- Random number generator for the samples; None (default) uses the global
numpy.randomstate. In a parallel run every process draws its own samples from its own generator.