Invia SMS: Bayesian reasoning and machine learning