random#

choice

Randomly select elements from the given pool a, with or without replacement, to fill a numpy array of size shape.

Sparse

Return random values from a “discrete uniform” (integer) or "uniform" (float) distribution of the specified dtype in the “half-open” interval [minimum, maximum) (includes low, but excludes the maximum), with desired sparsity.

sparse

Return random values from a “discrete uniform” (integer) or "uniform" (float) distribution of the specified dtype in the “half-open” interval [minimum, maximum) (includes low, but excludes the maximum), with desired sparsity.