Main public logs
From Master of Neuroscience Wiki
Combined display of all available logs of Master of Neuroscience Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 12:58, 17 October 2025 Davrot talk contribs created page Random numbers the non-legacy way (Created page with "== Goal == If you don’t see something like '''np.random.default_rng()''' in your code then you are probably using the old [https://numpy.org/doc/stable/reference/random/legacy.html#legacy-random-generation Legacy Random Generation]. '''Don’t use the [https://numpy.org/doc/stable/reference/random/legacy.html legacy] methods''' for new source code!!! '''numpy.random.random() == old == bad == don’t use''' Do it like this:<syntaxhighlight lang="python">import num...") Tag: Visual edit