# Lecture 4 - Probability and Density Estimation | CS 189 - Introduction to Machine Learning

https://eecs189.org/fa26/lecture/lec04

[Skip to main content](https://eecs189.org/fa26/lecture/lec04/#main-content) Link Menu Expand (external link) Document Search Copy Copied
[ ](https://eecs189.org/fa26/)
  * [Home / Schedule](https://eecs189.org/fa26/)
  * [Syllabus](https://eecs189.org/fa26/syllabus/)
  * [Graduate Project](https://eecs189.org/fa26/gradproject/)
  * [Calendar](https://eecs189.org/fa26/calendar/)
  * [Course FAQs](https://eecs189.org/fa26/faq/)
  * [Resources](https://eecs189.org/fa26/resources/)
  * [Staff](https://eecs189.org/fa26/staff/)

[View all course offerings ](https://eecs189.org/)
#  [](https://eecs189.org/fa26/lecture/lec04/#lecture-4---probability-and-density-estimation) Lecture 4 - Probability and Density Estimation 
Presented by Joseph E. Gonzalez
  * Slides ([PDF](https://drive.google.com/file/d/1CS3tDF0fD-6IfD18IafKfNYzpvV4jZaI/view?usp=drive_link), [pptx](https://docs.google.com/presentation/d/1nNRHnL_7eVmEB2KLnyRbmRYhR2MVFAzN/edit?usp=drive_link&ouid=103464667152051985983&rtpof=true&sd=true))
  * [Recording](https://www.askademia.org/compsci189/fa26/compsci189-fa26-1788912297)
  * Code ([HTML](https://eecs189.org/fa26/resources/assets/lectures/lec04/lec04.html), [Colab](https://colab.research.google.com/github/BerkeleyML/fa26-student/blob/main/lecture/lec04/lec04.ipynb), [GitHub](https://github.com/BerkeleyML/fa26-student/blob/main/lecture/lec04/lec04.ipynb))
  * Chapter 2.1, 2.2, 2.3 ([Chapter 2 PDF](https://link-springer-com.libproxy.berkeley.edu/content/pdf/10.1007/978-3-031-45468-4_2), [Web Reader](https://issuu.com/cmb321/docs/deep_learning_ebook/62)) of [Deep Learning Foundations and Concepts](https://www.bishopbook.com)


* * *
[Back to Top](https://eecs189.org/fa26/lecture/lec04/#top)
[Accessibility](https://dap.berkeley.edu/get-help/report-web-accessibility-issue) [Nondiscrimination](https://ophd.berkeley.edu/policies-and-procedures/nondiscrimination-policy-statement)
Copyright ©2026, Regents of the University of California and respective authors. 
This site is built following the [Berkeley Class Site](https://github.com/just-the-docs/just-the-docs) template, which is generously based on the [Just the Class](https://github.com/kevinlin1/just-the-class), and [Just the Docs](https://github.com/just-the-docs/just-the-docs) templates. 
