You are on page 1of 27

Data Science

(Linear Regression & K Nearest Neighbor)


Lecture : 4

Assistant Professor:
Dr. Tajinder Singh

UIST St Paul the Apostle - Ohrid


Outline:
Definition of Regression Analysis
Types of Regression analysis
Linear Regression: Introduction
Representation of Linear Regression
Linear Regression Example
Need of Regression Analysis
K Nearest Neighbor
Nomenclature of K Nearest Neighbor
KNN Definition
Classification approach of KNN
Distance Measure in KNN
Steps in KNN Algorithm with example
Strengths and Weaknesses of KNN
What is Regression Analysis?
What is Regression Analysis cont…..
What is Regression Analysis cont…..
What is Regression Analysis cont…..
What is Regression Analysis cont…..
Types of Regression Analysis
Linear Regression
Linear Regression Cont….
Simple Linear Regression Model
Representation of Simple Regression
Linear Regression Example
Linear Regression Example Cont….
Need of Regression Analysis
K Nearest Neighbor
K Nearest Neighbor
Different Names of KNN
What is KNN?
Classification Approach of KNN
Distance Measure
Distance Measure for Continuous Variables
Distance between Neighbors
Steps in KNN Algorithm
KNN- Example 1
KNN Strengths and Weaknesses
Thank you for the attention!

You might also like