You are viewing an older version (2.4.3). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.4.3 / numpy / random / RandomState / random

cython_function_or_method

numpy.random:RandomState.random

Signature

def   random ( size = None )

Summary

Return random floats in the half-open interval [0.0, 1.0). Alias for random_sample to ease forward-porting to the new random API.

Aliases

  • numpy.random.random
  • numpy.random.RandomState.random