SMS: Pattern Recognition and Machine Learning