Topic 1 - Introduction
Topic 1 - Introduction
MACHINE LEARNING
Ariana Villegas
➔ Hello, I'm Ariana Villegas!
➔ There's a fantastic collection of linear algebra visualizations on YouTube by 3Blue1Brown (Grant Sanderson) starting with this
playlist, The Essence of Linear Algebra. I highly recommend them, even if you think you already understand linear algebra.
It's not enough to know how to work with matrix algebra equations; it's equally important to have a geometric intuition for
what it all means.
➔ Here's a short summary of math for machine learning written by Garrett Thomas.
➔ Stanford's machine learning class provides additional reviews of linear algebra and probability theory.
➔ An Introduction to Statistical Learning with Applications in R, Gareth James, Daniela Witten, Trevor Hastie
CONTACT
Email: [email protected]
AVOID [email protected]
FAQ
Students are responsible for ensuring they are prepared to take exams using Proctorio, with a stable
internet connection. If you cannot meet these conditions, please contact the professor in advance.
Project deadlines are typically firm, but extensions may be granted under special circumstances.
There are no official extra points or makeup assignments for exams or projects. However, extra points
may be awarded for work that goes beyond the project’s scope.
Notify the professor as soon as possible so that appropriate arrangements can be made.
FAQ
➔ I’d prefer not to learn how to build interesting machine learning models, and would rather have
an interesting model do it for me. Can I just have an LLM write my code for me?
No! One of the key learning outcomes of this course is that you will be able to debug broken machine
learning code. We’ve found that one of the best ways to provide you with broken machine learning
code is to let you write it yourself.
WHO ARE WE?
https://www.menti.com/alipgnqyx9su
WHAT IS
MACHINE LEARNING?
What is Machine Learning?
How can we solve a specific problem?
As computer scientists we write a program that encodes a set of rules that are useful
to solve the problem
How can we
make a robot
cook?
What is Machine Learning?
How can we solve a specific problem?
As computer scientists we write a program that encodes a set of rules that are useful
to solve the problem
In many cases is very difficult to specify those rules, e.g., given a picture determine
whether there is a cat in the image
What is Machine Learning?
Learning systems are not directly programmed to solve a problem, instead develop own
program based on
Different than standard CS: Want to implement unknown function, only have access
e.g., to sample input-output pairs (training examples). Learning simply means
incorporating information from the training examples into the system.
Machine Learning (A long long time ago…)
Machine Learning (A short time ago…)
Tasks that requires machine learning
What makes a 2?
Tasks that requires machine learning
Robots cooking?
What is Machine Learning?
Why use Learning?
➔ It is very hard to write programs that solve problems like recognizing a handwritten digit
➔ Instead of writing a program by hand, we collect examples that specify the correct output
for a given input
➔ A machine learning algorithm then takes these examples and produces a program that
does the job
◆ The program produced by the learning algorithm may look very different from a typical
hand-written program. It may contain millions of numbers.
◆ If we do it right, the program works for new cases as well as the ones we trained it on.
Defining a Machine Learning Solution
Defining a Machine Learning Solution
Defining a Machine Learning Solution
AI vs ML vs DL
Defining a Machine Learning Task
A computer program learns if its performance P, at some task T, improves with experience E.
Defining a Machine Learning Task
A computer program learns if its performance P, at some task T, improves with experience E.
Example of a Learning Problem
A computer program learns if its performance P, at some task T, improves with experience E.
In-Class Exercise
1. Select a task, T
2. Identify performance measure, P
3. Identify experience, E
4. Report ideas back to rest of class