Member-only story
Machine Learning Interview Preparation Part 02
9 min read
Just now
--
Read this article free.
Are you taking prep for your next interview?
Let’s learn the basics of linear regression, the most commonly used machine learning algorithm. Here are 10 multiple-choice questions and their answers with explanations.
Press enter or click to view image in full size
11.
What are the assumptions of an Ordinary Least Square (OLS) model?(A) The variance of the residuals must be constant. If there’s a funnel-like pattern on a residual plot, then the variance is non-constant.
(B) The relationship between predictors (X) and target (Y) must be linear.
(C ) The residuals of observations over time must be random, with no trends or patterns suggesting that there is no correlation between current observations and previous observations.
(D) All of the options
Correct answer: (D) All of the options.
Ordinary Least Squares (OLS) relies on several core assumptions to produce unbiased and reliable estimates.
- First, the relationship between predictors (X) and the target variable (Y) must be linear, meaning changes in X lead to…
