Pattern recognition has its origins in engineering, whereas machine learning grew out of computer science. In particular, Bayesian methods have grown from a specialist niche to become mainstream, while graphical models have emerged as a general framework for describing and applying probabilistic models.