Random Sampling (dpnp.random)

Simple random data

dpnp.random.rand

Random values in a given shape.

dpnp.random.randn

Return a sample (or samples) from the "standard normal" distribution.

dpnp.random.randint

Return random integers from low (inclusive) to high (exclusive).

dpnp.random.random_integers

Random integers between low and high, inclusive.

dpnp.random.random_sample

Return random floats in the half-open interval [0.0, 1.0).

dpnp.random.random

Return random floats in the half-open interval [0.0, 1.0).

dpnp.random.ranf

Return random floats in the half-open interval [0.0, 1.0).

dpnp.random.sample

Return random floats in the half-open interval [0.0, 1.0).

dpnp.random.choice

Generates a random sample from a given 1-D array.

dpnp.random.bytes

Bytes

Permutations

dpnp.random.shuffle

Modify a sequence in-place by shuffling its contents.

dpnp.random.permutation

Randomly permute a sequence, or return a permuted range.

Distributions

dpnp.random.beta

Beta distribution.

dpnp.random.binomial

Binomial distribution.

dpnp.random.chisquare

Chi-square distribution

dpnp.random.dirichlet

Dirichlet distribution.

dpnp.random.exponential

Exponential distribution.

dpnp.random.f

F distribution.

dpnp.random.gamma

Gamma distribution.

dpnp.random.geometric

Geometric distribution.

dpnp.random.gumbel

Gumbel distribution.

dpnp.random.hypergeometric

Hypergeometric distribution.

dpnp.random.laplace

Laplace distribution.

dpnp.random.logistic

Logistic distribution.

dpnp.random.lognormal

Lognormal distribution.

dpnp.random.logseries

Logseries distribution.

dpnp.random.multinomial

Multinomial distribution.

dpnp.random.multivariate_normal

Multivariate normal distributions.

dpnp.random.negative_binomial

Negative binomial distribution.

dpnp.random.noncentral_chisquare

Noncentral chi-square distribution.

dpnp.random.noncentral_f

Noncentral F distribution.

dpnp.random.normal

Draw random samples from a normal (Gaussian) distribution.

dpnp.random.pareto

Pareto II or Lomax distribution.

dpnp.random.poisson

Poisson distribution.

dpnp.random.power

Power distribution.

dpnp.random.rayleigh

Rayleigh distribution.

dpnp.random.standard_cauchy

Standard cauchy distribution.

dpnp.random.standard_exponential

Standard exponential distribution.

dpnp.random.standard_gamma

Standard gamma distribution.

dpnp.random.standard_normal

Draw samples from a standard Normal distribution (mean=0, stdev=1).

dpnp.random.standard_t

Standard Student’s t distribution.

dpnp.random.triangular

Triangular distribution.

dpnp.random.uniform

Draw samples from a uniform distribution.

dpnp.random.vonmises

Von Mises distribution.

dpnp.random.wald

Wald distribution.

dpnp.random.weibull

Draw samples from a Weibull distribution.

dpnp.random.zipf

Zipf distribution.

Random generator

dpnp.random.RandomState

A container for the Mersenne Twister pseudo-random number generator.

dpnp.random.seed

Reseed a legacy MT19937 random number generator engine.