To do a Latin hypercube sample on the intgers, you should have a number of integers on the margins which have the number of points sampled as a common factor. (7 would be sampled less often than 2 for example) The problem is that it wouldn’t be uniform sample across the range. If you wanted exactly 3 points, then you could divide up the range into three almost equal parts and sample from 1:3, 4:6, and 7:10. Latin-Hypercube ( lhs) n: an integer that designates the number of factors (required) samples: an integer that designates the number of sample points to generate for each factor (default: n) criterion: a string that tells lhs how to sample the points (default: None, which simply randomizes the. If you want integers only in the sample, then we must be careful about what we mean by a Latin hypercube sample. This algorithm carries out a user-specified number of iterations to maximize the minimal. LHS is distributed with Dakota and can be used as a distinct standalone capability.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |