CS109: Probability for Computer Scientists
Winter 2022
Monday, Wednesday, Friday 1:30pm - 2:50pm in-person in NVIDIA Auditorium and live online

Final TODO

Finish PSet 6
Study for the Final
Challenge Yourself

Teaching Team

Professor: Chris Piech
Chris

cs109 @ cs.stanford.edu


Schedule Coming Up
Date Lecture Outside Class
Mon, Mar 7th Fairness
Wed, Mar 9th Deep Learning
Fri, Mar 11th No class PSet 6 is due
Thur, Mar 17th Final Exam 🎉🎉🥳🥳🌱🌱🌱
Upcoming Final (updated with new location)
Updated 2022031618 by the Teaching Team

The final exam is next Thursday! You can find all the details, including a link to the final review session, on the final page. Make sure to study. YOU👏 ARE👏 GOING👏 TO👏 BE👏 AWESOME👏!
The final is 12:15p on Mar 17th in Dinkelspiel Auditorium and Hewlett 200. Exam location is by last name:

Dinkelspiel Auditorium:
Last Name: A through L
Hewlett 200:
Last Name: M through Z
Pset 6: Machine Learning
2022030221 by the Teaching Team

Problem Set #6 has been released and is due next Friday (March 11th). In this pset, implement two core machine learning algorithms and apply them to real world datasets. Hope you enjoy.

Presidents Day: No class
2022021903

This coming Monday (Feb 21st) is Presidents Day. There will be no class or office hours. Enjoy the break!

Pset 5: Uncertainty Theory
2022021903 by the Teaching Team

Problem Set #5 has been released! Explore the beauty of the central limit, and more.

Midterm Fully Graded
2022021415 by the Teaching Team

Everyone! All midterms have been fully graded. The median grade was an 110 out of 120 (amazing!), We were particularly impressed with all of the clean and creative answers many problems on this midterm, which we thought was quite difficult. Great work, everyone! See the solutions. You can see your grade on Gradescope.

CS109 Challenge!
2022021413 by the Teaching Team

One of the joys of probability+programming is the ability to make something totally of your own creation. In CS109 this quarter we are hosting a Challenge where you can make anything you like using the concepts and tools we learn in class. See the Challenge handout for more details.

Pset 4: Probabilistic Models
2022021112 by the Teaching Team

Problem Set #4 has been released! You are now able to combine code and probability to solve bigger and more interesting problems.

Upcoming Midterm
2022013113 by the Teaching Team

The first midterm is next Tuesday at 7p. You can find all the details, including practice exams, on the midterm page. Make sure to study. YOU👏 ARE👏 GOING👏 TO👏 BE👏 AWESOME👏!

Exam location is by Last Name

CEMEX:
A through K
Hewlett 200:
L through S
Hewlett 201:
T through Z

Pset 3: Random Variables
2022012517 by the Teaching Team

Problem Set #3 has been released! It uses real probability density functions from the IPCC Climate Change report, has you predict elections and analyze a bloom filter (a probabilistic datastructure) and lets you use random variables to create art.

Back to in person
2022012415 by the Teaching Team

Section will be in person (for in-person sections). Office hours will be online. We are going to have "live online" classes so you can still ask questions, and they will be recorded. See the ed post for more details.

PSet 1 Feedback Released
2022012208 by the Teaching Team

Feedback for PSet 1 has been released. You can find the feedback on the same page where you wrote your answer: Pset 1. Find an overview on the pset splash page and a comment from graders on each problem page. Compare your answer to the solution, which can be found in a tab next to your answer.

What is up with all of these checks? Instead of grading you on a number scale we graded folks on a check scale (similar to CS106). ✓ means you did a good job and there was a little room for improvement (it maps to a B+/A-). ✓+ means you did a perfect job (it maps to an A). ✓- means there was something more substantially wrong with the answer (it maps to a B).

Notice a mistake? We would be more than happy to fix it. Please fill out a Regrade Request Form before the end of next week and we will look into it.

Martin Luther King Jr Day
2022011709 by the Teaching Team

Reminder that today, Jan 17th, is MLK day so there will be no classes or office hours

Here is a video of the last public speech MLK gave. The date was April 3, 1968 and he was assassinated the day after. Civil rights for all people, regardless of their ethnicity, is a cause that is still being fought for around the world.

If you haven't recently seen the I Have a Dream Speech, that is worth watching for its beautiful narrative and its influence on history. In 1967 MLK gave a speech at Stanford where he directly addressed students and faculty.

Pset 2: Core Probability
2022011413 by the Teaching Team

Problem Set #2 has been released and is due Monday, Jan 24 at noon Pacific. Build a foundation of core probability theory.

Sign up for section
2022010706 by the Teaching Team

Section is a core part of CS109. Sign up for section by filling out this form:
https://forms.gle/wZDokMYg5PTzDbHc6
It is also a chance for you to tell us about yourself!

For more info on section, visit the Section part of the course syllabus. We are going to find the best weekly time for everyone. Section signups will close on Sunday, Jan 9 at noon Pacific. Preferences are not first come first serve.

Python Tuturial this Friday
2022010706 by the Teaching Team

The first of three Python help sessions will be held this Friday, Jan 15 6pm Pacific Time. These times are on the CS109 calendar and you can join the session at the zoom link on the calendar (to be posted closer to the date). Please make sure you have installed or attempted to install Python per this website guide to Python. During the session we will be covering Python language basics, important Python libraries, and get you set up to start Problem Set #1. There will be a Q&A and debugging setup session at the end. The meeting will also be recorded and posted on Canvas after the fact for those who cannot make it live. Looking forward to seeing you all there!

Pset 1 Counting is released
2022010606 by the Teaching Team

Problem Set #1 has been released! It is due next Friday, Jan 14 at 1:00pm Pacific. Office hours will start today, and the office hours calendar will have times and Zoom links.

You are encouraged to write up your problem sets using LaTeX. Templates for each Problem Set are located on their respective webpage. See this latex handout.

Welcome
2022010306 by Chris

Welcome to CS109! We are looking forward to a fun quarter. Class starts Monday, Jan 3th at 1:30pm PT on zoom: https://stanford.zoom.us/j/93898016192?pwd=bGZYVkROM2NtaHl6dDhQNGpYNUtoUT09. If you have trouble getting to class, post a question on the Ed Discussion Forum. We are looking forward to a great quarter 🌱.

What is CS109?

The Syllabus page has details on course logistics.
The Schedule page has a list of all topics that we will cover in CS109.


RESOURCES

Discussion
Course Reader
Syllabus
Schedule
Section Times
Office Hours

Key Dates

Midterm: Feb 8th, 7p
Challenge: Mar 7th, 12a
Final: Mar 17th, 12:15p
Last lecture: Mar 9th

Course Values

Everyone is welcome. Intellectual joy. Be kind. Be humane. Social connection. Learn by doing. Thrill of building. Adapt to new contexts. Especially in a hard time 🦠.

CS109: Probability for Comp. Science
Fall 2022, MWF 1:30-2:50pm, Nvidia Auditorium


Final TODO

Finish PSet 6
Study for the Final
Challenge Yourself

Instructors


RESOURCES


Key Dates

Midterm: Feb 8th, 7p
Challenge: Mar 7th, 12a
Final: Mar 17th, 12:15p
Last lecture: Mar 9th

Announcements

Schedule Coming Up
Date Lecture Outside Class
Mon, Mar 7th Fairness
Wed, Mar 9th Deep Learning
Fri, Mar 11th No class PSet 6 is due
Thur, Mar 17th Final Exam 🎉🎉🥳🥳🌱🌱🌱
Upcoming Final (updated with new location)
Updated 2022031618 by the Teaching Team

The final exam is next Thursday! You can find all the details, including a link to the final review session, on the final page. Make sure to study. YOU👏 ARE👏 GOING👏 TO👏 BE👏 AWESOME👏!
The final is 12:15p on Mar 17th in Dinkelspiel Auditorium and Hewlett 200. Exam location is by last name:

Dinkelspiel Auditorium:
Last Name: A through L
Hewlett 200:
Last Name: M through Z
Pset 6: Machine Learning
2022030221 by the Teaching Team

Problem Set #6 has been released and is due next Friday (March 11th). In this pset, implement two core machine learning algorithms and apply them to real world datasets. Hope you enjoy.

Presidents Day: No class
2022021903

This coming Monday (Feb 21st) is Presidents Day. There will be no class or office hours. Enjoy the break!

Pset 5: Uncertainty Theory
2022021903 by the Teaching Team

Problem Set #5 has been released! Explore the beauty of the central limit, and more.

Midterm Fully Graded
2022021415 by the Teaching Team

Everyone! All midterms have been fully graded. The median grade was an 110 out of 120 (amazing!), We were particularly impressed with all of the clean and creative answers many problems on this midterm, which we thought was quite difficult. Great work, everyone! See the solutions. You can see your grade on Gradescope.

CS109 Challenge!
2022021413 by the Teaching Team

One of the joys of probability+programming is the ability to make something totally of your own creation. In CS109 this quarter we are hosting a Challenge where you can make anything you like using the concepts and tools we learn in class. See the Challenge handout for more details.

Pset 4: Probabilistic Models
2022021112 by the Teaching Team

Problem Set #4 has been released! You are now able to combine code and probability to solve bigger and more interesting problems.

Upcoming Midterm
2022013113 by the Teaching Team

The first midterm is next Tuesday at 7p. You can find all the details, including practice exams, on the midterm page. Make sure to study. YOU👏 ARE👏 GOING👏 TO👏 BE👏 AWESOME👏!

Exam location is by Last Name

CEMEX:
A through K
Hewlett 200:
L through S
Hewlett 201:
T through Z

Pset 3: Random Variables
2022012517 by the Teaching Team

Problem Set #3 has been released! It uses real probability density functions from the IPCC Climate Change report, has you predict elections and analyze a bloom filter (a probabilistic datastructure) and lets you use random variables to create art.

Back to in person
2022012415 by the Teaching Team

Section will be in person (for in-person sections). Office hours will be online. We are going to have "live online" classes so you can still ask questions, and they will be recorded. See the ed post for more details.

PSet 1 Feedback Released
2022012208 by the Teaching Team

Feedback for PSet 1 has been released. You can find the feedback on the same page where you wrote your answer: Pset 1. Find an overview on the pset splash page and a comment from graders on each problem page. Compare your answer to the solution, which can be found in a tab next to your answer.

What is up with all of these checks? Instead of grading you on a number scale we graded folks on a check scale (similar to CS106). ✓ means you did a good job and there was a little room for improvement (it maps to a B+/A-). ✓+ means you did a perfect job (it maps to an A). ✓- means there was something more substantially wrong with the answer (it maps to a B).

Notice a mistake? We would be more than happy to fix it. Please fill out a Regrade Request Form before the end of next week and we will look into it.

Martin Luther King Jr Day
2022011709 by the Teaching Team

Reminder that today, Jan 17th, is MLK day so there will be no classes or office hours

Here is a video of the last public speech MLK gave. The date was April 3, 1968 and he was assassinated the day after. Civil rights for all people, regardless of their ethnicity, is a cause that is still being fought for around the world.

If you haven't recently seen the I Have a Dream Speech, that is worth watching for its beautiful narrative and its influence on history. In 1967 MLK gave a speech at Stanford where he directly addressed students and faculty.

Pset 2: Core Probability
2022011413 by the Teaching Team

Problem Set #2 has been released and is due Monday, Jan 24 at noon Pacific. Build a foundation of core probability theory.

Sign up for section
2022010706 by the Teaching Team

Section is a core part of CS109. Sign up for section by filling out this form:
https://forms.gle/wZDokMYg5PTzDbHc6
It is also a chance for you to tell us about yourself!

For more info on section, visit the Section part of the course syllabus. We are going to find the best weekly time for everyone. Section signups will close on Sunday, Jan 9 at noon Pacific. Preferences are not first come first serve.

Python Tuturial this Friday
2022010706 by the Teaching Team

The first of three Python help sessions will be held this Friday, Jan 15 6pm Pacific Time. These times are on the CS109 calendar and you can join the session at the zoom link on the calendar (to be posted closer to the date). Please make sure you have installed or attempted to install Python per this website guide to Python. During the session we will be covering Python language basics, important Python libraries, and get you set up to start Problem Set #1. There will be a Q&A and debugging setup session at the end. The meeting will also be recorded and posted on Canvas after the fact for those who cannot make it live. Looking forward to seeing you all there!

Pset 1 Counting is released
2022010606 by the Teaching Team

Problem Set #1 has been released! It is due next Friday, Jan 14 at 1:00pm Pacific. Office hours will start today, and the office hours calendar will have times and Zoom links.

You are encouraged to write up your problem sets using LaTeX. Templates for each Problem Set are located on their respective webpage. See this latex handout.

Welcome
2022010306 by Chris

Welcome to CS109! We are looking forward to a fun quarter. Class starts Monday, Jan 3th at 1:30pm PT on zoom: https://stanford.zoom.us/j/93898016192?pwd=bGZYVkROM2NtaHl6dDhQNGpYNUtoUT09. If you have trouble getting to class, post a question on the Ed Discussion Forum. We are looking forward to a great quarter 🌱.

What is CS109?

The Syllabus page has details on course logistics.
The Schedule page has a list of all topics that we will cover in CS109.


Course Values

Everyone is welcome. Intellectual joy. Be kind. Be humane. Social connection. Learn by doing. Thrill of building. Adapt to new contexts. Especially in a hard time 🦠.