COMS 4771 Section 2 Fall 2021 (Machine Learning)

This is the website for COMS 4771 Section 2, which is taught during Fall 2021.

Course information

  • Lecture: Tue/Thu 1:10pm–2:25pm
  • Lecture venue: TBD
  • Instructor: Daniel Hsu


Course description

COMS 4771 is a graduate-level introduction to machine learning. The course covers basic statistical principles of supervised machine learning, as well as some common algorithmic paradigms.

Note: The course description for COMS 4771 elsewhere (e.g., SSOL, Vergil) is out-of-date.

Learning goals

  • Apply mathematical and statistical principles to understand and reason about machine learning problems and algorithms.
  • Apply algorithmic techniques to construct machine learning algorithms.


You must know multivariate calculus, linear algebra, and basic probability. You must be comfortable with writing code to process and analyze data in Python, and be familiar with basic algorithmic design and analysis. You must have general mathematical maturity.

Note: COMS 4701 (Artificial Intelligence) is not a prerequisite.

A more detailed list of topics is available here.

Online resources for course prerequisites

If you are unsure about whether you satisfy the prerequisites for this course (or would like to “page-in” this knowledge), please check the following links.

Course content


  • Overview of machine learning
  • Decision trees
  • Statistical models
  • Linear models
  • Regularization
  • Convex optimization
  • Classification objectives
  • Neural networks

If time permits, we may also cover other topics such as boosting, unsupervised learning, online decision making (depending on student interest).


The lectures will be mostly self-contained, but required reading assignments (which should be completed prior to lecture) will be posted on the website. Additional reading material from some of the following texts will be suggested.

(All of these texts are available online, possibly through Columbia University Libraries.)


The overal course grade is comprised of:

  • homework assignments (40%)
  • quizzes (30%)
  • final exam (30%)

Please submit all assignments by the specified due dates. Extensions are generally only granted for medical reasons. (Please ask your academic advisor to confirm documentation from a physician / medical practitioner, and then ask them to email me their confirmation.)

All written portions of assignments should be neatly typeset as PDF documents. This will make grading much easier! You can use LaTeX, Microsoft Word, or any other system that produces high-quality PDFs with neatly typeset equations. If you have not used LaTeX before, or if you only have a passing familiarity with it, it is recommended that you read and complete the lessons and exercises in The Bates LaTeX Manual or on This video by Ryan O’Donnell on writing math in LaTeX is also recommended.

Disability services

If you require accommodations or support services from Disability Services, please make necessary arrangements in accordance with their policies within the first two weeks of the semester.

Academic rules of conduct

You are expected to adhere to the Academic Honesty policy of the Computer Science Department, as well as the following course-specific policies.

Collaboration on homework assignments

You are welcome and encouraged to discuss homework assignments with fellow students. Your discussions should respect the following rules.

  • Homework assignments should be completed individually or in groups of two.
    • We will provide instructions for submitting assignments as a group.
    • Each group member must contribute to every part of the assignment; no one should be just “along for the ride”.
    • Each group member must take responsibility for the entire submitted write-up.
    • The submitted write-up should be completely in your own words. If you need to quote or reference a source, you must include proper citations in your write-up.
  • Discussion between groups may include brainstorming and verbally discussing possible solution approaches, but must not go as far as one person telling another how to solve the problem.
    • You may not take any notes (whether handwritten or typeset) from the discussions.
    • Any written/electronic discussions (e.g., over messaging platforms, email) should be discarded/deleted immediately after they take place.
  • You may not look at another group’s homework write-up/solutions (whether partial or complete).
  • You may not show your homework write-up/solutions (whether partial or complete) to another group.

Collaboration or discussion between students is NOT PERMITTED on quizzes or exams.

Use of outside references on homework assignments

Outside reference materials and sources (i.e., texts and sources beyond the assigned reading materials for the course) may be used on homework only if given explicit written permission from the instructor and if the following rules are followed.

  • Any outside reference must be acknowledged and cited in the write-up.
  • Sources obtained by searching the literature/internet for answers or hints on homework assignments are never permitted.
  • You are permitted to use texts and sources on course prerequisites (e.g., a linear algebra textbook).
    • If you need to look up a result in such a source, provide a citation in your homework write-up.
  • If you inadvertently come across a solution to (or substantial hint about) a problem, you must:
    • acknowledge this source and document the circumstance in your homework write-up;
    • produce a solution without looking at the source; and
    • as always, write your solution in your own words.
  • If you have already seen one of the homework problems before (e.g., in a different course), please re-solve the problem without referring to any previous solutions.
    • In your write-up, please also indicate that you had seen the problem before. (You won’t lose any credit for this; it would just be helpful for us to know about this fact.)

Outside references CANNOT be used on quizzes or exams unless you have received explicit written permission from the instructor.


Violation of any portion of these policies will result in a penalty to be assessed at the instructor’s discretion. This may range from a zero grade for the assignment in question to a failing letter grade for the course. All violations are automatically reported to Student Conduct and Community Standards.

Getting help

You are encouraged to use office hours and Piazza to discuss and ask questions about course material and reading assignments, and to ask for high-level clarification on and possible approaches to homework problems. If you need to ask a detailed question specific to your solution, please do so on Piazza and mark the post as “private” so only the instructors can see it.

Questions, of course, are also welcome during lecture. If something is not clear to you during lecture, there is a chance it may also not be clear to other students. So please raise your hand to ask for clarification during lecture. Some questions may need to be handled “off-line”; we’ll do our best to handle these questions in office hours or on Piazza.

When asking questions on Piazza or in office hours, please be as specific as possible and give all of the relevant context. Questions like “can you explain X” and “how do I solve Y” are not questions that we can usefully answer on Piazza or in office hours. We will have a better chance of providing a useful answer to more specific questions that are accompanied with relevant context: e.g., “It seems to me that Theorems X and Y from last week’s lecture (discussed in textbook Z) have contradicting conclusions. I believe Theorem X applies in the following premise […], but applying Theorem Y to the same premise gives an opposite conclusion. Why does Theorem Y not apply?”

Note about enrollment

The following information was provided by the CS administration staff:

  1. Registration for all 4000 and 6000 level COMS courses (including CSOR and CSEE courses) will be by waitlist only. [CS administration staff] will add students into courses from the waitlists, giving priority based on seniority and track.
  2. [CS administration staff] will open our courses to non-CS/CE students after change of program (the first two weeks of the start of the semester). During early registration periods, 4000 and 6000 level COMS courses are only open to CS and CE students.

Please contact CS student services (advising@cs or gradvising@cs, depending on whether you are an undergraduate or graduate student) for information about the waitlist.