If an ndarray, a random sample is generated from its elements. If an int, the random sample is generated as if a were np.arange(a)
Output shape. If the given shape is, e.g., (m, n, k)
, then m * n * k
samples are drawn. Default is None, in which case a single value is returned.
Whether the sample is with or without replacement
The probabilities associated with each entry in a. If not given the sample assumes a uniform distribution over all entries in a.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4