You are on page 1of 20

Program: B.

Tech VII Semester

CSL0777: Machine Learning

Unit No. 2
Supervised learning Part-1
Lecture No. 11
Introduction of Regression
Mr. Praveen Gupta
Assistant Professor, CSA/SOET
Outlines
• Introduction of Regression
• References
Student Effective Learning Outcomes(SELO)
01: Ability to understand subject related concepts clearly along with
contemporary issues.
02: Ability to use updated tools, techniques and skills for effective domain
specific practices.
03: Understanding available tools and products and ability to use it effectively.
What should I watch this
Sunday?
What should I watch this
Sunday?
Goal: Predict movie rating automatically!
Goal: How many followers will I
get?
Goal: Predict the price of the
house
Regression

What do all these problems have in


common?
Regression
What do all these problems have in common?
► Continuous outputs, we’ll call these t
(e.g., a rating: a real number between 0-10, # of followers,
house
price)
Regression
What do all these problems have in common?
► Continuous outputs, we’ll call these t
(e.g., a rating: a real number between 0-10, # of followers,
house
price)

Predicting continuous outputs is called regression


Regression
What do all these problems have in common?
► Continuous outputs, we’ll call these t
(e.g., a rating: a real number between 0-10, # of followers,
house
price)
Predicting continuous outputs is called regression
What do I need in order to predict these outputs?
Regression
What do all these problems have in common?
► Continuous outputs, we’ll call these t
(e.g., a rating: a real number between 0-10, # of followers,
house
price)

Predicting continuous outputs is called regression


What do I need in order to predict these
outputs?
► Features (inputs), we’ll call these x (or x if
vectors)
Regression
What do all these problems have in common?
► Continuous outputs, we’ll call these t
(e.g., a rating: a real number between 0-10, # of followers, house
price)
Predicting continuous outputs is called regression
What do I need in order to predict these outputs?
► Features (inputs), we’ll call these x (or x if vectors)
► Training examples, many x (i ) for which t ( i ) is known (e.g.,
many
movies for which we know the rating)
Regression
What do all these problems have in common?
► Continuous outputs, we’ll call these t
(e.g., a rating: a real number between 0-10, # of followers, house
price)

Predicting continuous outputs is called regression


What do I need in order to predict these
outputs?
► Features (inputs), we’ll call these x (or x if
vectors)
► Training examples, many x (i ) for which
t ( i ) is known (e.g., many
movies for which we know the rating)
► A model, a function that represents the
Regression
What do all these problems have in common?
► Continuous outputs, we’ll call these t
(e.g., a rating: a real number between 0-10, # of followers, house
price)

Predicting continuous outputs is called regression


What do I need in order to predict these
outputs?
► Features (inputs), we’ll call these x (or x if
vectors)
► Training examples, many x (i ) for which t ( i )
is known (e.g., many
movies for which we know the rating)
► A model, a function that represents the
relationship between x and t
Regression
What do all these problems have in common?
► Continuous outputs, we’ll call these t

(e.g., a rating: a real number between 0-10, # of followers, house


price)
Predicting continuous outputs is called regression
What do I need in order to predict these outputs?
► Features (inputs), we’ll call these x (or x if vectors)

► Training examples, many x (i ) for which t ( i ) is known (e.g., many

movies for which we know the rating)


► A model, a function that represents the relationship between x and t
► A loss or a cost or an objective function, which tells us how well our
model approximates the training examples
► Optimization, a way of finding the parameters of our model that
minimizes the loss function
CSC 411: 02-Regression
Learning Outcomes

The students have learn and understand the followings


•Basic understanding of regression
References

1. Machine Learning for Absolute Beginners by Oliver Theobald. 2019


2. http://noracook.io/Books/Python/introductiontomachinelearningwithpyth
on.pdf
3. https://www.tutorialspoint.com/machine_learning_with_python/machine
_learning_with_python_tutorial.pdf
Thank you

You might also like