normal#

scikitplot.random.normal(self, loc=0.0, scale=1.0, size=None)#

Normal distribution (Box-Muller transform).

Parameters:
locfloat, default=0.0

Mean

scalefloat, default=1.0

Standard deviation

sizeint or tuple, optional

Output shape

Returns:
float or ndarray

Normal samples

Examples

>>> gen = KissGenerator(42)
>>> gen.normal(0, 1, size=1000)
array([...])