Random Sampling (dpnp.random
)
Simple random data
Random values in a given shape. |
|
Return a sample (or samples) from the "standard normal" distribution. |
|
Return random integers from low (inclusive) to high (exclusive). |
|
Random integers between low and high, inclusive. |
|
Return random floats in the half-open interval [0.0, 1.0). |
|
Return random floats in the half-open interval [0.0, 1.0). |
|
Return random floats in the half-open interval [0.0, 1.0). |
|
Return random floats in the half-open interval [0.0, 1.0). |
|
Generates a random sample from a given 1-D array. |
|
Bytes |
Permutations
Modify a sequence in-place by shuffling its contents. |
|
Randomly permute a sequence, or return a permuted range. |
Distributions
Beta distribution. |
|
Binomial distribution. |
|
Chi-square distribution |
|
Dirichlet distribution. |
|
Exponential distribution. |
|
F distribution. |
|
Gamma distribution. |
|
Geometric distribution. |
|
Gumbel distribution. |
|
Hypergeometric distribution. |
|
Laplace distribution. |
|
Logistic distribution. |
|
Lognormal distribution. |
|
Logseries distribution. |
|
Multinomial distribution. |
|
Multivariate normal distributions. |
|
Negative binomial distribution. |
|
Noncentral chi-square distribution. |
|
Noncentral F distribution. |
|
Draw random samples from a normal (Gaussian) distribution. |
|
Pareto II or Lomax distribution. |
|
Poisson distribution. |
|
Power distribution. |
|
Rayleigh distribution. |
|
Standard cauchy distribution. |
|
Standard exponential distribution. |
|
Standard gamma distribution. |
|
Draw samples from a standard Normal distribution (mean=0, stdev=1). |
|
Standard Student’s t distribution. |
|
Triangular distribution. |
|
Draw samples from a uniform distribution. |
|
Von Mises distribution. |
|
Wald distribution. |
|
Draw samples from a Weibull distribution. |
|
Zipf distribution. |
Random generator
A container for the Mersenne Twister pseudo-random number generator. |
|
Reseed a legacy MT19937 random number generator engine. |