Click FUNMAT-2020-Lecture7-Karttunen.pdf link to view the file.