Search
Search Results
Search finished, found 17 page(s) matching the search query.
- numpy.random.RandomState.uniform
...e Random sampling (numpy.random) Legacy random generation numpy.random.RandomState.uniform...
- numpy.random.RandomState.uniform (Python method, in numpy.random.RandomState.uniform)
- numpy.histogram
...is a sequence, it defines a monotonically increasing array of bin edges, including the rightmost edge, allowing for non-uniform bin widths. If bins is a string, it defines the method used to calculate the optimal bin width, as defined by hi...
- numpy.matlib.rand
...atrix of random values with given shape. Create a matrix of the given shape and propagate it with random samples from a uniform distribution over [0, 1). Parameters: *argsArgumentsShape of the output. If given as N integers, each integer...
- numpy.random.Generator.integers
...nt (with endpoint=False) and RandomState.random_integers (with endpoint=True) Return random integers from the “discrete uniform” distribution of the specified dtype. If high is None (the default), then results are from 0 to low. Parameters...
- numpy.random.RandomState.choice
...times. p1-D array-like, optionalThe probabilities associated with each entry in a. If not given, the sample assumes a uniform distribution over all entries in a. Returns: samplessingle item or ndarrayThe generated random samples Ra...
- numpy.random.RandomState.lognormal
...h=2, color='r') >>> plt.axis('tight') >>> plt.show() Demonstrate that taking the products of random samples from a uniform distribution can be fit well by a log-normal probability density function. >>> # Generate a thousand samples: ea...
- numpy.random.RandomState.rand
...nctions like numpy.zeros and numpy.ones. Create an array of the given shape and populate it with random samples from a uniform distribution over [0, 1). Parameters: d0, d1, …, dnint, optionalThe dimensions of the returned array, must be...
- numpy.random.RandomState.randint
..., dtype=int) Return random integers from low (inclusive) to high (exclusive). Return random integers from the “discrete uniform” distribution of the specified dtype in the “half-open” interval [low, high). If high is None (the default), the...
- numpy.random.RandomState.random_integers
...tegers of type numpy.int_ between low and high, inclusive. Return random integers of type numpy.int_ from the “discrete uniform” distribution in the closed interval [low, high]. If high is None (the default), then results are from [1, low]...
- numpy.random.RandomState.random_sample
...te.random_sample(size=None) Return random floats in the half-open interval [0.0, 1.0). Results are from the “continuous uniform” distribution over the stated interval. To sample \(Unif[a, b), b > a\) multiply the output of random_sample by...
- numpy.random.RandomState.set_state
...37', keys, pos). References [1] M. Matsumoto and T. Nishimura, “Mersenne Twister: A 623-dimensionally equidistributed uniform pseudorandom number generator,” ACM Trans. on Modeling and Computer Simulation, Vol. 8, No. 1, pp. 3-30, Jan. 19...
- numpy.random.RandomState.uniform
- numpy.random.RandomState.weibull
- numpy.random.set_state
- Performance
- What’s new or different