Master probabilistic graphical models by learning through real-world problems and illustrative code examples in Python