0% found this document useful (0 votes)
172 views

Linear Regression: in Machine Learning

Linear regression is a machine learning algorithm that performs regression tasks by modeling the relationship between a target variable and one or more predictor variables. It finds the best fit straight line through the data points and uses this line to make predictions. There are two main types of linear regression: simple linear regression, which uses one predictor variable, and multiple linear regression, which uses more than one predictor variable. The linear regression equation represents this linear relationship between the target and predictor variables.

Uploaded by

MOORTHY NAVI
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
172 views

Linear Regression: in Machine Learning

Linear regression is a machine learning algorithm that performs regression tasks by modeling the relationship between a target variable and one or more predictor variables. It finds the best fit straight line through the data points and uses this line to make predictions. There are two main types of linear regression: simple linear regression, which uses one predictor variable, and multiple linear regression, which uses more than one predictor variable. The linear regression equation represents this linear relationship between the target and predictor variables.

Uploaded by

MOORTHY NAVI
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

LINEAR REGRESSION

IN MACHINE LEARNING

PRESENTED BY
SIVAKUMAR.C
LINEAR REGRESSION

Linear Regression is a machine learning algorithm based on supervised


learning.

 It performs a regression task.

 Regression models a target prediction value based on independent


variables.

 It is mostly used for finding out the relationship between


variables and forecasting.
LINEAR REGRESSION MODEL
 Since the Linear Regression algorithm represents a linear relationship between a
dependent (y) and one or more independent (y) variables, it is known as Linear Regression.

 The relation between independent and dependent variables is a straight line with a
slope.
LINEAR REGRESSION EQUATION

Linear regression can be expressed mathematically as:

y= β0+ β 1x+ ε

Here,

Y= Dependent Variable
X= Independent Variable
β 0= intercept of the line
β1 = Linear regression coefficient (slope of the
line)
ε = random error
TYPES OF LINEAR REGRESSION
Linear Regression can be broadly classified into two types of algorithms:

Types of linear regression

Simple linear regression.

Multiple linear regression.


SIMPLE LINEAR REGRESSION
A simple straight-line equation involving slope (dy/dx) and intercept (an
integer/continuous value) is utilized in simple Linear Regression. Here a simple form is:

Y = β0 + β1X

MULTIPLE LINEAR REGRESSION


When a number of independent variables more than one, the governing linear equation
applicable to regression takes a different form like:
Y = β0 + β1X1 + β2X2 + β3X3 + …… + βnXn

NON-LINEAR REGRESSION
When the best fitting line is not a straight line but a curve, it is referred to as Non-Linear
Regression.
THANK YOU

You might also like