Sampling from Discrete Space using Latin Hypercube
I wanted to use Discrete Latin Hypercube to sample 20 samples from a space created by an array that has 4096 values. So my desired output would be something like the following:
NSample = 20
Samples = lhc(BigArray, NSample)
Where the Big Array is the array with 4096 elements. Is there a way to do this? I haven't found anything similar to this. How can I do this in python?
Topic gaussian sampling python machine-learning
Category Data Science