Pātuhitia tēnei: Bayesian reasoning and machine learning