Click FUNMAT-2021-Lecture12-Karttunen.pdf link to view the file.