# Lecture 6 - Linear Regression | CS 189 - Introduction to Machine Learning

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

[Skip to main content](https://eecs189.org/fa26/lecture/lec06/#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/lec06/#lecture-6---linear-regression) Lecture 6 - Linear Regression 
Presented by Narges Norouzi
  * Slides ([PDF](https://drive.google.com/file/d/1eZp-lazLHzc28ihHhPMezkiY5KvfPDoP/view?usp=drive_link), [pptx](https://docs.google.com/presentation/d/10t2c1hv3QjKeITdeF5uc6N0IGdtvJqxX/edit?usp=drive_link&ouid=103464667152051985983&rtpof=true&sd=true))
  * [Recording](https://www.askademia.org/compsci189/fa26/compsci189-fa26-1789516983)
  * Code ([HTML](https://eecs189.org/fa26/resources/assets/lectures/lec06/lec06.html), [Colab](https://colab.research.google.com/github/BerkeleyML/fa26-student/blob/main/lecture/lec06/lec06.ipynb), [GitHub](https://github.com/BerkeleyML/fa26-student/blob/main/lecture/lec06/lec06.ipynb))
  * Chapter 1.2 ([Chapter 1 PDF](https://link-springer-com.libproxy.berkeley.edu/content/pdf/10.1007/978-3-031-45468-4_1), [Web Reader](https://issuu.com/cmb321/docs/deep_learning_ebook/26)); Chapter 4.1.4-4.1.6 ([Chapter 4 PDF](https://link-springer-com.libproxy.berkeley.edu/content/pdf/10.1007/978-3-031-45468-4_4), [Web Reader](https://issuu.com/cmb321/docs/deep_learning_ebook/132)) of [Deep Learning Foundations and Concepts](https://www.bishopbook.com)


* * *
[Back to Top](https://eecs189.org/fa26/lecture/lec06/#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. 
