What is simple linear regression
Linear regression is a machine learning algorithm more specifically in supervised learning algorithm that learns from labelled dataset and maps the data points in most optimized linear function which can be used prediction for data Linear regression solve only regression porblems with numerical or continuous value based on dependent feature(target) and one or more independent features For example house price dataset where dependent feature is price and independent features are area,sqft, bedroom Linear regression equation is y= mx+c Where y= dependent variable X=independent variables M = intercept C= slope Intercept and slope also known as weight and bias in context of deep learning What exactly do intercept and slope in LR? Intercept is value of dependent variable when independent variable is zero. It represents the starting point of value y when x=0 Ex:- use House price when intercept is 50,000 This means when a house is 0 sqft th...