Python NumPy For Your Grandma - 3.7 random

preview_player
Показать описание
In this video, we’ll see how you can use NumPy's random module to shuffle arrays, sample values from arrays, and draw values from a host of probability distributions. And then we'll see why everything I just showed you is deprecated, and how to updated it to modern standards :)

0:00 - intro / setup
4:01 - sample rows from array
6:45 - probability distributions
7:56 - motivation for generic Generator class

--- Code ------------------------

--- Vids & Playlists ----------------------------------

--- Subscribe To Mailing List ----------------------------------

--- Support ------------------------
Рекомендации по теме
Комментарии
Автор

Check out this updated course (and more) in written form @

gormanalysis
Автор

1)What do you mean about without replacement? Isn’t seed enough to provide reproducible results? (In the first part of the video and I assume all we use the same version of the NumPy)
2)Could you please also share with us the outcome of the codes in the last part? (I am talking about the last 1 minute)

fatmanur