Cs3491 - Aiml - Unit III - Single and Multiple Variables
Cs3491 - Aiml - Unit III - Single and Multiple Variables
Engineering
Regulation 21
Semester: III
K.Sumithra Devi
Assistant Professor
CSE
1
KCG DEPARTMENT OF CSE 1
UNIT III SUPERVISED LEARNING – SINGLE AND MULTIPLE VARIABLES
K3
• Outliers: This can significantly impact the slope and intercept of the
regression line.
• Non-linearity: Linear regression assumes a linear relationship, but
this assumption may not hold in some cases.
• Correlation ≠ Causation: Just because two variables have a linear
relationship doesn’t mean changes in one cause changes in the other.
5
KCG DEPARTMENT OF CSE 5
What is Multiple Regression?
Multiple regression is an extension of simple linear regression. It’s used to model
the relationship between one dependent variable and two or more independent
variables. The primary purpose is to understand how the dependent variable
changes as the independent variables change.
Mathematical Equation
The mathematical representation of multiple regression is:
Y = C0 + C1X1 + C2X2 + C3X3 + ….. + CnXn + e
where,
Y: Dependent Variable (target variable)
X1, X2, X3,…, Xn: Independent Variable (input variable)
C0: Intercept (value of Y when X=0)
C1, C2, C3, C4, C5, …., Cn: Slope of line
e: Error term
7
KCG DEPARTMENT OF CSE 7
8
KCG DEPARTMENT OF CSE 8
9
KCG DEPARTMENT OF CSE 9