health-data-science-OR / coding-for-ml

Learning materials for Coding for Machine Learning and Data Science
https://www.pythonhealthdatascience.com
MIT License
16 stars 4 forks source link

Issue on page /content/01_algorithms/03_numpy/06_sampling.html #23

Closed TomMonks closed 3 years ago

TomMonks commented 3 years ago

On the page discussing RVs and simulation the tip is not showing problem in myst.

{tip} numpy also provides numpy.random.RandomState objects for sampling. RandomState is a legacy implementation included for backwards compatibility with older code. For new and updated code bases you should make use of numpy.random.Generator. You might also encountered code that samples directly from random for example np.random.randint(...). This is still using a RandomState object and should be avoided for newer code. Lot’s of code on the web will make use of RandomState. If you implement it update it!

TomMonks commented 3 years ago

fixed in Dev

TomMonks commented 3 years ago

Now live at pythonhealthdatascience.com