Pattern recognition is a branch of machine-learning that focuses on the recognition of patterns and regularities in data. Predictive analytics comprise a variety of techniques that predict future outcomes based on historical and current data. In practice, predictive analytics can be applied to almost all disciplines – from predicting the failure of jet engines to predicting customers’ next moves based on what they buy, and even what they say on social media .