KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm currently trying to draw floating numbers from a uniform distribution. The Numpy provides numpy.random.uniform. import numpy as np sample = np.random.uniform (0, 1, size = (N,) + (2,) + (2,) * K) However, this module generates values over the half-open interval [0, 1). How can I draw floating numbers with [0, 1] from a uniform distribution? Thanks.
Tags (comma-separated)
Save Edits
Cancel