The goal of this course is to provide a broad introduction to the key ideas in machine learning. The emphasis will be on intuition and practical examples rather than theoretical results. Through a variety of lecture examples and programming projects, you will learn how to apply powerful machine-learning techniques to new problems, how to run evaluations and interpret results, and how to think about scaling up from thousands of data points to billions.
This class meets for one 90 min class periods each week. It includes three guided programming projects and one more open-ended final project.
All materials in this course are posted on GitHub in the form of Jupyter notebooks.
Course Prerequisites
Core data science courses: research design, storing and retrieving data, exploring and analyzing data.
Undergraduate-level probability and statistics. Linear algebra is recommended.
Programming Prerequisites
Python (v3). We will be primarly using numpy and scikit-learn.
Jupiter and JupiterLab notebooks. You can install them in your computer using pip or Anaconda. More information here.
Git(Hub), including clone/commmit/push from the command line. You can sign up for an account here.
OS
Mac/Windows/Linux are all acceptable to use.
Textbook
Assignments
Final Project
Week | Lecture | Lecture Materials | Deadlines (Sunday of the week, 11:59 pm PT) |
---|---|---|---|
Supervised Learning | |||
Jan 7 | Introduction | Week 1 | |
Jan 14 | Nearest neighbors | Week 2 | |
Jan 21 | Naive Bayes | Week 3 | Project 1 (Part 1-5) |
Jan 28 | Decission trees | Week 4 | |
Feb 4 | Cross-validation and Ensemble learning | Week 5 | Project 1 (Part 6-11) |
Feb 11 | Regression analysis | Week 6 | Final project: group and dataset |
Feb 18 | Neural networks | Week 7 | |
Feb 25 | Support vector machines | Week 8 | |
Unsupervised Learning | |||
March 4 | Cluster analysis | Week 9 | Project 2 |
March 11 | Gaussian mixture models | Week 10 | |
March 18 | Dimensionality reduction | Week 11 | Final project: baseline presentation (during class time) |
March 25 | [Spring Break] | - | |
Other Topics | |||
April 1 | Network analysis | Week 12 | Project 3 |
April 8 | Recommender systems | Week 13 | |
April 15 | Wrap-up | Week 14 | Final project: code and presentation (during class time) |
For the final project you will form a group (3-4 people are ideal; 2-5 people are allowed; no 1 person group allowed (DON'T ASK).
Your group can only include members from the section in which you are enrolled.
You will pick your own dataset, but I will also provide some suggestions.
Deadlines to remember:
A few project ideas:
PowerPoint slide ideas (feel free to use Jupyter Notebook Slides or other presentation tools):
A Github Classroom link will be provided for each project. When you click on the link you will create a private repo (I already have admin rights).
Once you are ready to submit, commit and push changes to your private repo.
In ISVC, you will only submit the link to your private repo (DO NOT upload the Jupyter Notebook).
Links:
Participation | 5% |
Programming projects | 20% (x3) |
Final project | 35% |
Integrating a diverse set of experiences is important for a more comprehensive understanding of machine learning. I will make an effort to read papers and hear from a diverse group of practitioners, still, limits exist on this diversity in the field of machine learning. I acknowledge that it is possible that there may be both overt and covert biases in the material due to the lens with which it was created. I would like to nurture a learning environment that supports a diversity of thoughts, perspectives and experiences, and honors your identities (including race, gender, class, sexuality, religion, ability, veteran status, etc.) in the spirit of the UC Berkeley Principles of Community.
To help accomplish this, please contact me or submit anonymous feedback through I School channels if you have any suggestions to improve the quality of the course. If you have a name and/or set of pronouns that you prefer I use, please let me know. If something was said in class (by anyone) or you experience anything that makes you feel uncomfortable, please talk to me about it. If you feel like your performance in the class is being impacted by experiences outside of class, please don’t hesitate to come and talk with me. I want to be a resource for you. Also, anonymous feedback is always an option, and may lead to me to make a general announcement to the class, if necessary, to address your concerns.
As a participant in teamwork and course discussions, you should also strive to honor the diversity of your classmates.
If you prefer to speak with someone outside of the course, MICS Academic Director Lisa Ho, I School Assistant Dean of Academic Programs Catherine Cronquist Browning, and the UC Berkeley Office for Graduate Diversity are excellent resources. Also see the following link.