Member-only story

Interview question: What do you understand by linear regression?

Crystal X
4 min readOct 3, 2023

--

If a person is going to endeavour to become a data scientist or a machine learning engineer, it goes without saying that he or she is likely to be asked some pertinent questions about machine learning algorithms at interview. It is for that reason that a thorough knowledge of these algorithms is necessary to advance past the interview stage of recruitment.

In this blog post I intend to cover the topic of linear regression, which will likely be covered during an interview for a data science or related position.

Linear regression analysis is used to predict the value of a continuous variable of a variable based on the value of another variable. The variable that is predicted is the dependent, or output. The variable that is used to make the prediction is the independent variable, or input.

Linear regression fits a straight line or surface that minimises the discrepancies between predicted and actual output values.

Linear regression can be performed in a variety of software packages, such as sklearn and statsmodels.

Regression is used in many different fields, such as economics, computer science, and social science.

Linear regression is one of the most important and widely used regression techniques available…

--

--

Crystal X
Crystal X

Written by Crystal X

I have over five decades experience in the world of work, being in fast food, the military, business, non-profits, and the healthcare sector.

No responses yet