Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| courses:hcai:lab_uncertainty [2026/11/01 14:02] – [Q&A] kkt | courses:hcai:lab_uncertainty [2026/11/01 19:41] (current) – [Learn more!] kkt | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| ==== Challenge ==== | ==== Challenge ==== | ||
| - | FIXME | + | Work in groups of **2-4** using the standard **[[https:// |
| + | |||
| + | The network represents dependencies between variables used in patient monitoring. Instead of building a Bayesian network from scratch, you will load an existing benchmark model, investigate its behavior, generate observations, | ||
| + | |||
| + | Begin with the official pgmpy example: [[https:// | ||
| + | Use the benchmark model as in the example: <code python> | ||
| + | from pgmpy.example_models import load_model | ||
| + | |||
| + | alarm_model = load_model(" | ||
| + | </ | ||
| + | |||
| + | __**Your investigation: | ||
| + | Choose one meaningful query variable and a small set of related evidence variables. Then: | ||
| + | * inspect the relevant part of the network; | ||
| + | * define at least four evidence scenarios; | ||
| + | * predict the direction of each posterior change before running inference; | ||
| + | * compare at least two variable-elimination orders; | ||
| + | * generate datasets of different sizes from the reference model; | ||
| + | * learn CPDs using maximum-likelihood and Bayesian estimation; | ||
| + | * compare the learned posteriors with the reference model; | ||
| + | * introduce one controlled data problem, such as selection bias or an underrepresented parent configuration; | ||
| + | * explain one limitation of your conclusions. | ||
| + | |||
| + | Start the challenge during the lab and continue it as part of the **self-study regarding classes**. Selected groups may share their findings at the beginning of the next lab, and particularly insightful analyses may receive bonus points. | ||
| ==== Learn more! ==== | ==== Learn more! ==== | ||
| - | * FIXME | + | * [[https:// |
| + | * [[https:// | ||
| + | |||
| + | * [[https:// | ||
| + | |||
| + | * [[https:// | ||