Invia SMS: Graphical probability models and machine learning