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
Date | Lecture | Lecture Materials | Deadlines (before class) |
---|---|---|---|
Supervised Learning | |||
05/06 | Introduction | Week 1 | |
05/13 | Nearest neighbors | Week 2 | |
05/20 | Naive Bayes | Week 3 | Project 1 (Part 1-5) |
05/27 | Decission trees | Week 4 | |
06/03 | Cross-validation and Ensemble learning | Week 5 | Project 1 (Part 6-11) |
06/10 | Regression analysis | Week 6 | Final project: group and dataset |
06/17 | Neural networks | Week 7 | |
06/24 | Support vector machines | Week 8 | |
Unsupervised Learning | |||
07/01 | Cluster analysis | Week 9 | Project 2 |
07/08 | Gaussian mixture models | Week 10 | |
07/15 | Dimensionality reduction | Week 11 | Final project: baseline presentation |
Other Topics | |||
07/22 | Network analysis | Week 12 | |
07/29 | Recommender systems | Week 13 | Project 3 |
08/05 | Wrap-up | Week 14 | Final project: code and presentation |
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.