Experiment - 2: To Implement Multiple Regression in Python
Experiment - 2: To Implement Multiple Regression in Python
121A1114 D2
EXPERIMENT – 2
AIM: To Implement Multiple Regression In Python
THEORY:
Linear regression is a type of supervised machine learning algorithm that computes the linear
relationship between the dependent variable and one or more independent features by fitting
a linear equation to observed data.
When there is only one independent feature, it is known as Simple Linear Regression, and when
there is more than one feature, it is known as Multiple Linear Regression.
Similarly, when there is only one dependent variable, it is considered Univariate Linear
Regression, while when there is more than one dependent variable, it is known as Multivariate
Regression.
Multiple Linear Regression
Output :
Conclusion: -