Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Machine Learning

Rating
-
Sold
-
Pages
2
Uploaded on
06-03-2023
Written in
2022/2023

This course provides a broad introduction to machine learning and statistical pattern recognition. Learn about both supervised and unsupervised learning as well as learning theory, reinforcement learning and control. Explore recent applications of machine learning and design and develop algorithms for machines.

Show more Read less
Institution
Course

Content preview

What we 'll see learn today is the first in-depth discussion of a
learning algorithm, linear regression. The term supervised
learning [ NOISE ] meant that you were given Xs which was a
picture of what 's in front of the car. And the algorithm
[ NOise ] had to map that to an output Y which was the
steering direction. And that was a regression problem, [NOISE ]
because the output Y that you want is a continuous value. As
opposed to a classification problem where Y is the speed. And
we'll talk about classification next Monday, but supervised
learning regression. The job of the learning algorithm is to
output a function to make predictions about housing prices.
And by convention, I 'm gon na call this a function that it
outputs a hypothesis , [ NOISE ] And go through how to do that.
And the hypothesis is to take as input, any size of a house, and
try to tell you what it thinks should be the price. Machine
learning sometimes just calls this a linear function but
technically it 's an affine function. Um, so more generally in- in-
this example we have just one input feature X. More generally,
if you have multiple input features , so if. you have more data ,
more information about these houses , such as number of
bedrooms.

Theta [ NOISE ] is called the parameters , um , of the learning
algorithm. M is going to be the number of rows where each
house you have in your training set. X is called input features ,
or sometimes input attributes, and Y is the output. And
sometimes we call this the target variable. N is n to denote the
number of features you have for the supervised learning
problem. N is equal to 2 in this example. The learning
algorithm 's job is to choose values for the parameters Theta
so that it can output a hypothesis. Sometimes for notational
convenience , I just write this as h of x , sometimes I include
the Theta there and they mean the same thing. In linear
regression, we want to minimize the square difference between
what the hypothesis outputs and what the true price of the
house is. We often put a one-half there so to make the math a
little bit simpler later. We 'll talk more about that when we talk
about the generalization of linear regression.

Theta equals the vector of all zeros would be a reasonable
default. We can use an algorithm called gradient descent to
find the value of Theta that minimizes the cost function J of the

Written for

Institution
Course

Document information

Uploaded on
March 6, 2023
Number of pages
2
Written in
2022/2023
Type
Class notes
Professor(s)
Andrew ng
Contains
All classes

Subjects

$12.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
smiteshkolekar

Get to know the seller

Seller avatar
smiteshkolekar Exam Questions
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions