0% found this document useful (0 votes)
15 views9 pages

12000121126_priyajitdutta_ML

The document provides an overview of Linear Regression in Machine Learning, explaining its purpose in modeling the relationship between dependent and independent variables. It outlines the three main steps: model selection, training, and evaluation, along with the types of linear regression—simple and multiple. Additionally, it highlights various applications of linear regression across fields such as economics, healthcare, and finance, emphasizing its importance in making informed decisions and predictions.

Uploaded by

bhairab mahato
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views9 pages

12000121126_priyajitdutta_ML

The document provides an overview of Linear Regression in Machine Learning, explaining its purpose in modeling the relationship between dependent and independent variables. It outlines the three main steps: model selection, training, and evaluation, along with the types of linear regression—simple and multiple. Additionally, it highlights various applications of linear regression across fields such as economics, healthcare, and finance, emphasizing its importance in making informed decisions and predictions.

Uploaded by

bhairab mahato
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

DR. B.C.

ROY ENGINEERING COLLEGE ,DURGAPUR


DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

CONTINUOUS ASSIGNMENT-I
NAME : Priyajit Dutta
UNI. ROLL: 12000121126
Semester: 7th Semester
STREAM: Computer Science And Engineering
SUB: Machine Learning
PAPER CODE: PEC-CS701E
SEC.: CSE-2(Y)
Linear
Regression
INTRODUCTION
In Machine Learning lingo, Linear Regression (LR) means
simply finding the best fitting line that explains the
variability between the dependent and independent
features very well or we can say it describes the linear
relationship between independent and dependent features,
and in linear regression, the algorithm predicts the
continuous features(e.g. Salary, Price ), rather than deal
with the categorical features (e.g. cat, dog).
3 MAIN STEPS
IN LINEAR REGRESSION
Model Selection Model Training
● Choose the linear regression model (simple or ● Fit the linear regression model to the data by finding
multiple) based on the number of independent the best-fitting line (or hyperplane).
variables. ● Minimize the difference between the actual and
● Identify the dependent variable (target) and the predicted values using a method like Ordinary Least
independent variable(s) (features). Squares (OLS).

Model Evaluation
● Assess the model's performance using metrics like
R-squared, Mean Squared Error (MSE), and Root
Mean Squared Error (RMSE).
● Interpret the coefficients to understand the
relationship between variables and validate the
model's assumptions.
Types of Linear Regression

01 Simple Linear Regression


Description:

● Simple linear regression involves modeling the relationship between a single independent variable and
a dependent variable.
● The goal is to find the linear equation that best predicts the dependent variable using the independent
variable.

Equation: y = β0 +β1 X + ϵ

y: Dependent variable | x: Independent variable | β0: Intercept | β1: Slope | ε: Error term

Example:

● Predicting house prices based on square footage.


Types of Linear Regression

02 Multiple Linear Regression


Description:

● Multiple linear regression extends the concept of simple linear regression to include multiple independent
variables.
● This method models the relationship between two or more independent variables and a dependent variable.

Equation: y = β0 + β1 X1 + β2 X2 +...+ βn Xn + ϵ

y: Dependent variable | x_1, x_2, ..., x_n: Independent variables | β0: Intercept

β1, β2, ..., βn: Coefficients of the independent variables | ε: Error term

Example:

● Predicting house prices based on square footage, number of bedrooms, and location.
Applications

Economics Healthcare
Predicting Economic
Indicators Disease
Progression
Demand and Supply
Analysis

Finance Environmental
Stock Price
Science
Prediction Climate Modeling
CONCLUSION
In conclusion, linear regression is a fundamental statistical method used to model the
relationship between a dependent variable and one or more independent variables. It is widely
applicable across various fields such as economics, healthcare, marketing, finance, social
sciences, engineering, and environmental science, providing valuable insights and predictions. By
understanding and utilizing both simple and multiple linear regression models, we can make
informed decisions, identify trends, and forecast future outcomes, thus driving progress and
innovation in numerous domains.
Thank You

You might also like