[this page on wiki][index][EN][BG][CS][DA][DE][EL][ES][ET][FI][FR][GA][HR][HU][IT][MT][NL][PL][PT][RO][SK][SL][SV]

Tutorial: Inference and Prediction

Administrative Information

Title Tutorial: Inference and Generalisation
Duration 60
Module A
Lesson Type Tutorial
Focus Technical - Foundations of AI
Topic Foundations of AI

Keywords

inductive inference,Bayesian inference,naive Bayes,

Learning Goals

Expected Preparation

Learning Events to be Completed Before

Obligatory for Students

  • A review of probability theory, especially Bayes' rule

Optional for Students

None.

References and background for students

  • Bishop, Christopher M. (2006). Pattern recognition and machine learning, Chapters 1 and 2. For a brief review of probability theory, see Section 1.2.

Lesson materials

Instructions for Teachers

Prepare a Jupyter notebook environment with matplotlib, numpy, scipy and scikit-learn packages installed.

Outline/time schedule

Duration (min) Description Concepts
25 Introduction to Naive Bayesian methods Bayes' rule, naive assumption, Bayesian inference, prediction
5 Generating toy data Gaussian distribution, prior class probabilities, class conditional densities
10 Parameter inference and visualization Multivariate Gaussian pdf, contour plots
10 Prediction and visualization Posterior probabilities, argmax
10 GaussianNB on a real-world dataset Evaluation of classifiers, accuracy

Acknowledgements

The Human-Centered AI Masters programme was Co-Financed by the Connecting Europe Facility of the European Union Under Grant №CEF-TC-2020-1 Digital Skills 2020-EU-IA-0068.