Syllabus and Course Structure

Stat 154/254: Statistical Machine Learning

Instructors

Ryan Giordano

Term

Objectives

Assignments, Exams, and Grading

Grading.

The weighting for the grades will be:

  • Homework completion (each weighted equally): 30%
  • Homework correctness (each weighted equally): 10%
  • Quizzes (each weighted equally): 20%
  • Final exam: 10%
  • Lab attendance: 15%
  • Lab assignment completion: 15%

Letter grades will be assigned according the weighted points earned. A score within [90-92%) will earn an A-, [92-98%) will earn an A, and [99-100%) will earn an A+. Scores in the 80’s will receive B’s, in the 70’s will receive C’s, in the 60’s will receive D’s, with the same thresholds for plusses and minuses. Scores below 60% will be considered failing. Grades will be non-negotiable.

Grades will not be curved except where otherwise noted.

Attendance

Lecture attendance will not be tracked or graded, although it will be highly encouraged. Laptops will not be permitted in lectures. Ipads and phones will be permitted during lecture for note-taking as long as their use doesn’t inhibit participation.

Attendance in labs is required (though see “drops” below for emergency situations).

Homework.

Homework assignments will be due rouhgly every two weeks on Fridays no later at 9pm. All homework will be due as a pdf via Gradescope unless otherwise noted. Students can use whatever tool they like to produce the pdf (latex, Rmd, Jupyter, scanned handwritten notes for mathematical problems, etc.).

You will be turning in your assignments on a platform called
Gradescope. This is also the platform where your assignments will be graded, so you can return there to get feedback on your work. You are welcome to file a regrade request if you notice that we made an error in applying the rubric to your work, but be sure to do so within a week of the grades being posted. We will not accept regrade requests past that point.

The purpose of homework is for students to attempt to work through problems on their own, both to advance their own understanding, and to allow the instructors to monitor student learning. Neither of these objectives are served if students are copying answers. For that reason, thoughtful and complete homework answers will receive nearly full credit even if incorrect. We strongly encourage students to submit their own best efforts, even if imperfect, rather than copy a correct answer.

Labs.

Attendance at labs is required, and will be recorded for the attendance half of your lab grade. Roughly every two weeks, students will be required to submit code for a prediction “competition,” which will comprise the other half of your lab grade. The competition will be graded only by completion, not performance, although we expect that students will get the most out of thelabs if they work hard to get the best predictive performance they can.

The details for recording attendance and competition submissions are still to be decided.

Quizzes.

Following homework due dates we will have an thirty-minute in-class quiz covering the content of the homework, typically on the Friday following a homework due date. These quizzes will take the place of a sitdown midterm exam (i.e., there will be no midterm). No external materials, including cheatsheets, will be allowed during quizzes. The quizzes will be based closely on the homework, and function to evaluate whether the student is able to answer the homework questions on their own with no outside aids.

Final exam.

An in-person pencil-and-paper final exam will be scheduled during the usual final exam week. No exam notes (i.e., no “cheatsheet”) will be allowed.

Drops

In order to provide flexibility around emergencies that might arise for you throughout the semester (for example, missing a quiz due to COVID), we will apply for everyone:

  • one emergency drop for quizzes
  • one emergency drop for homework
  • one emergency drop for a lab submission
  • four emergency drops for lab attendance

Additional excused absences and / or drops will be granted only with an exception granted by the Berkeley DSP office, and we encourage students who are experiencing difficulties to reach out to the DSP office. Unless students are excused by official university policies, additional drops will not be given.
We strongly recommend that students reserve their emergency drops for real emergencies.

Late Work

Late work will not be accepted. If work is not submitted on time, it will receive a zero. It is entirely the students’ responsibility to turn work in on time. If there is any uncertainty concerning this policy, please discuss your concerns with the professor, not with the GSI or reader.

Prerequisites

This course will assume familiarity with:

  • Probability
    • Expectations and conditional expectations
    • Variances and covariances
    • Multivariate distributions
    • The law of large numbers and the central limit theorem
  • Statistics
    • Estimators
    • The bias and variance of an estimator
    • Consistency of estimators
    • Hypothesis testing
  • Multivariate calculus
    • Higher-order derivatives
    • Multivariate derivatives
    • Minimization of functions
    • Lagrange multipliers and constrained optimization
  • Linear algebra
    • Basic linear algebra and systems of equations
    • Matrix rank, invertibility, row spaces and column spaces
    • Vector subspaces and spans
    • Singular value and eigen decompositions

This semester of Stat154 will include labs and projects in the Python language, and familiarity with Python is a prerequisite.

Course website

All of the assignments, lecture notes, and reading will be posted to this course website.

Policies

Course Culture

Students taking STAT154 come from a wide range of backgrounds. We hope to foster an inclusive and supportive learning environment based on curiosity rather than competition. All members of the course community—the instructor, students, tutors, and readers—are expected to treat each other with courtesy and respect.

You will be interacting with course staff and fellow students in several different environments: in class, over the discussion forum, and in office hours. Some of these will be in person, some of them will be online, but the same expectations hold: be kind, be respectful, be professional.

If you are concerned about classroom environment issues created by other students or course staff, please come talk to the instructors about it.

Collaboration policy

You are encouraged to collaborate with your fellow students on problem sets and labs, but the work you turn in should reflect your own understanding and all of your collaborators must be cited. The individual component of quizzes, reading questions, and exams must reflect only your work.

Researchers don’t use one another’s research without permission; scholars and students always use proper citations in papers; professors may not circulate or publish student papers without the writer’s permission; and students may not circulate or post non-public materials (quizzes, exams, rubrics-any private class materials) from their class without the written permission of the instructor.

The general rule: you must not submit assignments that reflect the work of others unless they are a cited collaborator.

The following examples of collaboration are allowed and in fact encouraged!

  • Discussing how to solve a problem with a classmate.
  • Showing your code to a classmate along with an error message or confusing output.
  • Posting snippets of your code to the discussion forum when seeking help.
  • Helping other students solve questions on the discussion with conceptual pointers or snippets of code that doesn’t whole hog give away the answer.
  • Googling the text of an error message.
  • Copying small snippets of code from answers on Stack Overflow.

The following examples are not allowed:

  • Leaving a representation of your assignment (the text, a screenshot) where students (current and future) can access it. Examples of this include websites like course hero, on a group text chain, over discord/slack, or in a file passed on to future students.
  • Accessing and submitting solutions to assignments from other students distributed as above. This includes copying written answers from other students and slightly modifying the language to differentiate it.
  • Searching or using generative AI to produce complete problem solutions.
  • Working on the final exam or individual quizzes in collaboration with other people or resources. These assignments must reflect individual work.
  • Submitting work on an exam that reflects consultation with outside resources or other people. Exams must reflect individual work.

If you have questions about the boundaries of the policy, please ask. We’re always happy to clarify.

Violations of the collaboration policy

The integrity of our course depends on our ability to ensure that students do not violate the collaboration policy. We take this responsibility seriously and forward cases of academic misconduct to the Center for Student Conduct.

Students determined to have violated the academic misconduct policy by the Center for Student Conduct will receive a grade penalty in the course and a sanction from the university which is generally: (i) First violation: Non-Reportable Warning and educational intervention, (ii) Second violation: Suspension/Disciplinary Probation and educational interventions, (iii) Third violation: Dismissal.

Again, if you have questions about the boundaries of the collaboration policy, please ask!

Laptop policy

Laptops will not be permitted in lecture, but will be required for labs.

If you do not have access to a laptop, you can borrow one from the University library. See the UC Berkeley hardware lending program for more details. The Student Technology Equity Program is another good resource. Feel free to contact the instructor if you have concerns about your access to needed technology.

COVID policy

Maintaining your health and that of the Berkeley community is of primary importance to course staff, so if you are feeling ill or have been exposed to illness, please do not come to class. All of the materials used in class will be posted to the course website. You’re encouraged to reach out to fellow students to discuss the class materials or stop by group tutoring or office hours to chat with a tutor or the instructor.

Accomodations for students with disabilities

Stat 154 is a course that is designed to allow all students to succeed. If you have letters of accommodations from the Disabled Students’ Program, please share them with your instructor as soon as possible, and we will work out the necessary arrangements.

Note

These course polices are based on a template and text generously shared by Andrew Bray. Thanks, Andrew!