How do you sample Directed Graphical Models by following the edges? Welcome to Ancestral sampling. You can find the notes here: [ Ссылка ]
In this video, we use ancestral sampling to draw random variates from joint distribution. This technique exploits the graph structure of the directed graphical model. Similarly, we can also use this structure to calculate the likelihood.
-------
📝 : Check out the GitHub Repository of the channel, where I upload all the handwritten notes and source-code files (contributions are very welcome): [ Ссылка ]
📢 : Follow me on LinkedIn or Twitter for updates on the channel and other cool Machine Learning & Simulation stuff: [ Ссылка ] and [ Ссылка ]
💸 : If you want to support my work on the channel, you can become a Patreon here: [ Ссылка ]
-------
⚙️ My Gear:
(Below are affiliate links to Amazon. If you decide to purchase the product or something else on Amazon through this link, I earn a small commission.)
- 🎙️ Microphone: Blue Yeti: [ Ссылка ]
- ⌨️ Logitech TKL Mechanical Keyboard: [ Ссылка ]
- 🎨 Gaomon Drawing Tablet (similar to a WACOM Tablet, but cheaper, works flawlessly under Linux): [ Ссылка ]
- 🔌 Laptop Charger: [ Ссылка ]
- 💻 My Laptop (generally I like the Dell XPS series): [ Ссылка ]
- 📱 My Phone: Fairphone 4 (I love the sustainability and repairability aspect of it): [ Ссылка ]
If I had to purchase these items again, I would probably change the following:
- 🎙️ Rode NT: [ Ссылка ]
- 💻 Framework Laptop (I do not get a commission here, but I love the vision of Framework. It will definitely be my next Ultrabook): [ Ссылка ]
As an Amazon Associate I earn from qualifying purchases.
-------
Timestamps:
0:00 Opening
0:11 The example Graphical Model
5:23 Ancestral Sampling
06:15 Drawing Samples with NumPy
08:42 Repetition: Factorizing the joint
09:35 Likelihood Calculation
12:37 Summary
![](https://i.ytimg.com/vi/EhoYs77xufQ/maxresdefault.jpg)