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