Latin Hypercube Sampling just creating a grid? #276
Closed
SandorAlbert
started this conversation in
General
Replies: 1 comment
-
If the upper an lower bound of a If either is bound is a float, a you will get a
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, thank you so much for this package. I just noticed that:
opt = ProcessOptimizer.Optimizer([(-5, 5), (-5, 5)], n_initial_points=50, lhs=True)
just creates an evenly spaced grid instead of a latin hypercube - is this a bug or was this intended? At some point the sample point also overlap. Does this have to do with the boundaries being interpreted as integers?
Thank you in advance and many regards :)
*Edit. Woops, yes.
SPACE = Space([Real(-5,5), Real(-5,5)])
and
opt = ProcessOptimizer.Optimizer(SPACE, n_initial_points=50, lhs=True)
solves this issue. Sorry!
Beta Was this translation helpful? Give feedback.
All reactions