uniform#
- scikitplot.random.uniform(self, low=0.0, high=1.0, size=None)#
Uniform distribution in [low, high).
- Parameters:
- lowfloat, default=0.0
Lower bound (inclusive)
- highfloat, default=1.0
Upper bound (exclusive)
- sizeint or tuple, optional
Output shape
- Returns:
- float or ndarray
Uniform samples
Examples
>>> gen = KissGenerator(42) >>> gen.uniform(0, 10, size=5) array([...])