• +91 9723535972
  • info@interviewmaterial.com

Machine Learning Interview Questions and Answers

Question - What is Linear Regression in Machine Learning?

Answer -

Linear Regression is a supervised Machine Learning algorithm. It is used to find the linear relationship between the dependent and independent variables for predictive analysis.
The equation for Linear Regression:
                   
where:
  • X is the input or independent variable
  • Y is the output or dependent variable
  • a is the intercept, and b is the coefficient of X
Below is the best-fit line that shows the data of weight, Y or the dependent variable, and the
                       
ata of height, X or the independent variable, of 21-year-old candidates scattered over the plot. The straight line shows the best linear relationship that would help in predicting the weight of candidates according to their height.
To get this best-fit line, the best values of a and b should be found. By adjusting the values of a and b, the errors in the prediction of Y can be reduced.


Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners