Randomly sample a dataset from the estimated pdf.
size : int, optional
The number of samples to draw. If not provided, then the size is the same as the underlying dataset.
dataset : (self.d, size)-array
The sampled dataset.
Enter search terms or a module, class or function name.