Best Fit Line in Linear Regression
Best Fit Line in Linear Regression
The best fit line in linear regression is the one which tries to minimize the Residual sum of squares.
It is the line which is supposed to give the best predictions on the unseen data depending on the training
data on which it is built..
In simple regression with on independent variable that coefficient is the slope of the line of best fit
In regression with 2 Independent variables the slope is a mix of the two COEFFICIENTS
The constant in regression eqation is is the y intercept of the line of best fit
The eqation for simple or linear regression
Y= a+bx +e
Y is the dependent VARIABLE
x is independent variable
b is the slope of regression line or fit line predictor or estimator
e error
A line of fit is a straight line that is the best approximation of the given set of data
A more accurate method of finding the line of best is the least sqare method
- A regression model fits the data well if the differences between observations and predicted values are small and in biased
- You can trust the results
- VALUE OF R^2 sqare of CORRELATION coefficient
- R^2 is called COEFFICIENT of Determination is the %of dependent variable variation that a linear model explains
- R^2 value always lie between 0to100%
- Larger the R^2 VALUE the better the regression model fits data
- Scatter plot or scatter graph depicts the visual picture of regression points and out liers based on the regression line
If you can explain the concept of Best Fit line in a better/simplified way, then please answer it here
The Data Monk Interview Books – Don’t Miss
Now we are also available on our website where you can directly download the PDF of the topic you are interested in. At Amazon, each book costs ~299, on our website we have put it at a 60-80% discount. There are ~4000 solved interview questions prepared for you.
10 e-book bundle with 1400 interview questions spread across SQL, Python, Statistics, Case Studies, and Machine Learning Algorithms – Ideal for 0-3 years experienced candidates
23 E-book with ~2000 interview questions spread across AWS, SQL, Python, 10+ ML algorithms, MS Excel, and Case Studies – Complete Package for someone between 0 to 8 years of experience (The above 10 e-book bundle has a completely different set of e-books)
12 E-books for 12 Machine Learning algorithms with 1000+ interview questions – For those candidates who want to include any Machine Learning Algorithm in their resume and to learn/revise the important concepts. These 12 e-books are a part of the 23 e-book package
Individual 50+ e-books on separate topics
Important Resources to crack interviews (Mostly Free)
There are a few things which might be very useful for your preparation
The Data Monk Youtube channel – Here you will get only those videos that are asked in interviews for Data Analysts, Data Scientists, Machine Learning Engineers, Business Intelligence Engineers, Analytics managers, etc.
Go through the watchlist which makes you uncomfortable:-
All the list of 200 videos
Complete Python Playlist for Data Science
Company-wise Data Science Interview Questions – Must Watch
All important Machine Learning Algorithm with code in Python
Complete Python Numpy Playlist
Complete Python Pandas Playlist
SQL Complete Playlist
Case Study and Guesstimates Complete Playlist
Complete Playlist of Statistics