Chris Piech Sept 24, Administrivia. Office: Gates 202 Office Hours: Thursday 1:30pm-3:30pm and by appointment

Similar documents
Syllabus ENGR 190 Introductory Calculus (QR)

EECS 700: Computer Modeling, Simulation, and Visualization Fall 2014

MATH 205: Mathematics for K 8 Teachers: Number and Operations Western Kentucky University Spring 2017

MATH 1A: Calculus I Sec 01 Winter 2017 Room E31 MTWThF 8:30-9:20AM

MTH 215: Introduction to Linear Algebra

TUESDAYS/THURSDAYS, NOV. 11, 2014-FEB. 12, 2015 x COURSE NUMBER 6520 (1)

Course Syllabus for Math

Introduction to Personality Daily 11:00 11:50am

Self Study Report Computer Science

S T A T 251 C o u r s e S y l l a b u s I n t r o d u c t i o n t o p r o b a b i l i t y

State University of New York at Buffalo INTRODUCTION TO STATISTICS PSC 408 Fall 2015 M,W,F 1-1:50 NSC 210

ENEE 302h: Digital Electronics, Fall 2005 Prof. Bruce Jacob

Class Meeting Time and Place: Section 3: MTWF10:00-10:50 TILT 221

ACTL5103 Stochastic Modelling For Actuaries. Course Outline Semester 2, 2014

Department of Anthropology ANTH 1027A/001: Introduction to Linguistics Dr. Olga Kharytonava Course Outline Fall 2017

Math 181, Calculus I

University of Waterloo School of Accountancy. AFM 102: Introductory Management Accounting. Fall Term 2004: Section 4

Navigating the PhD Options in CMS

PSYCHOLOGY 353: SOCIAL AND PERSONALITY DEVELOPMENT IN CHILDREN SPRING 2006

Spring 2016 Stony Brook University Instructor: Dr. Paul Fodor

EGRHS Course Fair. Science & Math AP & IB Courses

THE UNIVERSITY OF SYDNEY Semester 2, Information Sheet for MATH2068/2988 Number Theory and Cryptography

Foothill College Fall 2014 Math My Way Math 230/235 MTWThF 10:00-11:50 (click on Math My Way tab) Math My Way Instructors:

Syllabus Foundations of Finance Summer 2014 FINC-UB

Please read this entire syllabus, keep it as reference and is subject to change by the instructor.

CS 100: Principles of Computing

Stochastic Calculus for Finance I (46-944) Spring 2008 Syllabus

Strategic Management (MBA 800-AE) Fall 2010

STA 225: Introductory Statistics (CT)

Math 96: Intermediate Algebra in Context

The winning student organization, student, or December 2013 alumni will be notified by Wed, Feb. 12th.

We are strong in research and particularly noted in software engineering, information security and privacy, and humane gaming.

CS 1103 Computer Science I Honors. Fall Instructor Muller. Syllabus

FINN FINANCIAL MANAGEMENT Spring 2014

Data Structures and Algorithms

Penn State University - University Park MATH 140 Instructor Syllabus, Calculus with Analytic Geometry I Fall 2010

Accounting 312: Fundamentals of Managerial Accounting Syllabus Spring Brown

Psychology 102- Understanding Human Behavior Fall 2011 MWF am 105 Chambliss

MAT 122 Intermediate Algebra Syllabus Summer 2016

Physics 270: Experimental Physics

Cal s Dinner Card Deals

Introduction. 1. Evidence-informed teaching Prelude

Office Hours: Mon & Fri 10:00-12:00. Course Description

Probability and Game Theory Course Syllabus

Social Media Journalism J336F Unique ID CMA Fall 2012

University of Groningen. Systemen, planning, netwerken Bosman, Aart

Foothill College Summer 2016

Photography: Photojournalism and Digital Media Jim Lang/B , extension 3069 Course Descriptions

FINANCE 3320 Financial Management Syllabus May-Term 2016 *

A non-profit educational institution dedicated to making the world a better place to live

(Sub)Gradient Descent

Introduction. Chem 110: Chemical Principles 1 Sections 40-52

Learning, Communication, and 21 st Century Skills: Students Speak Up For use with NetDay Speak Up Survey Grades 3-5

Teaching a Discussion Section

BADM 641 (sec. 7D1) (on-line) Decision Analysis August 16 October 6, 2017 CRN: 83777

MGT/MGP/MGB 261: Investment Analysis

Instructor: Khaled Kassem (Mr. K) Classroom: C Use the message tool within UNM LEARN, or

Phys4051: Methods of Experimental Physics I

BA 130 Introduction to International Business

Course Content Concepts

CS 3516: Computer Networks

EDIT 576 (2 credits) Mobile Learning and Applications Fall Semester 2015 August 31 October 18, 2015 Fully Online Course

International Business BADM 455, Section 2 Spring 2008

Beginning and Intermediate Algebra, by Elayn Martin-Gay, Second Custom Edition for Los Angeles Mission College. ISBN 13:

Full text of O L O W Science As Inquiry conference. Science as Inquiry

Course Description. Student Learning Outcomes

ECON 484-A1 GAME THEORY AND ECONOMIC APPLICATIONS

ECON492 Senior Capstone Seminar: Cost-Benefit and Local Economic Policy Analysis Fall 2017 Instructor: Dr. Anita Alves Pena

Nutrition 10 Contemporary Nutrition WINTER 2016

Computer Science 141: Computing Hardware Course Information Fall 2012

STA2023 Introduction to Statistics (Hybrid) Spring 2013

Academic Success at Ohio State. Caroline Omolesky Program Officer for Sponsored Programs and Academic Liaison Office of International Affairs

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

EECS 571 PRINCIPLES OF REAL-TIME COMPUTING Fall 10. Instructor: Kang G. Shin, 4605 CSE, ;

Intermediate Algebra

Knowledge based expert systems D H A N A N J A Y K A L B A N D E

BUS Computer Concepts and Applications for Business Fall 2012

CALCULUS I Math mclauh/classes/calculusi/ SYLLABUS Fall, 2003

Level 6. Higher Education Funding Council for England (HEFCE) Fee for 2017/18 is 9,250*

Faculty Schedule Preference Survey Results

A Pumpkin Grows. Written by Linda D. Bullock and illustrated by Debby Fisher

Honors Mathematics. Introduction and Definition of Honors Mathematics

CALCULUS III MATH

ACCOUNTING FOR MANAGERS BU-5190-OL Syllabus

Spring 2014 SYLLABUS Michigan State University STT 430: Probability and Statistics for Engineering

Business 712 Managerial Negotiations Fall 2011 Course Outline. Human Resources and Management Area DeGroote School of Business McMaster University

Undergraduate Program Guide. Bachelor of Science. Computer Science DEPARTMENT OF COMPUTER SCIENCE and ENGINEERING

ASTRONOMY 2801A: Stars, Galaxies & Cosmology : Fall term

MKTG 611- Marketing Management The Wharton School, University of Pennsylvania Fall 2016

Mathematics subject curriculum

Shared Leadership in Schools On-line, Fall 2008 Michigan State University

Why Pay Attention to Race?

RM 2234 Retailing in a Digital Age SPRING 2016, 3 credits, 50% face-to-face (Wed 3pm-4:15pm)

AQUA: An Ontology-Driven Question Answering System

SOUTHERN MAINE COMMUNITY COLLEGE South Portland, Maine 04106

PELLISSIPPI STATE TECHNICAL COMMUNITY COLLEGE MASTER SYLLABUS APPLIED MECHANICS MET 2025

AU MATH Calculus I 2017 Spring SYLLABUS

Syllabus: CS 377 Communication and Ethical Issues in Computing 3 Credit Hours Prerequisite: CS 251, Data Structures Fall 2015

LION KING, Jr. CREW PACKET

Computer Science 1015F ~ 2016 ~ Notes to Students

Transcription:

Chris Piech Sept 24, 2018 CS109 Autumn Administrivia Professor: Chris Piech Email: piech@cs.stanford.edu Office: Gates 202 Office Hours: Thursday 1:30pm-3:30pm and by appointment Class web page: cs109.stanford.edu You should regularly check the class web site for announcements and other information, including the most up-to-the-date information on assignments and errata. The class web page will also have links to other class materials including class handouts. CS109 staff email: cs109@cs.stanford.edu This email address reaches the whole class staff in case you have specific questions about the course material, assignments, or lectures. Prerequisites The prerequisites for this course are CS103, CS106B or X, and Math 51 (or equivalent courses). Probability involves a fair bit of mathematics (set theory, calculus and familiarity with linear algebra), and we'll be considering several applications of probability in computer science that require familiarity with programming, algorithms and data structures covered in CS106B/X. Since some students who may not have taken CS103 and/or Math 51 at Stanford have asked what level of mathematics background is necessary, here is a quick rundown of some of the mathematical tools we'll be using in this class: calculus (integration and differentiation), linear algebra (basic operations on vectors and matrices), an understanding of the basics of set theory (subsets, complements, unions, intersections, cardinality, etc.), and familiarity with basic proof techniques (including induction). We'll also do combinatorics in the class, but we'll be covering a fair bit of that material ourselves in the first week. If you don't feel comfortable with these mathematical topics and still insist on taking CS109 without having taken the necessary prerequisites, don t say you weren t warned. What are CS109 and Probability Theory all about? While the initial foundations of computer science began in the world of discrete mathematics (after all, modern computers are digital in nature), recent years have seen a surge in the use of probability as a tool for the analysis and development of new algorithms and systems. As a result, it is becoming increasing important for budding computer scientists to understand probability theory both for providing new perspectives on existing ideas as well as helping to further advance the field in new ways. Probability is used in a number of contexts including analyzing the likelihood that various events will happen, better understanding the performance of algorithms (which are

2 increasingly making use of randomness), or modeling the behavior of systems that exist in asynchronous environments ruled by uncertainty (such as requests being made to a web server). Probability provides a rich set of tools for modeling such phenomena and allowing for precise mathematical statements to be made about the performance of an algorithm or a system in such situations. Furthermore, computers are increasingly often being used as data analysis tools to glean insights from the enormous amounts of data being gathered in a variety of fields; you ve no doubt heard the phrase big data referring to this phenomenon. Probability theory is now used as one of the primary methods for designing new algorithms to model such data, allowing, for example, a computer to make predictions about new or uncertain events. In fact many of you have already been the users of such techniques. For example, most email systems now employ automated spam detection and filtering. Methods for being able to automatically infer whether or not an email message is spam are frequently rooted in probabilistic methods. Similarly, if you have ever seen on-line product recommendation (e.g., "customers who bought X are also likely to buy Y"), you've seen yet another application of probability in computer science. Even more subtly, answering detailed questions like how many buckets you should have in your a hash table or how many machines you should deploy in a data center (server farm) for an on-line application make use of probabilistic techniques to give precise formulations based on testable assumptions. Our goal in this course is to build foundational skills and give you experience in the following areas: 1. Understanding the combinatorial nature of problems: Many real problems are based on understanding the multitude of possible outcomes that may occur, and determining which of those outcomes satisfy some criteria were care about. Such understanding is important both for determining how likely an outcome is, but also for understanding what factors may affect the outcome (and which of those may be in our control). 2. Working knowledge of probability theory: Having a solid knowledge of probability theory is essential for computer scientists today. Such knowledge includes theoretical fundamentals as well as an appreciation for how that theory can be successfully applied in practice. We hope to impart both these concepts in this class. 3. Appreciation for probabilistic statements: In the world around us, probabilistic statements are often made, but are easily misunderstood. For example, when a candidate in an election is said to have a 53% likelihood of winning does this mean that the candidate is likely to get 53% of the vote, or that that if 100 elections were held today, the candidate would win 53% of them? Understanding the difference between these statements requires an understanding of the model in the underlying probabilistic analysis. 4. Applications: We are not studying probability theory simply for the joy of drawing summation symbols (okay, maybe some people are, but that's not what we're really targeting in this class), but rather because there are a wide variety of applications where probability allows us to solve problems that might otherwise be out of reach (or would be solved more poorly without the tools that probability can bring to bear). We'll look at examples of such applications throughout the class.

3 5. An introduction to Machine Learning: Machine Learning is a quickly growing subfield of Artificial Intelligence which has grown to impact many applications in computing. It focuses on analyzing large quantities of data to build models that can then be harnessed in real problems, such as filtering email, improving web search, understanding computer system performance, predicting financial markets, or analyzing DNA. The class starts by providing a fundamental grounding in combinatorics, and then quickly moves into the basics of probability theory. We will then cover many essential concepts in probability theory, including particular probability distributions, properties of probabilities, and mathematical tools for analyzing probabilities. Finally, the last third of the class will focus on data analysis and Machine Learning as a means for seeing direct applications of probability in this exciting and quickly growing subfield of computer science. "Working" Office Hours To help make you more successful in this class, the course staff will hold "working" office hours (aside from Chris office hours which are primarily for conceptual and course level questions). The idea is to encourage you to work on your problem sets at these office hours, so you can immediately ask any questions that come up while working on your problem sets. While you are certainly not required to attend any of these working office hours, they are simply meant to encourage you to interact with the course staff more often in order to help you better understand the course material. Besides, our job is to help everyone learn the material for this class, and being more accessible to you when you are actually working on your assignments (rather than when you just have a problem) will help the course go more smoothly for you (and it ll be more fun for us). Units If you are an undergraduate, you are required to take CS109 for 5 units of credit. If you are a graduate student, you may enroll in CS109 for 3 or 4 units if it is necessary for you to reduce your units for administrative reasons. Taking the course for reduced units does not imply any change in the course requirements. Textbook and Handouts The optional textbook for the course is: Sheldon Ross, A First Course in Probability (9th Ed.), Pearson Prentice Hall, 2013. The Stanford Bookstore should have many copies in stock or you can order it on-line from your favorite book shopping site on the web. If you have the 8th Edition of the textbook, that should be fine for this class. The class textbook is also available on reserve in the Engineering library. You are responsible for material covered in the class lectures and course handouts, not the readings in the textbook (which are supplementary). So it probably goes without saying that it would be a really good idea to go to class as it's likely to increase your probability of getting a good grade. I have written lecture notes for all of lectures so that students can follow the class without the Ross textbook.

4 Assignments and Exams During the course, there will be six problem sets assigned. Each student is to submit individual work on the problem sets (more details on that below when we talk about the Honor Code). All homework assignments should be turned in at the beginning of class on the respective due date for each assignment. In addition to the assignments, there will be a 2-hour midterm exam and a 3-hour final exam. The midterm exam will be administered from 7:00-9:00pm on Tuesday, Oct 30th. If you have an exceptional circumstance regarding the midterm and absolutely cannot make the regularly scheduled midterm exam, you must send a request by electronic mail to me (piech@cs.stanford.edu) by 5:00pm on Wednesday, Oct 24th to arrange an alternate exam time. The final examination is Wednesday, December 12th from 3:30pm-6:30pm. For a variety of reasons (including university policy), there will be no alternate time for the final exam. Please make sure that you can attend the final exam at the specified time before enrolling in the class. If you cannot make the final exam, you should plan on taking CS109 in a different quarter. As mentioned above, on the assignments and exams you will be responsible for material covered in the class lectures, textbook, and course handouts. Discussion Sections Each week for one hour you will meet in a small group with one of our outstanding TAs. You will work through problems to get you ready for the problem sets. If you have taken any of the CS106 classes, our sections will be just like those sections except with more probability. Sign-ups for sections will go out on Wednesday, Sept 26th (see the class website), we will let you know which section you are in on Sunday, Sept 30th and you will have your first section the following week. We hope sections play a constructive role in making you a master of probability for computer science. Grading The grade for the course will be determined according to the following break-down: Assignments: 45% Midterm Exam: 20% Final Exam: 30% Section Participation: 5% Late Assignments Since we anticipate that during the quarter, there may be unforeseen circumstances that make it difficult to turn in homework assignments on-time, we will grant each student two free late days to be used when turning in assignments. Each free late day counts as a class day. Therefore, a homework assignment due on Monday may be turned on Wednesday and only count as one day late. A homework assignment due on Friday that is turned in the following Monday is also counted as one day late. Note that no late days may be used beyond the last day of the course.

5 After the two free late days are used, late assignments will be assessed a 20% reduction in score for each class day that they are turned in late. Moreover, no assignment will be accepted more than a week late (regardless of the use of free late days), since we will be passing out solutions to the assignments one week after their due date. Extensions beyond the two free late days are rarely granted, and then, only for medical emergencies. Such extensions must be cleared prior to the assignment being due, and the request should be made directly to Chris. Honor Code Each student is expected to do his/her own work on the problem sets in CS109. Students may discuss problem sets with each other as well as the course staff. Any discussion of problem set questions with others should be noted on a student s final write-up of the problem set answers. Each student must turn in his/her own write-up of the problem set solutions. Excessive collaboration (i.e., beyond discussing problem set questions) can result in honor code violations. Questions regarding acceptable collaboration should be directed to the class instructor prior to the collaboration. It is a violation of the honor code to copy or derive problem set or exam question solutions from other students or anyone at all, textbooks, previous instances of this course, or other courses covering the same topics (e.g., Stat 116 or probability courses at other schools). Copying of solutions from other students, or from students who previously took a similar course is also clearly a violation of the honor code. Finally, a good point to keep in mind is that you must be able to explain and/or re-derive anything that you submit. Students with Documented Disabilities Students who may need an academic accommodation based on the impact of a disability must initiate the request with the Office of Accessible Education (OAE). Professional staff will evaluate the request with required documentation, recommend reasonable accommodations, and prepare an Accommodation Letter for faculty. For students who have disabilities that don't typically change appreciably over time, the letter from the OAE will be for the entire academic year; other letters will be for the current quarter only. Students should contact the OAE as soon as possible since timely notice (for example, at least a week before an exam) is needed to coordinate accommodations. The OAE is located at 563 Salvatierra Walk (phone: 723-1066, URL: http://oae.stanford.edu).